Re: [Orgmode] shifting table cells

2009-07-29 Thread Kevin Brubeck Unhammer
2009/4/2 Mike Newman m...@newmanfamily.me.uk:
 kill-rectangle (C-x r k) and yank-rectangle (C-x r y) can be very
 useful for this sort of thing.

That's what I've been using... although it's quite tedious.

 On Tue, 31 Mar 2009 15:35:03 +0100
 n...@aleblanc.cotse.net wrote:

 Hi,
    is there any way to shift cells up/down within a column while
 leaving remaining columns intact. If not could someone point me in
 the right direction to any org-functions I could use to help me
 implement this?

Did you ever implement this? I've been wanting this function for a while...


best regards,
Kevin Brubeck Unhammer



http://apertium.org Free and Open Source Machine Translation


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


[Orgmode] Tracking Org-mode's git repo

2009-07-29 Thread Sebastian Rose
Hi all,

I sat down to hack a little on our functions we wrote to compile
Org-mode without make (see
http://article.gmane.org/gmane.emacs.orgmode/15264 ff).

I thought it would be nice, to do the whole bunch of actions at once for
users tracking the development version of Org-mode:

   * git
 - clone the repo
 - pull

   * Download and unpack org-latest.tar.gz in case no git is installed
 or the user doesn't want to use git to track Org.

Git cloning and pulling is now done as recommended in our FAQ
(http://orgmode.org/worg/org-faq.php#keeping-local-changes-current-with-Org-mode-development)
which is based on Bernt's suggestions, I believe. Optionally, the whole
thing sets up a local branch for you, that is rebased automatically
(again, see the FAQ entry for more no this).

What's still missing, is a function to download and unpack
org-latest.tar.gz, which I will do during the next days. We should add
that feature for people not willing/being able to install git.


I've set up a repo on github for this.

If you want to contribute, you could (a) clone/fork the repo, (b) send
me your public key that you wish to use with that repo so I can add it,
or (c) just send patches.



Best regards,


Sebastian


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


Re: [Orgmode] Tracking Org-mode's git repo

2009-07-29 Thread Sebastian Rose


Yes, I hear you

The repo is here:

  http://github.com/SebastianRose/track-org-git/tree/master

:-)


   Sebastian


Sebastian Rose sebastian_r...@gmx.de writes:
 Hi all,

 I sat down to hack a little on our functions we wrote to compile
 Org-mode without make (see
 http://article.gmane.org/gmane.emacs.orgmode/15264 ff).

 I thought it would be nice, to do the whole bunch of actions at once for
 users tracking the development version of Org-mode:

* git
  - clone the repo
  - pull

* Download and unpack org-latest.tar.gz in case no git is installed
  or the user doesn't want to use git to track Org.

 Git cloning and pulling is now done as recommended in our FAQ
 (http://orgmode.org/worg/org-faq.php#keeping-local-changes-current-with-Org-mode-development)
 which is based on Bernt's suggestions, I believe. Optionally, the whole
 thing sets up a local branch for you, that is rebased automatically
 (again, see the FAQ entry for more no this).

 What's still missing, is a function to download and unpack
 org-latest.tar.gz, which I will do during the next days. We should add
 that feature for people not willing/being able to install git.


 I've set up a repo on github for this.

 If you want to contribute, you could (a) clone/fork the repo, (b) send
 me your public key that you wish to use with that repo so I can add it,
 or (c) just send patches.



 Best regards,


 Sebastian



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


Re: [Orgmode] Tracking Org-mode's git repo

2009-07-29 Thread Greg Newman
I could whip up some bash scripts to do this in different flavors Sebastian,
like one for those with git, one for those without.  It just wouldn't work
for windows users; only mac/linux.
On Wed, Jul 29, 2009 at 5:09 AM, Sebastian Rose sebastian_r...@gmx.dewrote:



 Yes, I hear you

 The repo is here:

  http://github.com/SebastianRose/track-org-git/tree/master

 :-)


   Sebastian


 Sebastian Rose sebastian_r...@gmx.de writes:
  Hi all,
 
  I sat down to hack a little on our functions we wrote to compile
  Org-mode without make (see
  http://article.gmane.org/gmane.emacs.orgmode/15264 ff).
 
  I thought it would be nice, to do the whole bunch of actions at once for
  users tracking the development version of Org-mode:
 
 * git
   - clone the repo
   - pull
 
 * Download and unpack org-latest.tar.gz in case no git is installed
   or the user doesn't want to use git to track Org.
 
  Git cloning and pulling is now done as recommended in our FAQ
  (
 http://orgmode.org/worg/org-faq.php#keeping-local-changes-current-with-Org-mode-development
 )
  which is based on Bernt's suggestions, I believe. Optionally, the whole
  thing sets up a local branch for you, that is rebased automatically
  (again, see the FAQ entry for more no this).
 
  What's still missing, is a function to download and unpack
  org-latest.tar.gz, which I will do during the next days. We should add
  that feature for people not willing/being able to install git.
 
 
  I've set up a repo on github for this.
 
  If you want to contribute, you could (a) clone/fork the repo, (b) send
  me your public key that you wish to use with that repo so I can add it,
  or (c) just send patches.
 
 
 
  Best regards,
 
 
  Sebastian
 


 ___
 Emacs-orgmode mailing list
 Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Error while: Stack overflow in regexp matcher

2009-07-29 Thread Sébastien Vauban
Hi,

Can I give this thread a bump?  I still have the problem with not being able
to share my `.emacs' file, and get to the last publishing step.

Sébastien Vauban wrote:
 Giovanni Ridolfi wrote:
 Sébastien Vauban ha scritto:
 I'm trying to publish my `.emacs' file onto the Web [...]. I've always an
 error when trying to publish my config file: while: Stack overflow in
 regexp matcher.

 Nothing gets published. Of course, my `.emacs' file is quite long, but that
 [same file got published with Muse/htmlize].

 This is my simplified `dot-emacs.org' file:

--8---cut here---start-8---
#+TITLE: Emacs Init File
#+LANGUAGE: en


* Init File

  Here is my init file:

#+INCLUDE: ~/.emacs src emacs-lisp
--8---cut here---end---8---

 FYI, I'm having `GNU Emacs 23.0.94.1 (i486-pc-linux-gnu, GTK+ Version
 2.16.1) of 2009-06-18 on samarium, modified by Debian' and `Org-mode
 version 6.28trans'.

 my .emacs is published ok. (15 kb)
 However a 791 kb org file (147443 lines) gives the error:
 org-export-select-backend-specific-text: Stack overflow in regexp matcher

 So, exactly the same problem when the file gets longer...

Best regards,
  Seb

-- 
Sébastien Vauban



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


Re: [Orgmode] Re: suggestion for a fix to org-clock-in

2009-07-29 Thread Bastien
Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 Isn't it simply the way it always has been for French abbreviations of
 weekdays?

I might be wrong but I don't think so.  

I even remember I found this weird to have this dot after the
abbreviation - I thought: Gee, this will break things in Org.
I looked for broken functions and couldn't find some.  

I'm nearly glad someone found one :)

-- 
 Bastien


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


Re: [Orgmode] Re: Error while: Stack overflow in regexp matcher

2009-07-29 Thread Bastien
Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 Can I give this thread a bump?  I still have the problem with not being able
 to share my `.emacs' file, and get to the last publishing step.

Can you send me your .emacs file off-list?

I will try to export this tonight or tomorrow.

Thanks,

-- 
 Bastien


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


Re: [Orgmode] Re: limit agenda to particular tag?

2009-07-29 Thread John SJ Anderson
Memnon Anon gegendosenflei...@gmail.com writes:

 John SJ Anderson geneh...@genehack.org writes:

   Is there a way to display an agenda (like 'C-a a' does) but have it
   limited to items that have a particular tag? (E.g., so I can see only
   '@WORK' items when at work.) 

 Either use your agenda and use / to limit the view to what you want.
 Or create a custom agenda command: I have something like this:

  I couldn't get the custom-commands code you posted to work, but the
  'C-c a a / TAG' thing you and Matthew both pointed out is exactly what
  I was looking for -- thanks to both of you. 

chrs,
john.
-- 
I believe in getting into hot water; it keeps you clean.
  - G. K. Chesterton


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


[Orgmode] Re: Error while: Stack overflow in regexp matcher

2009-07-29 Thread Sébastien Vauban
Hi Bastien,

Bastien wrote:
 Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 Can I give this thread a bump?  I still have the problem with not being able
 to share my `.emacs' file, and get to the last publishing step.

 Can you send me your .emacs file off-list?

Of course, I do that in a minute.


 I will try to export this tonight or tomorrow.

Thank you very much in advance,
  Seb

-- 
Sébastien Vauban



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


Re: [Orgmode] Tracking Org-mode's git repo

2009-07-29 Thread Sebastian Rose
Greg Newman g...@20seven.org writes:
 I could whip up some bash scripts to do this in different flavors Sebastian,
 like one for those with git, one for those without.  It just wouldn't work
 for windows users; only mac/linux.

Thanks Greg, but that what it is intended for: work without any external
dependencies in a portable way.


Best wishes,


   Sebastian


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


Re: [Orgmode] Tracking Org-mode's git repo

2009-07-29 Thread Greg Newman
I think I understand what you're talking about Sebastian, which what I'd do
is use wget in the bash script for those who don't have and don't want to
install git.

On Wed, Jul 29, 2009 at 8:11 AM, Sebastian Rose sebastian_r...@gmx.dewrote:

 Greg Newman g...@20seven.org writes:
  I could whip up some bash scripts to do this in different flavors
 Sebastian,
  like one for those with git, one for those without.  It just wouldn't
 work
  for windows users; only mac/linux.

 Thanks Greg, but that what it is intended for: work without any external
 dependencies in a portable way.


 Best wishes,


   Sebastian

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


Re: [Orgmode] Strange hiccups when running in server (also: Folding stops working)

2009-07-29 Thread Martin Pohlack
Martin Pohlack wrote:
 Sorry for the noise.
 
 A local package globally modified outline-heading-end-regexp which broke
 folding via outline-mode.

It wasn't a local package after all: simple-wiki.el is to blame here.

It globally modifies outline-regexp and outline-heading-end-regexp.

For those using simple-wiki.el, please find a patch attached (already
reported upstream).

Cheers,
Martin

PS.: This is probably the same problem as described in an earlier thread
called Folding stops working.
--- simple-wiki.el.orig	2009-07-29 10:53:26.706233000 +0200
+++ simple-wiki.el	2009-07-07 10:08:02.981394000 +0200
@@ -815,6 +817,8 @@
   (set (make-local-variable (car pair)) (cdr pair
 
   (unless (equal simple-wiki-outline-patterns 'none)
+(make-local-variable 'outline-regexp)
+(make-local-variable 'outline-heading-end-regexp)
 (setq outline-regexp (car simple-wiki-outline-patterns))
 (setq outline-heading-end-regexp (cdr simple-wiki-outline-patterns)))
 
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Tracking Org-mode's git repo

2009-07-29 Thread Sebastian Rose
Greg Newman g...@20seven.org writes:
 I think I understand what you're talking about Sebastian, which what I'd do
 is use wget in the bash script for those who don't have and don't want to
 install git.

I hope we can do that using arc-mode (since emacs 22.1) or tar-mode.

Maybe I overlooked something - I still hope to find something that works
without buffers. Might be possible to use the executable settings from
one of those modes and call the executable directly.


   Sebastian


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


Re: [Orgmode] Include mechanism for web publishing

2009-07-29 Thread Israel Herraiz
Excerpts from Michael's message on Jul 29, 2009 about  2 AM:
 Opps, for some reason the important portion didn't copy. You'll have to
 forgive me, I'm still learning gnus.

Thanks for the patch. However, stragenly, it is now working out of the
box. I cloned the git repo to try out your patch, and before applying
it, I tried the original sources, just in case something has changed
and my scripts stop working.

I added the org markup option to all the #+INCLUDEs; for instance:

 #+INCLUDE: header/my-header.org org

And surprisingly it is now working, without changing any single
line. I say surprisingly because it works with anything but src or
none. For instance, I can write #+INCLUDE: file.org blablabla, and the
file is included without any formatting or escaping. If I don't
indicate the markup, it is escaped. And if I indicate src, the
original file gets included as source code.

Thanks anyway for the patch.

Cheers,
Israel


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


Re: [Orgmode] Results of the SourceForge Community Award

2009-07-29 Thread Ian Barton

Richard Riley wrote:

Bastien bastiengue...@googlemail.com writes:


Nick Dokos nicholas.do...@hp.com writes:


Indeed. BTW, I was curious to see what PortableApps did/looked like, and
(since I couldn't find an installation package for Linux) I downloaded
the sources and looked at them: this thing seems to be Windoze only
(maybe Mac too?) - is that true or did I overlook something?
To me that's true - I was a bit surprised too.  


Mmhh...  maybe the Windows user-base is bigger than the Emacs user-base?


PS. And if so, shouldn't the FTC come after them for false advertising?
PortableApps indeed :-)

:)


Come on chaps, you can run Windows under Vmware or VirtualBox you know!


Portable Apps runs fine under wine. I have a copy on my usb stick in 
case I go somewhere that only has Windows available. Since I don't have 
a Windows computer at home I test it under wine.


Of course I also have the Windows port of Emacs, so I can still run org, 
even if I am forced to use Windows:)


Ian.


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


Re: [Orgmode] Results of the SourceForge Community Award

2009-07-29 Thread David A. Gershman

Know what they call the commercial version of Portable Apps?


A Netbook.


 Richard Riley wrote:
  Bastien bastiengue...@googlemail.com writes:
  
  Nick Dokos nicholas.do...@hp.com writes:
 
  Indeed. BTW, I was curious to see what PortableApps did/looked
like, and
  (since I couldn't find an installation package for Linux) I downloaded
  the sources and looked at them: this thing seems to be Windoze only
  (maybe Mac too?) - is that true or did I overlook something?
  To me that's true - I was a bit surprised too.  
 
  Mmhh...  maybe the Windows user-base is bigger than the Emacs
user-base?
 
  PS. And if so, shouldn't the FTC come after them for false
advertising?
  PortableApps indeed :-)
  :)
  
  Come on chaps, you can run Windows under Vmware or VirtualBox you know!
  
  
 Portable Apps runs fine under wine. I have a copy on my usb stick in 
 case I go somewhere that only has Windows available. Since I don't have 
 a Windows computer at home I test it under wine.
 
 Of course I also have the Windows port of Emacs, so I can still run org, 
 even if I am forced to use Windows:)
 
 Ian.
 
 
 ___
 Emacs-orgmode mailing list
 Remember: use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 
 


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


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


Re: [Orgmode] tea-time?

2009-07-29 Thread Samuel Wales
Hi Bastien,

On 2009-07-26, Bastien bastiengue...@googlemail.com wrote:
 This thread started because it was claimed that tea-time was
 integrated into org.

 (Just for the record, this statement came from emacswiki, not from the
 list...  it's hard to keep on eye on emacswiki for such statements!)

It also seems to be in your commit at:
http://repo.or.cz/w/Worg.git?a=commitdiff;h=35321eebecca824964c01dd5013b0f19dd646b24

:)

 I have implemented this tea-time functionality in latest Org.  Now you
 can call `org-timer-set-timer' from Org buffers with `C-c C-x ;' and
 from Org Agendas with `;'.  You will be prompted for a number of minutes
 and you will get a notification about the current headline after this
 number of minutes.  You can set up to three timers.  Please test.

A remember interface and a horizontal-space-conserving mode line
countdown would work well here, allowing you to not be in org mode and
showing you how many minutes remain.

I tried it and was not reminded.  Does it rely on an external command?

Thanks.


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


Re: [Orgmode] tea-time?

2009-07-29 Thread Samuel Wales
(Of course, your commit was long after the thread began, but it does
show that number of minutes is different functionality.)


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


Re: [Orgmode] tea-time?

2009-07-29 Thread Bastien
Hi Samuel,

Samuel Wales samolog...@gmail.com writes:

 On 2009-07-26, Bastien bastiengue...@googlemail.com wrote:
 This thread started because it was claimed that tea-time was
 integrated into org.

 (Just for the record, this statement came from emacswiki, not from the
 list...  it's hard to keep on eye on emacswiki for such statements!)

 It also seems to be in your commit at:
 http://repo.or.cz/w/Worg.git?a=commitdiff;h=35321eebecca824964c01dd5013b0f19dd646b24

Well, this was the patch I created after the original question about
tea-time on the mailing list...

 I have implemented this tea-time functionality in latest Org.  Now you
 can call `org-timer-set-timer' from Org buffers with `C-c C-x ;' and
 from Org Agendas with `;'.  You will be prompted for a number of minutes
 and you will get a notification about the current headline after this
 number of minutes.  You can set up to three timers.  Please test.

 A remember interface and a horizontal-space-conserving mode line
 countdown would work well here, allowing you to not be in org mode and
 showing you how many minutes remain.

Agreed.  But I won't have time to code this this week.

 I tried it and was not reminded.  Does it rely on an external command?

See the function `org-show-notification' and the option
`org-show-notification-handler'. 

What is the output of 

  (org-show-notification Bump!)

?

-- 
 Bastien


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


Re: [Orgmode] tea-time?

2009-07-29 Thread Samuel Wales
Hi Bastien,

On 2009-07-29, Bastien bastiengue...@googlemail.com wrote:
 What is the output of

   (org-show-notification Bump!)

 ?

The string.

Perhaps appt can be added to the fallbacks?


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


Re: [Orgmode] shifting table cells

2009-07-29 Thread Bastien
Kevin Brubeck Unhammer p.ixiemot...@gmail.com writes:

 2009/4/2 Mike Newman m...@newmanfamily.me.uk:
 kill-rectangle (C-x r k) and yank-rectangle (C-x r y) can be very
 useful for this sort of thing.

 That's what I've been using... although it's quite tedious.

 On Tue, 31 Mar 2009 15:35:03 +0100
 n...@aleblanc.cotse.net wrote:

 Hi,
    is there any way to shift cells up/down within a column while
 leaving remaining columns intact. If not could someone point me in
 the right direction to any org-functions I could use to help me
 implement this?

 Did you ever implement this? I've been wanting this function for a
 while...

Sorry I can't help here. 

-- 
 Bastien


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


Re: [Orgmode] tea-time?

2009-07-29 Thread Bastien
Samuel Wales samolog...@gmail.com writes:

 Perhaps appt can be added to the fallbacks?

Nope.  org-show-notification is called by a timer, so adding a timer to
a timer would be confusing IMO.

-- 
 Bastien


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


Re: [Orgmode] tea-time?

2009-07-29 Thread Bastien
Hi Samuel,

Samuel Wales samolog...@gmail.com writes:

 I tried it and was not reminded.  Does it rely on an external command?

Please provide more information on how you tried it.

From the buffer?  From the agenda?  What is the value of
org-show-notification-handler?

-- 
 Bastien


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


Re: [Orgmode] tea-time?

2009-07-29 Thread Samuel Wales
Hi Bastien,

I did not realize that appt could not be used.

On 2009-07-29, Bastien bastiengue...@googlemail.com wrote:
 Please provide more information on how you tried it.

It works now.  I pulled in the interim, but I don't know if that's the
reason.  I tried it twice, so I don't think I missed the notification.

However, the notification is in the minibuffer / echo area, and can
easily be unnoticed if you are typing, as it goes away immediately.

These are just brainstorm ideas, but appt pops up a window for a
configurable number of seconds and raises the frame.

The mode line can show the number of minutes overdue.

type-break.el uses persistent minibuffer text and lets you control
whether you continue to be reminded.

Raising the frame is important, but beyond that I am not sure which is best.

As for sound, I have disabled all emacs sound, but this would be the
one thing that would be good to have it enabled for; not sure how to
enable it just for this pupose.  Perhaps org could use let or flet at
notification time if a variable is non-nil.

Thanks.


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


Re: [Orgmode] Re: Literate Programming with Org mode

2009-07-29 Thread Eric H. Neilsen, Jr.

Sam,

sam kleinman wrote:

...
Here's a literate programing example: 


I talked with a statistician, programer and human rights violation
researcher, who wrote (with his team) reports of statistical studies
of data regarding possible genocide incidents. He wrote the LaTeX
documents which, within the text of the document, all values and
analysis' were called in and generated when LaTeX ran, so that as data
was collected, and the report was recompiled the analysis was
completed with the most up-to-date version of the data, and that the
production of the text was isolated from the collection of data, and
from the analysis of those figures. 


The stack itself, was comprised of Sweave
http://www.stat.umn.edu/~charlie/Sweave/ R for stats processing,
make, and a little bit of python for glue. I think. 
This is how it is often used in R (or S), and is compatible with the 
original idea, which is a little broader. The idea is to write a full 
software application by first writing a document about its design and 
implementation (in whatever organization is clearest for humans), but at 
a high enough level of detail that *all* code in *all* source files in 
the final application gets included somewhere in code snippets within 
the documentation. To compile your program, you run a program to 
tangle your text into C files, makefiles, or whatever is appropriate, 
and then compile that (with no additional editing).


See http://www.literateprogramming.com/

Every time I have tried this, I have given up in frustration at the 
tools. I have put together some org code to do it, and have used it 
successfully for some small projects, but I am still pulling my hair out 
on being able to properly contribute it to org, and it would need to be 
reworked in light of other developments anyway. org-babel now has 
includes literate programming in it as well, but I have not yet 
experimented with it (but am very interested in trying).


   -Eric

--
Eric H. Neilsen, Jr.
http://home.fnal.gov/~neilsen



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


Re: [Orgmode] tea-time?

2009-07-29 Thread Nick Dokos
Samuel Wales samolog...@gmail.com wrote:

 Hi Bastien,
 
 I did not realize that appt could not be used.
 
 On 2009-07-29, Bastien bastiengue...@googlemail.com wrote:
  Please provide more information on how you tried it.
 
 It works now.  I pulled in the interim, but I don't know if that's the
 reason.  I tried it twice, so I don't think I missed the notification.
 
 However, the notification is in the minibuffer / echo area, and can
 easily be unnoticed if you are typing, as it goes away immediately.
 
 These are just brainstorm ideas, but appt pops up a window for a
 configurable number of seconds and raises the frame.
 
 The mode line can show the number of minutes overdue.
 
 type-break.el uses persistent minibuffer text and lets you control
 whether you continue to be reminded.
 
 Raising the frame is important, but beyond that I am not sure which is best.
 
 As for sound, I have disabled all emacs sound, but this would be the
 one thing that would be good to have it enabled for; not sure how to
 enable it just for this pupose.  Perhaps org could use let or flet at
 notification time if a variable is non-nil.
 

If you like how your appointments are shown, you can use the appt display
mechanism, by setting org-show-notification-handler to something like this:

--8---cut here---start-8---
(defun my-org-show-notification-handler (notification)
  (funcall appt-disp-window-function 0 (current-time-string) notification))

(setq org-show-notification-handler (function my-org-show-notification-handler))
--8---cut here---end---8---

HTH,
Nick


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


[Orgmode] One unified .org to .html and .tex

2009-07-29 Thread zwz

I like org-mode.
I use it for taking notes and writing papers.

One problem pops up when I try to export one org file, which contains
some maths, to multiple formats, specifically html and tex. 

For tex, it is required to enclose the maths by $/$$; For html, there
is no need to use $/$$.

I just wondered if there is an unified way to generate those different
formats with one org file which still has good readability.

I guess there should be such a way.



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


[Orgmode] Export to org?

2009-07-29 Thread Hsiu-Khuern Tang
Hi,

Is there an easy way to export an org file to another org file, stripping away
any subtrees that are tagged noexport or marked as comments?  The idea is to
discard anything that is also ignored by the other export formats, such as
HTML.  I would find this a useful feature to have, for example, for
distributing Org files to other people without showing subtrees that are still
works-in-progress.

-- 
Best,
Hsiu-Khuern.


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


[Orgmode] Re: Export to org?

2009-07-29 Thread Bernt Hansen
Hsiu-Khuern Tang hsiu-khuern.t...@hp.com writes:

 Hi,

 Is there an easy way to export an org file to another org file, stripping away
 any subtrees that are tagged noexport or marked as comments?  The idea is to
 discard anything that is also ignored by the other export formats, such as
 HTML.  I would find this a useful feature to have, for example, for
 distributing Org files to other people without showing subtrees that are still
 works-in-progress.

Hi,

org-publish handles this now.  An entry like this:

 :publishing-function (org-publish-org-to-html 
org-publish-org-to-org)

in my org-publish-project-alist.

This produces both a .html and a .org file from the original .org file.
Any comments and subtrees marked with a noexport tag will not be
included in the exported org file.

More details on my complete setup is here:

http://doc.norang.ca/org-mode.html#PublishingProjects

HTH,
Bernt



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


[Orgmode] LaTeX export bug

2009-07-29 Thread Dan Griswold
Hi there,

Well, I think this a bug.

Given this org input file:

,
| * Things
| ** A Heading
|- some
|- stuff
|- in
|- a
|- list
| ** Another heading
|- another
|- list
`

then if I select the level one heading (titled Things) with C-c @, and
export to LaTeX using C-c C-e l, I get this output:

,
| % Created 2009-07-29 Wed 20:24
| \documentclass[12pt]{article}
| \usepackage[utf8]{inputenc}
| \usepackage[T1]{fontenc}
| \usepackage{graphicx}
| \usepackage{longtable}
| \usepackage{hyperref}
| 
| 
| \title{Things}
| \author{Daniel M. Griswold}
| \date{July 29, 2009}
| 
| \begin{document}
| 
| \maketitle
| 
| ** A Heading
| \begin{itemize}
| \item some
| \item stuff
| \item in
| \item a
| \item list
| \end{itemize}
| ** Another heading
| \begin{itemize}
| \item another
| \item list
| \end{itemize}
| 
| \end{document}
`

Note that the top level headings (A Heading and Another Heading) are
not exported as \section, but with the asterisks they have in the org
file:

,
| ** A Heading
| \begin{itemize}
| 
|   ... snip ...
| 
| \end{itemize}
| ** Another heading
`

Exporting the whole file does what it's supposed to do: export the
headlines as \section and \subsection.

Can any of you reproduce this?

Thanks,
Dan


-- 
--
Dan Griswold
Rochester, NY
--



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


[Orgmode] Re: LaTeX export bug

2009-07-29 Thread Bernt Hansen
Dan Griswold dgris...@rochester.rr.com writes:

 Note that the top level headings (A Heading and Another Heading) are
 not exported as \section, but with the asterisks they have in the org
 file:

 ,
 | ** A Heading
 | \begin{itemize}
 | 
 |   ... snip ...
 | 
 | \end{itemize}
 | ** Another heading
 `

 Exporting the whole file does what it's supposed to do: export the
 headlines as \section and \subsection.

 Can any of you reproduce this?

Hi Dan,

Yes I can reproduce this too.
Org-mode version 6.28trans
GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of
2008-11-09 on raven, modified by Debian

-Bernt


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


[Orgmode] Column mode a whole file

2009-07-29 Thread Ethan
Hi!

I've been playing with org-mode column view (org version 6.28trans, fresh
from git!) and working my way through the Org manual to try to understand
this tool and see what neat tricks I can pick up by using it. Today I have
been playing with column view.

Column view by default only shows a single subtree. In order to do column
mode over an entire buffer, you have to have text before the first headline,
and go there. It seems to me that the usefulness of showing a single subtree
is more limited than showing the whole buffer in column view. (This seems to
be confirmed by the fact that in Agenda mode, C-c C-x C-c brings up column
mode over the whole file.) But as far as I can tell, there's no way to force
a whole-buffer approach -- not by a special function, not by invoking with a
special argument, and as far as I can tell not by hacking up a simple
function (assuming there isn't text already before your first headline).

I guess what I'd like to know is: what am I missing? Do most users only do
column view over subtrees? Is column view really only used in agenda view?
Do all org users keep text at the top of their files to specify file
settings, and just use that? Is there a simple way to column-view a whole
file that I'm missing?

Thanks!

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


Re: [Orgmode] tea-time?

2009-07-29 Thread Bastien
Hi Nick,

Nick Dokos nicholas.do...@hp.com writes:

 If you like how your appointments are shown, you can use the appt display
 mechanism, by setting org-show-notification-handler to something like this:

 (defun my-org-show-notification-handler (notification)
   (funcall appt-disp-window-function 0 (current-time-string) notification))

 (setq org-show-notification-handler (function 
 my-org-show-notification-handler))

Nice -- could you post this on Worg?

I have very little time myself for this right now...

Thanks!

-- 
 Bastien


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


Re: [Orgmode] Re: Export to org?

2009-07-29 Thread Hsiu-Khuern Tang
* On Thu 12:41AM +, 30 Jul 2009, Bernt Hansen (be...@norang.ca) wrote:
 Hsiu-Khuern Tang hsiu-khuern.t...@hp.com writes:
 
  Hi,
 
  Is there an easy way to export an org file to another org file, stripping 
  away
  any subtrees that are tagged noexport or marked as comments?  The idea is 
  to
  discard anything that is also ignored by the other export formats, such as
  HTML.  I would find this a useful feature to have, for example, for
  distributing Org files to other people without showing subtrees that are 
  still
  works-in-progress.
 
 Hi,
 
 org-publish handles this now.  An entry like this:
 
  :publishing-function (org-publish-org-to-html 
 org-publish-org-to-org)
 
 in my org-publish-project-alist.
 
 This produces both a .html and a .org file from the original .org file.
 Any comments and subtrees marked with a noexport tag will not be
 included in the exported org file.
 
 More details on my complete setup is here:
 
 http://doc.norang.ca/org-mode.html#PublishingProjects
 
 HTH,
 Bernt

This is exactly what I was looking for.  I must have skipped the chapter on
publishing in the Org manual.  Thanks a lot for the pointers!

-- 
Best,
Hsiu-Khuern.


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


Re: [Orgmode] tea-time?

2009-07-29 Thread Bastien
Samuel Wales samolog...@gmail.com writes:

 It works now.  I pulled in the interim, but I don't know if that's the
 reason.  I tried it twice, so I don't think I missed the notification.

 However, the notification is in the minibuffer / echo area, and can
 easily be unnoticed if you are typing, as it goes away immediately.

 These are just brainstorm ideas, but appt pops up a window for a
 configurable number of seconds and raises the frame.

 The mode line can show the number of minutes overdue.

 type-break.el uses persistent minibuffer text and lets you control
 whether you continue to be reminded.

 Raising the frame is important, but beyond that I am not sure which is best.

 As for sound, I have disabled all emacs sound, but this would be the
 one thing that would be good to have it enabled for; not sure how to
 enable it just for this pupose.  Perhaps org could use let or flet at
 notification time if a variable is non-nil.

Thanks for these ideas.  

I'm busy the next following days, I will work back on this on sunday.

-- 
 Bastien


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