Re: [O] [OT] Custom inline reply quotes

2011-03-03 Thread Aankhen
Hi Jeff,

On Fri, Mar 4, 2011 at 11:50, Jeff Horn  wrote:
> What MUA/package/magic are you using to get custom inline replies with
> the sender's initials?

One possibility is Supercite, which lets you specify your own citation
format.[1]

Aankhen

[1] http://emacs-es.manticore.es/manuales/sc-en/Citations.html#Citations



Re: [O] scheduling items question

2011-03-03 Thread Aankhen
Hi stuart,

On Fri, Mar 4, 2011 at 05:07, stuart  wrote:
> What is the best solution for the following (assuming there is one). I
> have a class that takes place three times per week (Monday, Wednesday,
> Friday, for example). I would like to schedule this as a habit. What is
> the best and particularly, most concise was of doing this?
>
> Right now, I have three headings that are scheduled every week as
> follows:
>
> [snip]

The Worg FAQ lists a couple of methods.[1]  You can’t really get away
from using multiple headings, though, unless you write a diary
function of your own.

Aankhen

[1] http://orgmode.org/worg/org-faq.html#org-diary-class



[O] [OT] Custom inline reply quotes

2011-03-03 Thread Jeff Horn
Hey orgsters,

What MUA/package/magic are you using to get custom inline replies with
the sender's initials? Perhaps you'll reply to this message and it
will look like:

> On this date user Jeffrey Horn (JH) said:
JH > Hey orgsters,
JH > What MUA/package/magic...

Googling "reply inline email client initials" is entertaining, but
hardly enlightening.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] using org-mode with MS Outlook

2011-03-03 Thread Dirk-Jan C . Binnema
Hi David,

> On Thu, 3 Mar 2011 14:31:48 -0600, David Ellis ("DE") wrote:

  DE> I would like to move my calendar and task data from MS Outlook into
  DE> org files. I would like to know if anyone has done this and what is
  DE> the best way to do this. I know that MS Outlook can export to an
  DE> icalendar file. So, if there is an easy way to import that into and
  DE> org file, that will solve the calendar issue.

I took a slightly different approach; when I get meeting-invitations etc.,
Exchange usually sends a message; so what I did was to write some code to
parse these message and add the item to my org-calendar.

The approach is a bit fragile, and there are quite a few cases which are not
handled very well; still it may be useful; so find attached
org-exchange-capture.el; ideas for improvements are welcome.

Best wishes,
Dirk.

;; org-exchange-capture.el, v0.0.1
;; written by: Dirk-Jan C. Binnema 
;; License: GPLv3+

(require 'org-capture)

;; turn the e-mails sent MS-Exchange about invitation/appointments into 
org-TODOs
;; using 'org-capture'.

;; The idea is that you select (mark) the parts of the email you want to add to
;; your org-todo item, and then invoke M-x org-exchange-capture-invitation

;; Some caveats:

;;  - obviously, this is just a one-way copy, it won't make you 'accept' an
;;invitation, nor does it get any updates

;;  - it seems to work with the emails I get from Exchange (I've encountered two
;;different kinds). But there may be more; at least the ones I get that are
;;in English, there are other versions as well. I'd be interested in
;;extending the regexps with more cases.
;;
;;  - it does not take time-zones into account (yet)
;;
;;  NOTE:
;;  It does NOT handle yet:
;; When: 12.08.2010 12:00-14:00 (GMT+02:00) Helsinki, ...
;;When: \\([0-9]\\{2\\}\.[0-9]\\{2\\}\.[0-9]\\{4\\}\\)

;;When: 20. syyskuuta 2010 12:00-12:45 (GMT+02:00) Helsinki,  

;;  When: Occurs every Thursday effective 19.08.2010 from 14:00 to 15:30
;;  (GMT+02:00) Helsinki, ...

;;  - it requires org-capture, which is fairly new; it should be easy to support
;;org-remember as well though. Also, I only tested with Wanderlust as e-mail
;;client; it *should* work with others as well though... 

;; Note that that the message buffer must be the active buffer;
;; ie. it won't work in the 'Summary' (Wanderlust)

(defun djcb-exchange-invite-time-to-org-date()
  "try to to find the Time/Date from an Exchange-invitation
e-mail in the current buffer, and convert it into an org-mode
date, or `nil' if it's not found."
  "get the time/date of an Outlook invite in org-mode notation"
  (let ((date) (time-begin) (time-end))
(save-excursion
  (save-match-data
(beginning-of-buffer)
(if (re-search-forward
  (concat "^When: \\([0-9]+ [a-z]+,? [0-9]\\{4\\}\\) "
"\\([0-9]+:[0-9]+\\)-\\([0-9]+:[0-9]+\\)") nil t 1)
  (progn
(setq
  date (parse-time-string (match-string-no-properties 1))
  time-begin (match-string-no-properties 2)
  time-end (match-string-no-properties 3))
(format "<%d-%02d-%02d %s--%s>"
  (elt date 5) (elt date 4) (elt date 3)
time-begin time-end))
  (message "No match")
  nil)

(defun djcb-exchange-invite-subject()
  "get the subject of an MS-Exchange invite e-mail in the current
buffer"
  (save-excursion
(save-match-data
  (beginning-of-buffer)
  (when (re-search-forward "^Subject: \\(.*\\)" nil t 1)
(match-string-no-properties 1)

(defun org-exchange-capture-invitation ()
  "capture the MS-Exchange invite e-mail in buffer into an
org-mode agenda item using the org-capture system. For this to
work, you'll need to add to your `org-capture-templates' an item
with a shortcut key of 'E', e.g.

 (\"E\" \"ExchangeInvite\" entry
   (file+headline \"todo.org\" \"Meetings\")
   \"* TODO %c\\n\")

any text you select (mark) in the buffer will be added to to
captured TODO; thus you can add the relevant details to the org TODO item.
"
  (interactive)
  (let( (time (djcb-exchange-invite-time-to-org-date))
(title (djcb-exchange-invite-subject))
(txt
   (if (use-region-p) (buffer-substring-no-properties (region-beginning)
(region-end)) "")))
(when time
  (kill-new (concat title " " time "\n\t" txt)) ;; hack: prepend to kill 
ring
  (org-capture nil "E"

(provide 'org-exchange-capture)



-- 
Dirk-Jan C. Binnema  Helsinki, Finland
e:d...@djcbsoftware.nl   w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C


Re: [O] Table rows and ranges as LHS of formulas

2011-03-03 Thread Carsten Dominik

On 3.3.2011, at 23:11, Nick Dokos wrote:

> Suvayu Ali  wrote:
> 
>> Hi,
>> 
>> On Thu, 3 Mar 2011 22:19:32 +0100
>> Carsten Dominik  wrote:
>> 
>>> 
>>> On 3.3.2011, at 05:18, Nick Dokos wrote:
>>> 
 Carsten Dominik  wrote:
 
> Maybe we should use something else to achieve symmetry, like @>
> and $>.
> 
> Comments?
> 
 
 Perfect. Mirrors the keybinding for end-of-buffer, so there is
 mnemonic value there, and it naturally flows from the @N$N notation.
>>> 
>>> OK, this is how it works now. @L no longer works.
>>> 
>> 
>> I updated org just now. But when I try this,
>> 
>> | Expense  | Amount (CAD) |
>> |--+--|
>> | Tickets  |  1191.82 |
>> | hostel   |   838.49 |
>> | per diem |  1050.00 |
>> |--+--|
>> | Total|  |
>> #+TBLFM: @>$>=vsum(@I..@II);%.2f
>> 
>> It doesn't work. Whereas this does:
>> 
>> | Expense  | Amount (CAD) |
>> |--+--|
>> | Tickets  |  1191.82 |
>> | hostel   |   838.49 |
>> | per diem |  1050.00 |
>> |--+--|
>> | Total|  3080.31 |
>> #+TBLFM: @5$2=vsum(@I..@II);%.2f
>> 
>> Am I doing something wrong?
>> 
> 
> I don't think so: I don't see Carsten's change even though I just pulled, so
> I guess he has not pushed it yet (or forgot to):

Hmm, indeed, seems like I forgot to push.  Did that just now,
and tested Suvayu's example.

- Carsten

> 
> ,
> | $ git log -3 lisp/org-table.el
> | commit dc60852d24b16555466214712181351e11b68e7c
> | Author: Bastien Guerry 
> | Date:   Thu Mar 3 09:34:34 2011 +0100
> | 
> | Fix small typo in docstring.
> | 
> | commit 8892fe3f0404dd608452dd8203f2783a212e8120
> | Author: Bastien Guerry 
> | Date:   Thu Mar 3 09:30:16 2011 +0100
> | 
> | Fix small typo in docstring.
> | 
> | commit 8237c9ae6d587a22646333e0315683675e2db538
> | Author: Carsten Dominik 
> | Date:   Tue Mar 1 09:05:56 2011 +0100
> | 
> | Implement table formulas that apply to field ranges, fix minor issues
> | 
> | * lisp/org-table.el (org-table-fedit-finish): Read more general LHS of 
> formulas.
> | (org-table-formula-handle-@L): New function to hanle @L references.
> | (org-table-current-ncol): New variable.
> | (org-table-line-to-dline): New function.
> | (org-table-get-stored-formulas): Accept range formulas as matches.
> | (org-table-get-specials): Compute and store the number of columns.
> | (org-table-get-range): New optional argument CORNERS-ONLY, to retrieve
> | only the region marked by the range, not the content.
> | (org-table-recalculate): Call `org-table-expand-lhs-ranges' to expand
> | range targets.  Also check for duplicate access to fields.
> | (org-table-expand-lhs-ranges): New funktion.
> | (org-table-get-remote-range): Bind `org-table-current-ncol' to protect
> | the caller's value.
> | (org-table-edit-formulas): Support highlighting of range targets.
> | (org-table-field-info): Handle renge formulas.
> | 
> | * doc/org.texi (Field and range formulas): Renamed from "Field 
> formulas".
> | Document the use of range operators as targets.
> | (References): Document the new @L reference.
> `
> 
> Nick




Re: [O] How to escape characters in tables

2011-03-03 Thread Suvayu Ali
On Wed, 2 Mar 2011 09:25:57 -0600
 wrote:

> The issue is that I've got tables whose cells contain the '|'
> character (it's a table of regular expressions), and I can't seem to
> figure out how to escape it so that it doesn't mean a delimiter
> between cells.  Anyone have advice or a pointer to the docs I can't
> seem to find?
> 

I don't think you can.

http://lists.gnu.org/archive/html/emacs-orgmode/2011-03/msg00171.html

> Thanks.
> 
> --
> Ken Williams

-- 
Suvayu

Open source is the future. It sets us free.



[O] scheduling items question

2011-03-03 Thread stuart

Hi everyone,

What is the best solution for the following (assuming there is one). I
have a class that takes place three times per week (Monday, Wednesday,
Friday, for example). I would like to schedule this as a habit. What is
the best and particularly, most concise was of doing this?

Right now, I have three headings that are scheduled every week as
follows:

** class Monday

** class Wednesday

** class Friday







I have been using org-mode for quite a while now, but I am _using_ it
more than exploring all its features and possibilities, so please
forgive if this question has been answered.




Re: [O] using org-mode with MS Outlook

2011-03-03 Thread Michael Markert

On 4 Mar 2011, Nick Dokos wrote:
> David Ellis  wrote:
>
>> After I sent this email, I found ical2org.el. I saved a month of my
>> calendar from Outlook to an iCalendar file. Then, I used
>> ical2org/convert-file to convert it to an org file. All of the times
>> were off by 6 hours. Since I live in the Central time zone in the US
>> that is GMT-6, I wondered if this was the issue. When I used
>> icalendar-import-file to convert the iCalendar file to a diary file,
>> the times were okay.
>
> Where did you get ical2org.el? Does it use icalendar.el as distributed
> with emacs? IME, the latter has a lot of problems with timezones (based
> on a very cursory examination - I mean to go back to that but haven't had
> the time), so if the former uses it, I wouldn't be surprised to see
> timezone problems cropping up.

Yes it's based on Emacs' icalendar.org; I'll look into the issue, but
currently short on time - so you might be better of with the Awk
solution right now.

In case anybody wants to hack on it himself/herself Repository is on
Github[1].

It was on the list a few weeks before [2].

Michael

Footnotes:
[1] https://github.com/cofi/ical2org
[2] http://thread.gmane.org/gmane.emacs.orgmode/3



Re: [O] using org-mode with MS Outlook

2011-03-03 Thread Nick Dokos
David Ellis  wrote:

> After I sent this email, I found ical2org.el. I saved a month of my
> calendar from Outlook to an iCalendar file. Then, I used
> ical2org/convert-file to convert it to an org file. All of the times
> were off by 6 hours. Since I live in the Central time zone in the US
> that is GMT-6, I wondered if this was the issue. When I used
> icalendar-import-file to convert the iCalendar file to a diary file,
> the times were okay.
> 

Where did you get ical2org.el? Does it use icalendar.el as distributed
with emacs? IME, the latter has a lot of problems with timezones (based
on a very cursory examination - I mean to go back to that but haven't had
the time), so if the former uses it, I wouldn't be surprised to see
timezone problems cropping up.

I bet you would have better luck with the awk script, if only because the
two people who have worked on it (Eric Fraga who originated it and Arun
Persaud who has added functionality recently and has taken over its care
and feeding [fn:1]) are both regulars on this ML and *very* responsive.

Nick

Footnotes:
[fn:1] I hope this description is accurate but the principals involved
might have different ideas - this is just my reading of the situation.



Re: [O] inline R code evaluation?

2011-03-03 Thread Eric Schulte
Hi Erik,

I just pushed up a fix, this was indeed introduced in one of the recent
inline code block changes.  Thanks for catching this.

Best -- Eric

Erik Iverson  writes:

> Hello list!
>
> I haven't used inline code evaluation in R too much,
> but I thought the following used to work.  Can anyone
> tell me if I'm doing something wrong, or maybe it's
> temporarily broken in git?  I just pulled.
>
> ### begin org example ###
>
> * testing inline R/org-mode evaluation
> Here I test inline code evaluation in R.
>
> #+begin_src R :session *R*
> x <- 100
> #+end_src
>
>
>
> Now I want to export the value of x, which should be
> src_R[:session *R*]{x} .
>
> Did the number 100 show up at the end of the previous sentence on export?
>
> ### End org example ###
>
> There may have been some relatively recent list traffic about this,
> but I wasn't able to track it down.
> Thanks!
> --Erik



[O] Re: Keep a file out of the mobile org org-mobile-files list

2011-03-03 Thread Marcelo de Moraes Serpa
*bump* -- anyone ?


On Tue, Mar 1, 2011 at 10:55 AM, Marcelo de Moraes Serpa
 wrote:
> Hello list,
>
> I have a specific org file that I wound't like to have on my mobile
> device (iPhone) and I know that org by defaults adds all the files
> from org-agenda-files.
>
> The manual says:
>
> "This operation copies all files currently listed in org-mobile-files
> to the directory org-mobile-directory. By default this list contains
> all agenda files (as listed in org-agenda-files), but additional files
> can be included by customizing org-mobiles-files. File names will be
> staged with paths relative to org-directory, so all files should be
> inside this directory"
>
> Does that mean that, if no org-mobile-files is defined, org will use
> org-agenda-files, and if it is, then it will use the list in
> org-mobile-files?
>
> The thing is that, one of the files that are added to the agenda
> contains lots of sensitive information, and I wouldn't way to carry it
> around on the iPhone.
>
> Thanks in advance,
>
> Marcelo.
>



[O] inline R code evaluation?

2011-03-03 Thread Erik Iverson

Hello list!

I haven't used inline code evaluation in R too much,
but I thought the following used to work.  Can anyone
tell me if I'm doing something wrong, or maybe it's
temporarily broken in git?  I just pulled.

### begin org example ###

* testing inline R/org-mode evaluation
Here I test inline code evaluation in R.

#+begin_src R :session *R*
x <- 100
#+end_src


Now I want to export the value of x, which should be
src_R[:session *R*]{x} .

Did the number 100 show up at the end of the previous sentence on export?

### End org example ###

There may have been some relatively recent list traffic about this,
but I wasn't able to track it down.
Thanks!
--Erik



Re: [O] using org-mode with MS Outlook

2011-03-03 Thread David Ellis
After I sent this email, I found ical2org.el. I saved a month of my
calendar from Outlook to an iCalendar file. Then, I used
ical2org/convert-file to convert it to an org file. All of the times
were off by 6 hours. Since I live in the Central time zone in the US
that is GMT-6, I wondered if this was the issue. When I used
icalendar-import-file to convert the iCalendar file to a diary file,
the times were okay.

I edited the iCalendar file and removed the timezone section which
included the following:

BEGIN:VTIMEZONE
TZID:Central Time (US & Canada)
BEGIN:STANDARD
DTSTART:16011104T02
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11
TZOFFSETFROM:-0500
TZOFFSETTO:-0600
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010311T02
RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3
TZOFFSETFROM:-0600
TZOFFSETTO:-0500
END:DAYLIGHT
END:VTIMEZONE

After this ical2org/convert-file produced an org file with the correct
times. The times in the iCalendar file produced by Outlook were in
GMT.

Is there a way to get this to work without manually editing the iCalendar file?

-- 

David Ellis

On Thu, Mar 3, 2011 at 2:31 PM, David Ellis  wrote:
> I would like to move my calendar and task data from MS Outlook into
> org files. I would like to know if anyone has done this and what is
> the best way to do this. I know that MS Outlook can export to an
> icalendar file. So, if there is an easy way to import that into and
> org file, that will solve the calendar issue.
>
> I appreciate any help you can provide.
>
> --
> David Ellis
>



Re: [O] Table rows and ranges as LHS of formulas

2011-03-03 Thread Suvayu Ali
Hi Nick,

On Thu, 03 Mar 2011 17:11:00 -0500
Nick Dokos  wrote:

> > #+TBLFM: @>$>=vsum(@I..@II);%.2f
> > 
> > It doesn't work. Whereas this does:
> >
> > ...
> >
> > #+TBLFM: @5$2=vsum(@I..@II);%.2f
> > 
> > Am I doing something wrong?
> >   
> 
> I don't think so: I don't see Carsten's change even though I just
> pulled, so I guess he has not pushed it yet (or forgot to):
> 
> ...
>
> commit 8237c9ae6d587a22646333e0315683675e2db538
> Author: Carsten Dominik 
> Date:   Tue Mar 1 09:05:56 2011 +0100
> 
> Implement table formulas that apply to field ranges, fix minor issues 
> 
> * lisp/org-table.el (org-table-fedit-finish): Read more general LHS of 
> formulas. 
>   (org-table-formula-handle-@L): New function to hanle @L references.


When I looked at this commit message earlier, I think I misunderstood
it. I think you are correct, it hasn't been pushed yet. :)

Thanks,

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] Table rows and ranges as LHS of formulas

2011-03-03 Thread Nick Dokos
Suvayu Ali  wrote:

> Hi,
> 
> On Thu, 3 Mar 2011 22:19:32 +0100
> Carsten Dominik  wrote:
> 
> > 
> > On 3.3.2011, at 05:18, Nick Dokos wrote:
> > 
> > > Carsten Dominik  wrote:
> > > 
> > >> Maybe we should use something else to achieve symmetry, like @>
> > >> and $>.
> > >> 
> > >> Comments?
> > >> 
> > > 
> > > Perfect. Mirrors the keybinding for end-of-buffer, so there is
> > > mnemonic value there, and it naturally flows from the @N$N notation.
> > 
> > OK, this is how it works now. @L no longer works.
> > 
> 
> I updated org just now. But when I try this,
> 
> | Expense  | Amount (CAD) |
> |--+--|
> | Tickets  |  1191.82 |
> | hostel   |   838.49 |
> | per diem |  1050.00 |
> |--+--|
> | Total|  |
> #+TBLFM: @>$>=vsum(@I..@II);%.2f
> 
> It doesn't work. Whereas this does:
> 
> | Expense  | Amount (CAD) |
> |--+--|
> | Tickets  |  1191.82 |
> | hostel   |   838.49 |
> | per diem |  1050.00 |
> |--+--|
> | Total|  3080.31 |
> #+TBLFM: @5$2=vsum(@I..@II);%.2f
> 
> Am I doing something wrong?
> 

I don't think so: I don't see Carsten's change even though I just pulled, so
I guess he has not pushed it yet (or forgot to):

,
| $ git log -3 lisp/org-table.el
| commit dc60852d24b16555466214712181351e11b68e7c
| Author: Bastien Guerry 
| Date:   Thu Mar 3 09:34:34 2011 +0100
| 
| Fix small typo in docstring.
| 
| commit 8892fe3f0404dd608452dd8203f2783a212e8120
| Author: Bastien Guerry 
| Date:   Thu Mar 3 09:30:16 2011 +0100
| 
| Fix small typo in docstring.
| 
| commit 8237c9ae6d587a22646333e0315683675e2db538
| Author: Carsten Dominik 
| Date:   Tue Mar 1 09:05:56 2011 +0100
| 
| Implement table formulas that apply to field ranges, fix minor issues
| 
| * lisp/org-table.el (org-table-fedit-finish): Read more general LHS of 
formulas.
| (org-table-formula-handle-@L): New function to hanle @L references.
| (org-table-current-ncol): New variable.
| (org-table-line-to-dline): New function.
| (org-table-get-stored-formulas): Accept range formulas as matches.
| (org-table-get-specials): Compute and store the number of columns.
| (org-table-get-range): New optional argument CORNERS-ONLY, to retrieve
| only the region marked by the range, not the content.
| (org-table-recalculate): Call `org-table-expand-lhs-ranges' to expand
| range targets.  Also check for duplicate access to fields.
| (org-table-expand-lhs-ranges): New funktion.
| (org-table-get-remote-range): Bind `org-table-current-ncol' to protect
| the caller's value.
| (org-table-edit-formulas): Support highlighting of range targets.
| (org-table-field-info): Handle renge formulas.
| 
| * doc/org.texi (Field and range formulas): Renamed from "Field formulas".
| Document the use of range operators as targets.
| (References): Document the new @L reference.
`

Nick



Re: [O] using org-mode with MS Outlook

2011-03-03 Thread Nick Dokos
David Ellis  wrote:

> I would like to move my calendar and task data from MS Outlook into
> org files. I would like to know if anyone has done this and what is
> the best way to do this. I know that MS Outlook can export to an
> icalendar file. So, if there is an easy way to import that into and
> org file, that will solve the calendar issue.
> 
> I appreciate any help you can provide.
> 

There have been recent discussions on ical2org, an awk script to convert
icalendar files to org. Search for ical2org in the list archives. Here's
a possible starting link:

  http://thread.gmane.org/gmane.emacs.orgmode/36965

Nick

Disclaimer: Never used it - but it is on my to-check-out list.



Re: [O] Table rows and ranges as LHS of formulas

2011-03-03 Thread Suvayu Ali
Hi,

On Thu, 3 Mar 2011 22:19:32 +0100
Carsten Dominik  wrote:

> 
> On 3.3.2011, at 05:18, Nick Dokos wrote:
> 
> > Carsten Dominik  wrote:
> > 
> >> Maybe we should use something else to achieve symmetry, like @>
> >> and $>.
> >> 
> >> Comments?
> >> 
> > 
> > Perfect. Mirrors the keybinding for end-of-buffer, so there is
> > mnemonic value there, and it naturally flows from the @N$N notation.
> 
> OK, this is how it works now. @L no longer works.
> 

I updated org just now. But when I try this,

| Expense  | Amount (CAD) |
|--+--|
| Tickets  |  1191.82 |
| hostel   |   838.49 |
| per diem |  1050.00 |
|--+--|
| Total|  |
#+TBLFM: @>$>=vsum(@I..@II);%.2f

It doesn't work. Whereas this does:

| Expense  | Amount (CAD) |
|--+--|
| Tickets  |  1191.82 |
| hostel   |   838.49 |
| per diem |  1050.00 |
|--+--|
| Total|  3080.31 |
#+TBLFM: @5$2=vsum(@I..@II);%.2f

Am I doing something wrong?

> Regards
> 
> - Carsten
> 
> 

Thanks,

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] using org-mode with MS Outlook

2011-03-03 Thread Rehan Iftikhar
David

Are you using an MS exchange server? I've been thinking about how one
might pull down data and present it in org-mode.

-Rehan

On Thu, Mar 3, 2011 at 12:31 PM, David Ellis  wrote:
> I would like to move my calendar and task data from MS Outlook into
> org files. I would like to know if anyone has done this and what is
> the best way to do this. I know that MS Outlook can export to an
> icalendar file. So, if there is an easy way to import that into and
> org file, that will solve the calendar issue.
>
> I appreciate any help you can provide.
>
> --
> David Ellis
>
>



-- 
-Rehan



[O] org google weather

2011-03-03 Thread Simon Brown
Evening all,

Has anybody tried adding the functionality of %%(diary-sunrise-sunset)
(sunrise, sunset time and daylight hours) to the google weather code?

Simon



[O] bug#3597: 23.0.94; [PATCH] org-store-link broken within kbd macros

2011-03-03 Thread Glenn Morris
Version: 23.2

Looks like this patch was in 23.2.





[O] org mobile - pre hooks

2011-03-03 Thread Richard Riley

Could I suggest that org-mobile-pre-push-hook is processed at the start
of the org-mobile-push function before the checks? That way it can be
used to properly setup mobile e.g using auth-source for the mobile
password.

  (add-hook 'org-mobile-pre-push-hook 
  '(lambda()
 (setq org-mobile-encryption-password (funcall (plist-get (car 
(auth-source-search :host '("orgmobile"))) ':secret)
  



Re: [O] Table rows and ranges as LHS of formulas

2011-03-03 Thread Carsten Dominik

On 3.3.2011, at 05:18, Nick Dokos wrote:

> Carsten Dominik  wrote:
> 
>> Maybe we should use something else to achieve symmetry, like @>  and $>.
>> 
>> Comments?
>> 
> 
> Perfect. Mirrors the keybinding for end-of-buffer, so there is mnemonic
> value there, and it naturally flows from the @N$N notation.

OK, this is how it works now. @L no longer works.

Regards

- Carsten




[O] using org-mode with MS Outlook

2011-03-03 Thread David Ellis
I would like to move my calendar and task data from MS Outlook into
org files. I would like to know if anyone has done this and what is
the best way to do this. I know that MS Outlook can export to an
icalendar file. So, if there is an easy way to import that into and
org file, that will solve the calendar issue.

I appreciate any help you can provide.

--
David Ellis



Re: [O] [Orgmode] Babel sql code block issue and patch proposal

2011-03-03 Thread Eric Schulte
Hi Alain,

Would the following work (escaping "-"s with a backslash)?

#+begin_src diff
  diff --git a/lisp/ob-sql.el b/lisp/ob-sql.el
  index 364070e..838f013 100644
  --- a/lisp/ob-sql.el
  +++ b/lisp/ob-sql.el
  @@ -73,7 +73,9 @@ This function is called by `org-babel-execute-src-block'."
(org-babel-process-file-name out-file)))
   ('mysql (format "mysql %s -e \"source %s\" > %s"
   (or cmdline "")
  - (org-babel-process-file-name in-file)
  + (replace-regexp-in-string
  +  "\\-" "-"
  +  (org-babel-process-file-name in-file))
  (org-babel-process-file-name out-file)))
  ('postgresql (format
"psql -A -P footer=off -F \"\t\"  -f %s -o 
%s %s"
#+end_src

Best -- Eric

Alain Clément  writes:

> Hi Eric,
>
> Thanks for your prompt answer! Actually, it doesn't work since mysql 
> interprets backslashes as options, even between quotes. The value of my
> `org-babel-temporary-directory' is 
> "/var/folders/9E/9EMu+g0oHBSrq-h9sX6i1U+++TM/-Tmp-/babel-86766893", but "+"'s 
> are escaped with a backslash at some stage.
>
> Thanks,
> - Alain
>
> 2011/3/3 Eric Schulte 
>
> Hi Alain,
>
> Does the following alternative fix work for you?
>
> #+begin_src diff
>  Changes in HEAD
>  Modified lisp/ob-sql.el
>  diff --git a/lisp/ob-sql.el b/lisp/ob-sql.el
>  index 364070e..604d444 100644
>  --- a/lisp/ob-sql.el
>  +++ b/lisp/ob-sql.el
>  @@ -71,7 +71,7 @@ This function is called by 
> `org-babel-execute-src-block'."
> (or cmdline "")
> (org-babel-process-file-name in-file)
> (org-babel-process-file-name out-file)))
>  -  ('mysql (format "mysql %s -e \"source %s\" 
> > %s"
>  +  ('mysql (format "mysql %s -e 'source %s' > 
> %s"
> (or cmdline "")
>(org-babel-process-file-name in-file)
>(org-babel-process-file-name out-file)))
> #+end_src
> Also, just out of curiosity would you mind sharing an example result of
> `org-babel-temporary-directory' which contains backslashes?
>
> Thanks -- Eric
>
> Alain Cl?ment  writes:
>
>> Hi everyone,
>>
>> The =org-babel-temp-file= string seems to be escaped with backslashes on
>> some platforms (like MacOSX), which is not very appreciated by the =mysql
>> -e= command. I suggest the following patch for =ob-sql.el= (Org-mode Version
>> 7.4 (release_7.4.590.g85d4d)):
>>
>> 74c74
>> < ? ? ? ? ? ? ? ? ? ? ('mysql (format "mysql %s < %s > %s"
>> ---
>>> ? ? ? ? ? ? ? ? ? ? ('mysql (format "mysql %s -e \"source %s\" > %s"
>>
>> Best regards,
>> -- Alain
>>
>> --
>>
>>
>>
>> Alain Cl?ment
>> Dr ?s sc. math?matiques
>>
>> Universit? de Lausanne
>> Quartier UNIL-Centre
>> B?timent Unicentre
>> Bureau 339
>> CH-1015 Lausanne
>>
>> T. +41 21 692 20 36 (direct)
>> T. +41 21 692 20 60 (secr?tariat)
>>
>> alain.clem...@unil.ch
>
> --
>
> [lo_unil05_bleu] 
>
> Alain Cl?ment
> Dr ?s sc. math?matiques
>
> Universit? de Lausanne
> Quartier UNIL-Centre
> B?timent Unicentre
> Bureau 339
> CH-1015 Lausanne
>
> T. +41 21 692 20 36 (direct)
> T. +41 21 692 20 60 (secr?tariat)
>
> alain.clem...@unil.ch



Re: [O] [Orgmode] Babel sql code block issue and patch proposal

2011-03-03 Thread Alain Clément
Hi Eric,

Thanks for your prompt answer! Actually, it doesn't work since mysql
interprets backslashes as options, even between quotes. The value of my
`org-babel-temporary-directory' is
"/var/folders/9E/9EMu+g0oHBSrq-h9sX6i1U+++TM/-Tmp-/babel-86766893", but
"+"'s are escaped with a backslash at some stage.

Thanks,
- Alain

2011/3/3 Eric Schulte 

> Hi Alain,
>
> Does the following alternative fix work for you?
>
> #+begin_src diff
>  Changes in HEAD
>  Modified lisp/ob-sql.el
>  diff --git a/lisp/ob-sql.el b/lisp/ob-sql.el
>  index 364070e..604d444 100644
>  --- a/lisp/ob-sql.el
>  +++ b/lisp/ob-sql.el
>  @@ -71,7 +71,7 @@ This function is called by
> `org-babel-execute-src-block'."
>(or cmdline "")
>(org-babel-process-file-name
> in-file)
>(org-babel-process-file-name
> out-file)))
>  -('mysql (format "mysql %s -e \"source %s\" > %s"
>  +('mysql (format "mysql %s -e 'source %s' > %s"
>   (or cmdline "")
>  (org-babel-process-file-name in-file)
>  (org-babel-process-file-name
> out-file)))
> #+end_src
>
> Also, just out of curiosity would you mind sharing an example result of
> `org-babel-temporary-directory' which contains backslashes?
>
> Thanks -- Eric
>
> Alain Clément  writes:
>
> > Hi everyone,
> >
> > The =org-babel-temp-file= string seems to be escaped with backslashes on
> > some platforms (like MacOSX), which is not very appreciated by the =mysql
> > -e= command. I suggest the following patch for =ob-sql.el= (Org-mode
> Version
> > 7.4 (release_7.4.590.g85d4d)):
> >
> > 74c74
> > < ('mysql (format "mysql %s < %s > %s"
> > ---
> >> ('mysql (format "mysql %s -e \"source %s\" > %s"
> >
> > Best regards,
> > -- Alain
> >
> > --
> >
> >
> >
> > Alain Clément
> > Dr ès sc. mathématiques
> >
> > Université de Lausanne
> > Quartier UNIL-Centre
> > Bâtiment Unicentre
> > Bureau 339
> > CH-1015 Lausanne
> >
> > T. +41 21 692 20 36 (direct)
> > T. +41 21 692 20 60 (secrétariat)
> >
> > alain.clem...@unil.ch
>



-- 



Alain Clément
Dr ès sc. mathématiques

Université de Lausanne
Quartier UNIL-Centre
Bâtiment Unicentre
Bureau 339
CH-1015 Lausanne

T. +41 21 692 20 36 (direct)
T. +41 21 692 20 60 (secrétariat)

alain.clem...@unil.ch


Re: [O] Re: Automatic Org-mode mailing list signature -- Was: Let's stick to one list for now

2011-03-03 Thread Nick Dokos
Bastien  wrote:

> Hello,
> 
> I'm thinking of removing the banner completely.  I don't think it is
> really useful, and having it as a signature is indeed confusing.
> 
> Would people object?
> 

There are a few times when I've needed to go to the listinfo page
and I've followed the link from the banner. I'm sure there are other
ways of doing that though, so it's a /small/ objection :-)

Nick




Re: [O] Re: Automatic Org-mode mailing list signature -- Was: Let's stick to one list for now

2011-03-03 Thread Achim Gratz
Bastien  writes:
> I'm thinking of removing the banner completely.  I don't think it is
> really useful, and having it as a signature is indeed confusing.

Please do.

> Would people object?

Not me... :-)


Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs




Re: [O] Table rows and ranges as LHS of formulas

2011-03-03 Thread Bastien
Carsten Dominik  writes:

>> FWIW I also find @> and $> to be better than @L and $L.
>
> OK, I will include this change into my next patch.

Thanks!!

-- 
 Bastien



Re: [O] Re: multiple agenda buffers

2011-03-03 Thread Bastien
Hi Matt,

Matt Lundin  writes:

> Thanks for the new function. However, at the moment, it has destructive
> effects if it is called in a buffer other than the agenda buffer, as it
> appends the new agenda results to the current buffer and then makes the
> buffer read-only. 

Thanks for catching this, and sorry I didn't prevent this possibly
destructive error before.

I've now applied your patch.

-- 
 Bastien



[Accepted] [O] Re: multiple agenda buffers

2011-03-03 Thread Bastien Guerry
Patch 648 (http://patchwork.newartisans.com/patch/648/) is now "Accepted".

Maintainer comment: none

This relates to the following submission:

http://mid.gmane.org/%3C87k4ghe1cw.fsf%40fastmail.fm%3E

Here is the original message containing the patch:

> Content-Type: text/plain; charset="utf-8"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Subject: [O] Re: multiple agenda buffers
> Date: Thu, 03 Mar 2011 01:03:43 -
> From: Matt Lundin 
> X-Patchwork-Id: 648
> Message-Id: <87k4ghe1cw@fastmail.fm>
> To: Bastien 
> Cc: org-mode mailing list 
> 
> Hi Bastien,
> 
> Bastien  writes:
> 
> > Hi all,
> >
> > Suvayu Ali  writes:
> >
> >> However I was wondering, block agenda commands might work at least for
> >> doing multiple searches. But I don't think there is any interactive
> >> interface to it.
> >
> > inspired by this conversation, I have add a new agenda command:
> >
> >   M-x org-agenda-append-agenda RET
> >
> > It is bound to `A' in the agenda buffer and lets you append any 
> > agenda to the currently displayed one, thus providing some kind
> > of interactive interface to build block agendas from simple ones.
> >
> > I think it's a neat addition -- especially useful when you want 
> > to compare to _small_ list of items.
> >
> > Let me know what you think - and thanks Suvayu for the idea!
> 
> Thanks for the new function. However, at the moment, it has destructive
> effects if it is called in a buffer other than the agenda buffer, as it
> appends the new agenda results to the current buffer and then makes the
> buffer read-only. 
> 
> Perhaps for now we could throw an error if the append function is called
> from outside the agenda:
> 
> --8<---cut here---start->8---
> --8<---cut here---end--->8---
>  
> Best,
> Matt
> 
> 
> diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
> index ea822da..f2eac99 100644
> --- a/lisp/org-agenda.el
> +++ b/lisp/org-agenda.el
> @@ -2266,6 +2266,8 @@ Pressing `<' twice means to restrict to the current 
> subtree or region
>  This function allows interactive building of block agendas.
>  Agenda views are separated by `org-agenda-block-separator'."
>(interactive)
> +  (unless (string= (buffer-name) org-agenda-buffer-name)
> +(error "Can only append from within agenda buffer"))
>(let ((org-agenda-multi t))
>  (org-agenda)
>  (widen)))
> 



Re: [O] Re: Automatic Org-mode mailing list signature -- Was: Let's stick to one list for now

2011-03-03 Thread Bastien
Bastien  writes:

> I'm thinking of removing the banner completely.  I don't think it is
> really useful, and having it as a signature is indeed confusing.

Thanks to those who responded -- I've now removed this banner.

-- 
 Bastien



Re: [O] Note buffer killed unexpectedly

2011-03-03 Thread Raymond Zeitler
Thank you so much for responding.  This is very helpful!

First I tried getting rid of just current-prefix-arg in that section of
code.  When I byte compiled I got the message "the function `org-note-abort'
is not known to be defined."  And C-u C-c C-c resulted in an error:

Debugger entered--Lisp error: (void-function org-note-abort)
  org-note-abort()
  org-store-log-note()
  org-ctrl-c-ctrl-c(nil)
  call-interactively(org-ctrl-c-ctrl-c nil nil)

The buffer was killed and I lost the note.


When I commented out that entire "when" statement that you quoted, C-u C-c
C-c appeared to do the same as C-c C-c, which is good.  I did *not* get 4
identical notes.  Of course, C-c C-k does not kill the note, but I can
always press C-x C-k and achieve the same result.

So for me, note taking is a bit safer with the code removed.  Still the
buffer is only temporary, so any notes must be brief things that can be
executed between interruptions.

I know so little about Org that I daren't issue any sort of change request
to remove the code.  I'd prefer to leave that to someone who's very
knowledgeable about the project.

All the best!

- Ray

PS: Subject changed to replace [Orgmode] with [O] per new convention.

--
Raymond Zeitler  



-Original Message-
From: nicholas.do...@hp.com [mailto:nicholas.do...@hp.com] 
Sent: Thursday, February 24, 2011 6:06 PM
To: Raymond Zeitler
Cc: emacs-orgmode@gnu.org; nicholas.do...@hp.com
Subject: [education] Re: [Orgmode] Note buffer killed unexpectedly

Raymond Zeitler  wrote:

> After typing a note, I pressed C-u C-c C-c and unintentionally killed the
> buffer without saving the note.  I should've pressed C-c C-c, but I'm so
> used to pressing C-u C-c C-c to refile each new task, that I used that key
> combination instead.
> 
> Why would adding a prefix argument to C-c C-c kill *Org Note*?
> 

It seems it's by design: org-store-log-note() contains the following code:

...
(when (or current-prefix-arg org-note-abort)
  (when org-log-into-drawer
(org-remove-empty-drawer-at
 (if (stringp org-log-into-drawer) org-log-into-drawer "LOGBOOK")
 org-log-note-marker))
  (setq lines nil))

so current-prefix-arg causes lines to be set to nil, and the note is just
thrown away.

> In general I'm nervous about using scratch buffers such as *Org Note* for
> anything I wish to save.  Is there an option to auto-save its contents to
a
> visited file called something like ~/#Org Note#?  Or can I add a
> confirmation before I close the buffer?  Perhaps if I modified
> org-add-log-note to somehow change the call to
> (org-switch-to-buffer-other-window "Org Note")...?
> 

You can try getting rid of the current-prefix-arg and see if you get
into other problems, but only Carsten can say why it is that way to
begin with.

Nick

PS. I did some git archaelogy:

commit 3d2e1c0f04c4bb3eaeb2627d00c8cba6e376f8eb modified things a bit in
this part of the code, but the current-prefix-arg behavior predated
it. The earliest commits I found were commit
2b3fe71634d8afb7e5e6da7606223e82481f0fa8 which added the capability to
add a note interactively and also remotely from the agenda, and commit
fe939ecb95d36377162bf1cb9ce63c2b6047612b which was a massive structure
cleanup/reorg with no substantive code changes, but I think the
org-store-log-note() function existed before the git era.


-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[O] org-collector calculated rows?

2011-03-03 Thread Rehan Iftikhar
Hi Org list!

For those of you familiar with org-collector (ie. propview dynamic
block) is there already a way to include a calculated row?

For example, in the demonstration of how to use org-collector @
http://orgmode.org/worg/org-contrib/org-collector.html, I'd be
interested in:
  * Simple Example: displaying the sum of the "Amount" column
  * More Complex Example: displaying the mean of the "Amount" column
for each week.

Does anything like this already exist?

-- 
-Rehan

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] How to escape characters in tables

2011-03-03 Thread Ken.Williams

On 3/3/11 9:57 AM, "Eric S Fraga"  wrote:

> writes:
>
>>... I've got tables whose cells contain the '|'
>> character (it's a table of regular expressions), and I can't seem to
>> figure out how to escape it so that it doesn't mean a delimiter
>> between cells.  Anyone have advice or a pointer to the docs I can't
>> seem to find?
>
>I guess it all depends on what you want to do with the resulting
>document.  You could always insert a character that looks like the '|'
>character, such as the unicode "LIGHT VERTICAL BAR" (0x2758) character,
>'❘', and I'm sure there are others that could be used... org should
>ignore this character as a table delimiter.


Thanks Eric.  That's not a great solution in this case, because in order
to work in a regex it needs to be the character '|', 0x7C.

Is there some way to put in characters by ASCII code maybe?


--
Ken Williams
Senior Research Scientist
Thomson Reuters
http://labs.thomsonreuters.com

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] Re: [Orgmode] [HOW] no way to escape vertical bar (pipe char) in tables?

2011-03-03 Thread Camille persson
Hi Vladimir and Bastien,

2011/3/3 Bastien 

> Hi Vladimir,
>
> Vladimir Alexiev  writes:
>
> > I want to manage some perl regexps in a table
> > then feed them to a code block (literate programming).
> > Unfortunately they include alternatives (|)
> > and the table editor thinks this is a column break.
> >
> > There's no way to escape this?
>
> AFAIK, there is not.
>

Shouldn't your perl regexp be in a formula - ie. not directly in the table ?

Camille


>
> > On a related thought: what is the best way to manage
> > leading/trailing spaces in a table cell?
> > I've been forced to use \x20 for this purpose...
>
> This i don't understand -- you want to *keep* the spaces
> in the exported table?
>
> --
>  Bastien
>
> --
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] How to escape characters in tables

2011-03-03 Thread Eric S Fraga
 writes:

> I posted a question on Stack Overflow a few days ago, I'm wondering
> whether someone might want to take a look:
>
>   http://stackoverflow.com/questions/5144862/escape-pipe-character-in-org-mode
>
> The issue is that I've got tables whose cells contain the '|'
> character (it's a table of regular expressions), and I can't seem to
> figure out how to escape it so that it doesn't mean a delimiter
> between cells.  Anyone have advice or a pointer to the docs I can't
> seem to find?

I guess it all depends on what you want to do with the resulting
document.  You could always insert a character that looks like the '|'
character, such as the unicode "LIGHT VERTICAL BAR" (0x2758) character,
'❘', and I'm sure there are others that could be used... org should
ignore this character as a table delimiter.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.592.gc431)

--
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] how send babel source code to shell?

2011-03-03 Thread Piter_
Thanks to everybody.
Everything is working. Somehow between yesterday (when everithing was
working) and today I made a switch from ":noweb yes" to matlab style
":noweb on" . Shame on me.


On Thu, Mar 3, 2011 at 3:04 PM, Eric Schulte  wrote:
> You will need to combine multiple header arguments, try something like
>
> #+begin_src python :session *py* :noweb yes
>  <>
> #+end_src
>
> Please see this chapter of the manual for more information on code block
> syntax and header arguments.
> http://orgmode.org/manual/Working-With-Source-Code.html
>
> Best -- Eric
>
> Piter_  writes:
>
>> Hi.
>> unfortunately it   does not work.
>> It does not recognize "noweb blocks"
>> it  sends it literally to the shell
>>  <>
>> Error: Unexpected MATLAB operator.
>> Any advice to handle it?
>> Thanks.
>> Petro
>>
>>
>>
>>
>>
>>
>>
>> On Thu, Mar 3, 2011 at 2:33 PM, Rainer M Krug  wrote:
>>> On Thu, Mar 3, 2011 at 2:20 PM, Piter_  wrote:
 Hi all.
 I have a source code (in matlab or python). It cosists of two blocks
 (using noweb).
 I can evaluate it.
 But I want to send it to matlab or python shell. And inspect the
 result there (variable values and so on).
 Can I do it?
>>>
>>> Yes - use the :session header argument.
>>>
>>> Although I have never used in matlab or python ( I used in in R and
>>> sh), it should work there as well.
>>>
>>> e.g:
>>>
>>> #+begin_src python :session WHATEVER
>>>  DO SOMETHING
>>> #+end_src
>>>
>>> Cheers,
>>>
>>> Rainer
>>>
 Thanks.
 Petro.

 --
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

>>>
>>>
>>>
>>> --
>>> NEW GERMAN FAX NUMBER!!!
>>>
>>> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
>>> Biology, UCT), Dipl. Phys. (Germany)
>>>
>>> Centre of Excellence for Invasion Biology
>>> Natural Sciences Building
>>> Office Suite 2039
>>> Stellenbosch University
>>> Main Campus, Merriman Avenue
>>> Stellenbosch
>>> South Africa
>>>
>>> Cell:           +27 - (0)83 9479 042
>>> Fax:            +27 - (0)86 516 2782
>>> Fax:            +49 - (0)321 2125 2244
>>> email:          rai...@krugs.de
>>>
>>> Skype:          RMkrug
>>> Google:         r.m.k...@gmail.com
>>>
>

--
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] how send babel source code to shell?

2011-03-03 Thread Eric Schulte
You will need to combine multiple header arguments, try something like

#+begin_src python :session *py* :noweb yes
  <>
#+end_src

Please see this chapter of the manual for more information on code block
syntax and header arguments.
http://orgmode.org/manual/Working-With-Source-Code.html

Best -- Eric

Piter_  writes:

> Hi.
> unfortunately it   does not work.
> It does not recognize "noweb blocks"
> it  sends it literally to the shell
>  <>
> Error: Unexpected MATLAB operator.
> Any advice to handle it?
> Thanks.
> Petro
>
>
>
>
>
>
>
> On Thu, Mar 3, 2011 at 2:33 PM, Rainer M Krug  wrote:
>> On Thu, Mar 3, 2011 at 2:20 PM, Piter_  wrote:
>>> Hi all.
>>> I have a source code (in matlab or python). It cosists of two blocks
>>> (using noweb).
>>> I can evaluate it.
>>> But I want to send it to matlab or python shell. And inspect the
>>> result there (variable values and so on).
>>> Can I do it?
>>
>> Yes - use the :session header argument.
>>
>> Although I have never used in matlab or python ( I used in in R and
>> sh), it should work there as well.
>>
>> e.g:
>>
>> #+begin_src python :session WHATEVER
>>  DO SOMETHING
>> #+end_src
>>
>> Cheers,
>>
>> Rainer
>>
>>> Thanks.
>>> Petro.
>>>
>>> --
>>> Emacs-orgmode mailing list
>>> Please use `Reply All' to send replies to the list.
>>> Emacs-orgmode@gnu.org
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>>
>>
>>
>>
>> --
>> NEW GERMAN FAX NUMBER!!!
>>
>> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
>> Biology, UCT), Dipl. Phys. (Germany)
>>
>> Centre of Excellence for Invasion Biology
>> Natural Sciences Building
>> Office Suite 2039
>> Stellenbosch University
>> Main Campus, Merriman Avenue
>> Stellenbosch
>> South Africa
>>
>> Cell:           +27 - (0)83 9479 042
>> Fax:            +27 - (0)86 516 2782
>> Fax:            +49 - (0)321 2125 2244
>> email:          rai...@krugs.de
>>
>> Skype:          RMkrug
>> Google:         r.m.k...@gmail.com
>>

--
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[O] How to escape characters in tables

2011-03-03 Thread Ken.Williams
I posted a question on Stack Overflow a few days ago, I'm wondering whether 
someone might want to take a look:

  http://stackoverflow.com/questions/5144862/escape-pipe-character-in-org-mode

The issue is that I've got tables whose cells contain the '|' character (it's a 
table of regular expressions), and I can't seem to figure out how to escape it 
so that it doesn't mean a delimiter between cells.  Anyone have advice or a 
pointer to the docs I can't seem to find?

Thanks.

--
Ken Williams
Senior Research Scientist

Thomson Reuters

http://labs.thomsonreuters.com

--
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] Re: Automatic Org-mode mailing list signature -- Was: Let's stick to one list for now

2011-03-03 Thread Carsten Dominik

On Mar 3, 2011, at 4:09 PM, Julien Danjou wrote:

> On Thu, Mar 03 2011, Bastien wrote:
> 
>> I'm thinking of removing the banner completely.  I don't think it is
>> really useful, and having it as a signature is indeed confusing.
>> 
>> Would people object?
> 
> I agree and won't object.

Same here.

> 
> -- 
> Julien Danjou
> ❱ http://julien.danjou.info
> -- 
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten




--
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] Re: Automatic Org-mode mailing list signature -- Was: Let's stick to one list for now

2011-03-03 Thread Julien Danjou
On Thu, Mar 03 2011, Bastien wrote:

> I'm thinking of removing the banner completely.  I don't think it is
> really useful, and having it as a signature is indeed confusing.
>
> Would people object?

I agree and won't object.

-- 
Julien Danjou
❱ http://julien.danjou.info


pgpILMLbiJmRI.pgp
Description: PGP signature
-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] in-buffer completion question

2011-03-03 Thread Carsten Dominik

On Mar 3, 2011, at 6:30 AM, John Wiegley wrote:

> Carsten Dominik  writes:
> 
>>> In ledger-mode however M-Tab not only completes the unfinished word but
>>> lets me cycle through the alternatives given in the current buffer.
> 
> This is a feature of pcomplete that must be enabled by turning on "cycling"
> behavior.  In Ledger and Eshell this is the default.  I believe I explicitly
> turned it off in Org-mode to avoid its being a surprise to people.

Ah, I see, will take a look at it.

Thanks John.

- Carsten
--
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] Re: Re: org-clock-idle-time resolving dialogues seem to stack up for each passed idle time period

2011-03-03 Thread Rainer Stengele
Am 28.02.2011 14:31, schrieb Rainer Stengele:
> 
> Am 27.02.2011 17:37, schrieb David Maus:
>> Hi Rainer,
>>
>> At Mon, 24 Jan 2011 14:41:15 +0100,
>> Rainer Stengele wrote:

 this still bugs me. After leaving idle my emacs for some time longer
 than the configured idle time I have to apply answers to the idle-time
 dialogue several times. I cannot simply press "j" to jump to the open 
 clock but
 have to press "j" an unknown many times, mostly ending up with one or more 
 "j"
 characters at the point I am being jumped to finally...

 Looks like I am the only one using this feature?

 Anybody has an idea?
>>
>> I couldn't reproduce this problem neither with
>>
>> Org-mode version 7.4 (release_7.4.509.g99aa5)
>>
>> on
>>
>> GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
>> of 2010-12-11 on raven, modified by Debian
>>
>> nor on
>>
>> GNU Emacs 23.2.1 (i386-mingw-nt6.1.7600)
>> of 2010-05-08 on G41R2F1
>>
>> I had set `org-clock-idle-time' to 1, left the computer for a while
>> and when I came back there was just one clock resolving prompt
>> waiting.
>>
>> Did you check if this problem occurs on emacs -q and just loading Org
>> mode w/o any configuration?
>>
>> My preliminary conclusion on this issue: Org uses a timer object to
>> trigger the prompt -- if you are prompted multiple times this
>> would/could indicate that there are multiple timers for idle clock
>> resolving.
>>
>> Can you verifiy this by checking the value of `timer-list' (C-h v
>> timer-list RET)?
>>
>> Best,
>> -- David
>> --
>> OpenPGP... 0x99ADB83B5A4478E6
>> Jabber dmj...@jabber.org
>> Email. dm...@ictsoc.de
> 
> Hi David,
> 
> I get this:
> 
> timer-list is a variable defined in `C source code'.
> Its value is
> ([nil 19819 40376 0 60 display-time-event-handler nil nil]
>  [nil 19819 40376 0 60 appt-check nil nil]
>  [nil 19819 40382 402000 60 org-resolve-clocks-if-idle nil nil]
>  [nil 19819 40382 402000 60 org-clock-update-mode-line nil nil])
> 
> So this looks like there is only one timer for resolving the org clock.
> Hm.
> 
> Regards,
> Rainer
> 
> 

Hi!
Once again I had the case of being forced to press "j" half a dozen times
until the idle clock mechanism frees the keyboard for regular input.
I watched the idle time display in the minibuffer. It changed fro mkeypress
to keypress so this really looks like there are stacked up many timers.

Regards,
Rainer


-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] Re: Automatic Org-mode mailing list signature -- Was: Let's stick to one list for now

2011-03-03 Thread Bernt Hansen
Eric S Fraga  writes:

> Bastien  writes:
>
>> Hello,
>>
>> I'm thinking of removing the banner completely.  I don't think it is
>> really useful, and having it as a signature is indeed confusing.
>>
>> Would people object?
>> -- Bastien
>
> I would like to see it disappear...  it is indeed confusing, especially
> now with the "-- "...

I won't miss it either.

Regards,
Bernt


-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] how send babel source code to shell?

2011-03-03 Thread Piter_
Hi.
unfortunately it   does not work.
It does not recognize "noweb blocks"
it  sends it literally to the shell
 <>
Error: Unexpected MATLAB operator.
Any advice to handle it?
Thanks.
Petro







On Thu, Mar 3, 2011 at 2:33 PM, Rainer M Krug  wrote:
> On Thu, Mar 3, 2011 at 2:20 PM, Piter_  wrote:
>> Hi all.
>> I have a source code (in matlab or python). It cosists of two blocks
>> (using noweb).
>> I can evaluate it.
>> But I want to send it to matlab or python shell. And inspect the
>> result there (variable values and so on).
>> Can I do it?
>
> Yes - use the :session header argument.
>
> Although I have never used in matlab or python ( I used in in R and
> sh), it should work there as well.
>
> e.g:
>
> #+begin_src python :session WHATEVER
>  DO SOMETHING
> #+end_src
>
> Cheers,
>
> Rainer
>
>> Thanks.
>> Petro.
>>
>> --
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>
>
>
> --
> NEW GERMAN FAX NUMBER!!!
>
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
> Biology, UCT), Dipl. Phys. (Germany)
>
> Centre of Excellence for Invasion Biology
> Natural Sciences Building
> Office Suite 2039
> Stellenbosch University
> Main Campus, Merriman Avenue
> Stellenbosch
> South Africa
>
> Cell:           +27 - (0)83 9479 042
> Fax:            +27 - (0)86 516 2782
> Fax:            +49 - (0)321 2125 2244
> email:          rai...@krugs.de
>
> Skype:          RMkrug
> Google:         r.m.k...@gmail.com
>

--
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] Re: Automatic Org-mode mailing list signature -- Was: Let's stick to one list for now

2011-03-03 Thread Eric S Fraga
Bastien  writes:

> Hello,
>
> I'm thinking of removing the banner completely.  I don't think it is
> really useful, and having it as a signature is indeed confusing.
>
> Would people object?
>
> -- 
>  Bastien

I would like to see it disappear...  it is indeed confusing, especially
now with the "-- "...

Thanks,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.592.gc431)

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] how send babel source code to shell?

2011-03-03 Thread Rainer M Krug
On Thu, Mar 3, 2011 at 2:20 PM, Piter_  wrote:
> Hi all.
> I have a source code (in matlab or python). It cosists of two blocks
> (using noweb).
> I can evaluate it.
> But I want to send it to matlab or python shell. And inspect the
> result there (variable values and so on).
> Can I do it?

Yes - use the :session header argument.

Although I have never used in matlab or python ( I used in in R and
sh), it should work there as well.

e.g:

#+begin_src python :session WHATEVER
  DO SOMETHING
#+end_src

Cheers,

Rainer

> Thanks.
> Petro.
>
> --
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>



-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)321 2125 2244
email:          rai...@krugs.de

Skype:          RMkrug
Google:         r.m.k...@gmail.com

--
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[O] [Orgmode] Babel sql code block issue and patch proposal

2011-03-03 Thread Alain Clément
Hi everyone,

The =org-babel-temp-file= string seems to be escaped with backslashes on
some platforms (like MacOSX), which is not very appreciated by the =mysql
-e= command. I suggest the following patch for =ob-sql.el= (Org-mode Version
7.4 (release_7.4.590.g85d4d)):

74c74
< ('mysql (format "mysql %s < %s > %s"
---
> ('mysql (format "mysql %s -e \"source %s\" > %s"

Best regards,
-- Alain

-- 



Alain Clément
Dr ès sc. mathématiques

Université de Lausanne
Quartier UNIL-Centre
Bâtiment Unicentre
Bureau 339
CH-1015 Lausanne

T. +41 21 692 20 36 (direct)
T. +41 21 692 20 60 (secrétariat)

alain.clem...@unil.ch
-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[O] Re: [Orgmode] Re: Go to today in Calendar

2011-03-03 Thread Bastien
Hi Sebastien,

Sébastien Vauban  writes:

> You'll tell me that I could use PROPERTIES as well, 

Indeed!

> but I think I'd loose the
> ability to sort the tasks tree based on the inactive dates.

... and you would gain to sort the tasks tree by properties :)

I added a footnote on the documentation to ask the user to avoid
inserting text between the headline and the SCHEDULED/DEADLINE
text.

-- 
 Bastien

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[O] how send babel source code to shell?

2011-03-03 Thread Piter_
Hi all.
I have a source code (in matlab or python). It cosists of two blocks
(using noweb).
I can evaluate it.
But I want to send it to matlab or python shell. And inspect the
result there (variable values and so on).
Can I do it?
Thanks.
Petro.

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] Table rows and ranges as LHS of formulas

2011-03-03 Thread Carsten Dominik

On 3.3.2011, at 05:18, Nick Dokos wrote:

> Carsten Dominik  wrote:
> 
>> Maybe we should use something else to achieve symmetry, like @>  and $>.
>> 
>> Comments?
>> 
> 
> Perfect. Mirrors the keybinding for end-of-buffer, so there is mnemonic
> value there, and it naturally flows from the @N$N notation.

OK, I'll try to work on this.

> Something else that popped into my head: are there any plans to
> deprecate the $LR2 notation? I always had trouble remembering how that
> went, so having @>$2 in its place works much better for me.[fn:1]

I think so too, and the patch yesterday already marked this feature
as deprecated and moved the documentation about $LR2 into a footnote.
We should not remove this for backward compatibility - but there
is no reason to use this syntax anymore.

> 
> Nick
> 
> Footnotes:
> [fn:1] Of course, it starts looking a bit like Perl :-)

Indeed :/

- Carsten

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] [Orgmode] Babel sql code block issue and patch proposal

2011-03-03 Thread Eric Schulte
Hi Alain,

Does the following alternative fix work for you?

#+begin_src diff
  Changes in HEAD
  Modified lisp/ob-sql.el
  diff --git a/lisp/ob-sql.el b/lisp/ob-sql.el
  index 364070e..604d444 100644
  --- a/lisp/ob-sql.el
  +++ b/lisp/ob-sql.el
  @@ -71,7 +71,7 @@ This function is called by `org-babel-execute-src-block'."
(or cmdline "")
(org-babel-process-file-name in-file)
(org-babel-process-file-name out-file)))
  -('mysql (format "mysql %s -e \"source %s\" > %s"
  +('mysql (format "mysql %s -e 'source %s' > %s"
   (or cmdline "")
  (org-babel-process-file-name in-file)
  (org-babel-process-file-name out-file)))
#+end_src

Also, just out of curiosity would you mind sharing an example result of
`org-babel-temporary-directory' which contains backslashes?

Thanks -- Eric

Alain Clément  writes:

> Hi everyone,
>
> The =org-babel-temp-file= string seems to be escaped with backslashes on
> some platforms (like MacOSX), which is not very appreciated by the =mysql
> -e= command. I suggest the following patch for =ob-sql.el= (Org-mode Version
> 7.4 (release_7.4.590.g85d4d)):
>
> 74c74
> < ('mysql (format "mysql %s < %s > %s"
> ---
>> ('mysql (format "mysql %s -e \"source %s\" > %s"
>
> Best regards,
> -- Alain
>
> -- 
>
>
>
> Alain Clément
> Dr ès sc. mathématiques
>
> Université de Lausanne
> Quartier UNIL-Centre
> Bâtiment Unicentre
> Bureau 339
> CH-1015 Lausanne
>
> T. +41 21 692 20 36 (direct)
> T. +41 21 692 20 60 (secrétariat)
>
> alain.clem...@unil.ch

--
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] [babel][bug] Export latex table using noweb suddenly broken?

2011-03-03 Thread Eric Schulte
Jeff Horn  writes:

> On Wed, Mar 2, 2011 at 1:41 PM, Eric Schulte  wrote:
>
>> If you add ":results latex" to the code block does that fix the problem?
>> Similarly if you evaluate the code block interactively in the org-mode
>> buffer, are the results inserted in a latex block or in an example
>> block?
>
> Thanks for your help! I already had ":results latex" in the header,
> and I haven't changed any "default header" setting. The code evaluated
> in buffer into a latex block, but without the verbatim environment. It
> works now for some reason.
>
> Earlier today, I manually re-loaded org-table.el because I thought a
> function wasn't loading (turns out it just wasn't interactive). Should
> I manually require org-table in an init file? (I'm using the
> starter-kit, BTW)

I don't manually require org-table in my init file, but if it works I
guess you may as well.  Given that I update my Org-mode install very
frequently, I've found it easier to *not* every byte-compile org-mode,
which makes it easier to ensure I'm not loading stale source files.

Best -- Eric

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] Table rows and ranges as LHS of formulas

2011-03-03 Thread Carsten Dominik

On 3.3.2011, at 09:28, Bastien wrote:

> Nick Dokos  writes:
> 
>> Carsten Dominik  wrote:
>> 
>>> Maybe we should use something else to achieve symmetry, like @>  and $>.
>>> 
>>> Comments?
>>> 
>> 
>> Perfect. Mirrors the keybinding for end-of-buffer, so there is mnemonic
>> value there, and it naturally flows from the @N$N notation.
> 
> FWIW I also find @> and $> to be better than @L and $L.

OK, I will include this change into my next patch.

- Carsten


-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] Macro expansion in included files

2011-03-03 Thread Benny Simonsen
2011/3/3 Sébastien Vauban :
> Hi Benny,
>
> Benny Simonsen wrote:
>> The result is {{{MacM(Main)}}} is expanded as expected but the
>> {{{Mac*(Sub)}}} isn't expanded.
>
> What's Mac*?
>
> In your example, you just have MacM and Mac...

MacM is the macro defined in main.org:
#+MACRO: MacM @$1@

and Mac is a similar macro in sub.org - just to see if it gives any
difference in sub.org about the macro is defined in the same file or
in another file.

The content of the two files should be visible in my original post(s).
If not let me hear.

- sorry I posted twice, but I couldn't see the fist message that I
have sent because of the filtering on gmail.


Best regards,
Benny

--
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[O] Re: [Orgmode] Re: Closing #+results: with #+end declaration?

2011-03-03 Thread Bastien
Hi Eric,

"Eric Schulte"  writes:

> #+begin_src emacs-lisp :results wrap :exports both
>   (mapcar (lambda (el) (list el (+ 1 (* el el (number-sequence 0 10))
> #+end_src
>
> #+results:
> #+BEGIN_RESULT
> |  0 |   1 |
> |  1 |   2 |
> |  2 |   5 |
> |  3 |  10 |
> |  4 |  17 |
> |  5 |  26 |
> |  6 |  37 |
> |  7 |  50 |
> |  8 |  65 |
> |  9 |  82 |
> | 10 | 101 |
> #+END_RESULT
>
> I've just added documentation of the "wrap" header argument to the
> manual.

Thanks -- IMHO wrapping with begin/end_result could be the default, 
or even the only option avaiable (but it would break current code.)

> I agree that (possibly aside from clarity) there is no real need for the
> end block to specify its type.  However as I use helper methods
> (e.g. yasnippets) for all block creation, then extra characters
> represent no real typing burden.

Let's think about this later, no real emergency here.

Thanks for your feedback,

-- 
 Bastien

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[O] Re: [Orgmode] [HOW] no way to escape vertical bar (pipe char) in tables?

2011-03-03 Thread Bastien
Hi Vladimir,

Vladimir Alexiev  writes:

> I want to manage some perl regexps in a table
> then feed them to a code block (literate programming).
> Unfortunately they include alternatives (|) 
> and the table editor thinks this is a column break.
>
> There's no way to escape this?

AFAIK, there is not.

> On a related thought: what is the best way to manage
> leading/trailing spaces in a table cell?
> I've been forced to use \x20 for this purpose...

This i don't understand -- you want to *keep* the spaces 
in the exported table?  

-- 
 Bastien

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[O] Re: [Orgmode] Option: special beginning of headline (list) option for navigation commands

2011-03-03 Thread Bastien
Hi Michael,

Michael Bach  writes:

> Is there an option for org-metaup (org-metadown) and
> outline-next-visible-heading (outline-previous-visible-heading) to alway
> jump to the first non-star character in a headline instead of the beginning
> of a headline? 

No.  But I just implemented this: if the cursor is a column 3,
org-metaup will put it back at column 3.  So now you can just use the
special C-a command and org-metadown will leave the cursor at the first 
non-* char of the heading.

HTH,

-- 
 Bastien

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[O] Re: [Orgmode] Bug: org-advertized-archive-subtree: Symbol's function definition is void: org-datetree-find-year-create [7.4 (release_7.4.419.g68114f)]

2011-03-03 Thread Bastien
Hi Urs,

"Urs Rau (UK)"  writes:

> I am trying to archive completed tasks to a datetree. I am using "Move
> Subtree to Archive file" (C-c C-x -C-s) And I get the following error:
>
> release_7.4-419-g68114f
> Org-mode version 7.4 (release_7.4.419.g68114f)
> afile=/Users/ursr/org/tasksnotes.org_archive
> org-advertized-archive-subtree: Symbol's function definition is void:
> org-datetree-find-year-create
>
> And I had done a C-c C-x ! to reload all org files, jsut in case. ;-)

What if you explicitely load org-datetree.el?  It should work.

> Also are these dates going to be based on USA date field orders or
> will it work right with European dates?

For now org-datetree handles dates like -MM-DD only.

HTH,

-- 
 Bastien

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[O] Re: [Orgmode] Feature Request: attach link type

2011-03-03 Thread Bastien
Hi Darlan,

Darlan Cavalcante Moreira  writes:

> Using the functions already provided by org-attach I could get
> #+LINK: attach elisp:(org-open-file (org-attach-expand "%s"))
> However, I always have to confirm the execution of the elisp code. 

You want to set `org-confirm-elisp-link-function' to nil.

> Other useful things (just random thoughts) could be:
>  - Perform some operation when a file is attached, such as replacing
>white-spaces in the file-name by underscores

IMHO this goes beyond what org-attach.el should do: attach files.
Besides, that would require even more confirmation steps.

>  - When a file is attached a link to it could be stored in the kill ring,
>in case the user want to insert it in the current text. Alternatively,
>an interactive function to insert a link to an attached file (using the
>same completions we already get for opening attached files) would also
>be very handy.

Yes, good idea.

>From latest git, set `org-attach-store-link-p' to `t' if you want a link
to be stored in `org-stored-links' when attaching a file.

Thanks,

-- 
 Bastien

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] combined graphical and textual result.

2011-03-03 Thread Piter_
Thanks.
It solves the problem. Plus I have discovered a new for me thing
called "literate programming".


On Wed, Mar 2, 2011 at 12:50 PM, Eric S Fraga  wrote:
> Piter_  writes:
>
>> Hi all.
>> I try to manage my experimental results in org mode. Some times I need
>> from one source few results to be saved. For example I fit some data
>> in a matlab source code block. From this I need a picture of the fit,
>> and parameters of the fit. Can I have two results blocks?
>> I am afraid that no. But may be there is a way to make it without
>> duplicating the source code.
>
> You could use :noweb to define the common code block and then include it
> in more than one subsequent block, each of which generates different
> views on the results.
>
> --
> : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
> : using Org-mode version 7.4 (release_7.4.576.g99675.dirty)
>

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] Macro expansion in included files

2011-03-03 Thread Sébastien Vauban
Hi Benny,

Benny Simonsen wrote:
> The result is {{{MacM(Main)}}} is expanded as expected but the
> {{{Mac*(Sub)}}} isn't expanded.

What's Mac*?

In your example, you just have MacM and Mac...

Best regards,
  Seb

-- 
Sébastien Vauban


--
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[O] Re: [Orgmode] Headlines export problem

2011-03-03 Thread PASZTOR Miklos
 Hello,

 Thanks for keeping an eye on this.
 Sorry for being silent.

On Wed, Mar 02, 2011 at 06:48:56PM +0100, Bastien wrote:
> Hi,
>
> PASZTOR Miklos  writes:
>
> >  I'm using org-mode version 7.4. When I export org files to html - having
> >  H:2 in the options line -  it seems that  each third level headline
> >  becomes a  *separate* unnumbered list.
>
> I cannot reproduce this problem with latest Org.
>
> Do you still have it?

 I do. I have pulled down the latest Org (release_7.4.589.gdc608), and if I
 have:

8<-8<
** Second
*** Third
*** Several
*** Times
8<-8<

I get:

8<-8<
Second 



Third 



Several 



Times 



8<-8<

 Please note the consecutive   tags.
 I can either edit the html file afterwards, or I can write:

8<-8<
** Second
  - Third
  - Several
  - Times
8<-8<

 Both solve the problem.
 Thank you for all your efforts.

 Cheers,
 Miklós
--



signature.asc
Description: Digital signature
-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] Re: multiple agenda buffers

2011-03-03 Thread Bastien
Hi Matt,

Matt Lundin  writes:

> While working on tasks I often need to search for notes relevant to the
> current task. This is not an interruption, but rather a normal part of
> my workflow. In these instances, a separate buffer for search results
> would be exceptionally useful.

Just curious: does `org-agenda-append-agenda' suit the workflow you
describe above, even if it uses only one buffer to store multiple
agendas?

-- 
 Bastien

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] IMPORTANT: please update your email filters

2011-03-03 Thread Bastien
Hi Matt,

Matt Lundin  writes:

> FWIW, I find the [O] label a little bit too short and cryptic for
> effective visual scanning. It is very similar, for instance to [OT], a
> commonly used subject label. I first thought it might stand for "Open",
> until I found all the other posts bearing the label. I imagine it could
> also be confused with [0].

I somehow hope the problem with Gmane comes from the fact that it
doesn't allow single-character labels -- that way I would have a good
reason to switch from [O] to [Org] (which I finally find better as well)
without looking to stupid.

Let's wait Lars' answer and see what we do.

Thanks,

-- 
 Bastien

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] Cool feature: Link abbreviations

2011-03-03 Thread Bastien
Hi Nathan,

Nathan Neff  writes:

> Then, I found that you can define abbreviations *directly* in my
> customer.org at the top like this:
>
>   #+LINK:issues http://example.com/issues/PRODUCT-

Yes.  It's been here for a long time :)

> Awesome!

Would you like to provide a very simple tutorial for Worg presenting
this feature?  It will help make people aware of it.

Best,

-- 
 Bastien

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[O] Re: Automatic Org-mode mailing list signature -- Was: Let's stick to one list for now

2011-03-03 Thread Gregor Zattler
Hi Bastien,
* Bastien  [03. Mar. 2011]:
> I'm thinking of removing the banner completely.  I don't think it is
> really useful, and having it as a signature is indeed confusing.

Yeah! Get rid of it!
 
> Would people object?

Not me at least.  It's an annoyance.

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] Should the default for org-table-use-standard-references be `from' instead of `t'

2011-03-03 Thread Bastien
Hi Carsten,

Carsten Dominik  writes:

> Should the default for org-table-use-standard-references be `from'
> instead of `t'

+1

> I am using `from' because I am confused by the switching back and forth 
> between
> standard references like A4 and the @r$c operator Org uses.

(Perhaps that's because I've not been using "standard" references
before, but I find @r$c references to be more readable.)

-- 
 Bastien

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] Table rows and ranges as LHS of formulas

2011-03-03 Thread Bastien
Nick Dokos  writes:

> Carsten Dominik  wrote:
>
>> Maybe we should use something else to achieve symmetry, like @>  and $>.
>> 
>> Comments?
>> 
>
> Perfect. Mirrors the keybinding for end-of-buffer, so there is mnemonic
> value there, and it naturally flows from the @N$N notation.

FWIW I also find @> and $> to be better than @L and $L.

-- 
 Bastien

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[O] Re: Automatic Org-mode mailing list signature -- Was: Let's stick to one list for now

2011-03-03 Thread Bastien
Hello,

I'm thinking of removing the banner completely.  I don't think it is
really useful, and having it as a signature is indeed confusing.

Would people object?

-- 
 Bastien

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: Automatic Org-mode mailing list signature -- Was: [O] Let's stick to one list for now

2011-03-03 Thread Bastien
Hi Achim,

Achim Gratz  writes:

> Somehow you also seem to have confused the mailing list software about
> the mailing list tag in the subject line: it doesn't correctly strip and
> re-insert it anymore on reply, so you get "Re: [O]" and "[O] Re:" and
> more variations on that theme.  

It was a problem before.

> Last but not least Gmane hasn't caught
> on to that and now starts to show the "[O]" tag whereas "[Orgmode]" was
> always correctly stripped on the newsfeed.  I can configure all of that
> away in Gnus, but I don't really see this as an improvement.

I wrote to Lars Ingebrigtsen asking him if there is something I need to
update on Gmane side.  

Thanks for pointing this,

-- 
 Bastien

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode