Re: [Orgmode] Re: Email from org?

2010-07-29 Thread David Maus
Ethan Ligon wrote:
Eric Schulte schulte.eric at gmail.com writes:

 See http://orgmode.org/worg/org-contrib/org-mime.php for information on
 exporting Org-mode documents to email, and on using Org-mode syntax to
 compose email.

Thanks for the suggestions regarding org-mime.  I can see that it
would be very useful for composing complicated email.  But I have what
I think is actually a much simpler problem: *sending* email from an
org-file.

I have in mind something like:

FIY: There was a longer debate about such a feature back in 2009.

http://thread.gmane.org/gmane.emacs.orgmode/19705/focus=19778

#+TYP_TODO: EMAIL SENT WAITING | DONE

* Broadcasting project
** EMAIL What is the optimal frequency?
   :PROPERTIES:
   :To:   kenn...@example.com
   :END:
   Dear Ken-

   Could you please let me know when you've made progress on computing
   the optimal frequency?

   Thanks,
   -Ethan

Then a transition in workflow state from EMAIL to WAITING would cause
(perhaps via org-mime) the construction of an email

  From: li...@are.berkeley.edu
  To: kenn...@example.com
  Subject: What is the optimal frequency?
  Date: Wed, 28 Jul 2010 13:36:14 -0700

  Dear Ken-

  Could you please let me know when you've made progress on computing
  the optimal frequency?

  Thanks,
  -Ethan

which would then be automagically fed into an SMTP client for
delivery.

IMO this would be overkill: Even if the SMTP dialog is done be an
external library, preparing a message for transmission through email
subsystem has a lot of bells and whistles and pits you can fall
into.

Critically, one would *not* need to interrupt one's work flow in
order to go mess around with a mail client; a simple \C-c\C-t or
similar would send the email on its way.

No threading in Emacs, so you would have to wait for the sending
process or figure out a reliable way for asynchronous sending.

Or very possibly there's an obvious way to accomplish a similar end
that hasn't occurred to me.  Maybe the act of composing an email in a
mail buffer could also format and re-file the message in an org-file,
leading to a workflow similar to what one gets with org-capture?

I think this is the path to follow.  The question is what we would
like to achieve.  If it is keeping track of sent and received
messages, than maybe we wouldn't need a copy of the message but just
references (i.e. links).[1]

Say: You compose and send a message and create an Org mode entry that
says so (Message with subject sent to recipients on).  If you receive
an answer you store a entry saying this (Reply to message X received
from Y on Z).

For this we need a way to maintain the relationship between Org mode
entries and messages so we can jump to messages from within Org and
jump to Org from within the MUA.

I've started to implement something like this for Org's issue tracking
library[2].

The tricky part is that such a mechanism depends on the MUAs
capabilities to interact with Emacs (e.g. WL, Gnus and VM are fine;
mutt might be hacked; Thunderbird? AppleMail?).

HTH,
  -- David

[1] Well, and if we have a reference we could dereference it; say:
Fetch a message and store it as attachment.  This might be as well
helpful for archiving.

[2] http://orgmode.org/worg/org-devel.php#sec-4
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


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


[Orgmode] Re: [BABEL] evaluation of R code in export

2010-07-29 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 28/07/10 15:53, Eric Schulte wrote:
 Rainer M Krug r.m.k...@gmail.com writes:
 
 Hi Eric,

 On 23/07/2010 19:45, Eric Schulte wrote:
 Hi Rainer,

 I general it is useful to have the results of Babel-evaluated code
 appear in the session history as it can help for debugging.

 Ok - agreed. The results are quite useful - but I would prefer the
 history of the commands in the R session which is accessible by C-up to
 not include the commands issued - but I can live with it as it is now.

 

Hi Eric

 Hi Rainer,
 
 I have found no good answer for sending commands to an inferior process
 w/o adding them to the history ring.  There is one possible way forward,
 the investigation of which is now on the task stack for babel
 development but probably won't happen in the near future.

ESS is doing it, when submitting and evaluating a line of R code - maybe
that could help? but as I said before, I don't know anything about
emacs-lisp, and less about how emacs and the modes work, so it might not
be applicable.

As I said - I can easily live with that.

Cheers,

Rainer


 
 Best -- Eric


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

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxRKocACgkQoYgNqgF2egoezwCfQ9Z9YXYV+zbEJZltK4P8mBnQ
9KYAn2dKyN20IzfgeNCqpzc0uyJc72sw
=Qyn2
-END 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


[Orgmode] Re: [BABEL] org-babel-post-tangle-hook problems

2010-07-29 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Eric


On 28/07/10 15:42, Eric Schulte wrote:
 Hi Rainer,
 
 Thanks for catching this, I've just pushed up a fix.

Pleasure, and thanks for fixing it - I upgraded to the newest git, and
it is working.

Cheers,

Rainer


 
 Best -- Eric
 
 Rainer M Krug r.m.k...@gmail.com writes:
 
 On 27/07/10 15:32, Rainer M Krug wrote:
 Hi Eric

 I relized the following problems today:

 After setting the org-babel-post-tangle-hook (e.g.
 (add-hook 'org-babel-post-tangle-hook
 (lambda () (message I'm in %s (buffer-file-name)) ))
 )

 the .org file closes, and the .R file is opened.
 If I tangle a second time, emacs tells me that the .R file has changed
 on disk, and if it should be re-read.
 I don't know what happened, but it would be nice to have the working
 behavior back.

 I haven't used org for a few days, so I don't know when it happened.


 One addition: it works with org-7.01g, but not any more with
 Org-mode version 7.01trans (release_7.01g.31.g95212)

 Example org file:

 #
 ** tangle R and load
   #:PROPERTIES:
   #:tangle:   to-load.r
   #:END:

 evaluate this
 #+begin_src emacs-lisp :results silent :tangle no
 (add-hook 'org-babel-post-tangle-hook
 (lambda () (ess-load-file (buffer-file-name
 #+end_src

 then tangle

 #+begin_src R :comments yes
 x - 8
 #+end_src
 t
 #+begin_src R
  y - 9
 #+end_src

 #+begin_src R :tangle file2.R
  y - 9
 #+end_src
 #

 Cheers,

 Rainer



 Cheers,

 Rainer



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

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxRK9sACgkQoYgNqgF2egr59ACfcT3Hr/OEzzJVhFTPQUS3FrxF
FuIAnj6zoMcqSqD58ZaN9dwne3lSJ9zn
=GmcB
-END 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: [Orgmode] Re: insert .org file into other .org file by link

2010-07-29 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Austin,


On 28/07/10 20:50, Austin Frank wrote:
 On Wed, Jul 28 2010, Rainer M Krug wrote:
 
 I have a .org file (lets call it basic.org), which creates me a report
 from a simulation (of a variable x, saved from R) - it works fine for
 export to html and pdf.

 Now I want to create a report (all.org), which should include the report
 from basic.org 10 times, but basic.report should be created from
 different simulations (X1, X2, X3, ..., X10).

 How can I acieve this, without having to copy - paste the .org file in
 10 times? I would like to have a kind of dynamic lining, so that I can

 a) specify the name of the variable to be analysed
 b) the all.org is using basic.org to create the all report, so that
 when I change basic.org, the report based on all.org is also changed.
 
 To start, you probably want to use the #+SETUPFILE and #+INCLUDE
 directives [fn:1] [fn:2].  An untested Babel-based dynamic solution

The #+INCLUDE is the one I was looking for. And when I use the same R
session for evaluation in the main org file and the included org file, I
don't need the :var - I just load the file to be reported on into a
variable name before I call #+INCLUDE, and then it should work.

Thanks,

Rainer


 might look something like
 
 --8---cut here---start-8---
 #+BEGIN_SRC perl :results value org :var $n=10 $file=basic.org
 # I've never actually used per with babel,
 # so don't know how the :var headers work exactly
 for (my $i = 0; $i  $n; $i++) {
   print #+INCLUDE:  $file\n;
 }
 #+END_SRC
 --8---cut here---end---8---
 
 Hope that helps!  Let me know what you come up with.
 
 /au
 
 Footnotes:
 
 [fn:1] [[info:org:Export%20options][Export options]]
 
 [fn:2] [[info:org:Include%20files][Include files]]
 
 
 
 
 ___
 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


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

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxRLW8ACgkQoYgNqgF2egqrwwCeLel5w/BFDknDWt7Fny+d0aqs
5qwAoIOfhY3fSt6LBUut8du+89Ox1aCU
=xp6M
-END 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: [Orgmode] Re: Fixing slowness of following Gnus links to IMAP articles

2010-07-29 Thread David Maus
Tassilo Horn wrote:
Nick Dokos nicholas.do...@hp.com writes:

Hi Nick,

 [Warning: I know very little about gnus, perhaps just enough
  to be dangerous and you probably already know all this, but just
  in case... The bit that caught my attention is the slowness of
  the uid search command on some versions of Courier, which seems...
  related.]

Yeah, just a minute ago when replying to David I also stumbled across
that paragraph.  So maybe we are trying to replace one extremely long
running command which only occurs when following links (or searching for
Message-Ids) with a constant slowness in normal operation.  But let's
try it out.

Finally I got a novcache:

,[ gnus.el ]
| ;;; Experimental Gnus setup
|
| (setq gnus-select-method '(nntp news.gmane.org))
| (setq gnus-secondary-select-methods
|   '((nnimap localhost
|   (nnimap-address localhost)
|   (nnimap-server-port 993)
|   (nnimap-stream ssl
|
| (setq nnimap-nov-is-evil nil)
| (setq gnus-cache-enter-articles '(ticked dormant unread read))
|
| (setq org-gnus-nnimap-query-article-no-from-file t)
`

Now the strange thing is that the novcache file in ~/News/overview is
100% identical to .overview in ~/News/agent

,
| dm...@t41 ~/News % md5sum overview/nnimap/localhost/INBOX/1280089306/novcache 
agent/nnimap/localhost/INBOX/.overview
| b4a78e25a064f0c260f76080a00991cd  
overview/nnimap/localhost/INBOX/1280089306/novcache
| b4a78e25a064f0c260f76080a00991cd  agent/nnimap/localhost/INBOX/.overview
| dm...@t41 ~/News %
`

Anyway: `nnimap-retrieve-headers-from-file' does not work as expected.
First, it requires the group parameter without backend and server
prefix (e.g. INBOX instead of nnimap+localhost:INBOX.

Second it would return a cons (min-UID . max-UID).  That wouldn't help
us, would it?

Third and amazingly my novcache seems to be corrupt right after
creation: `nnimap-retrieve-headers-from-file' does not get the maximum
UID but reads INBOX (?!) -- A string that looks kind of a header
information for nov -- and not 18753 what is the highest UID in the
mailbox.

Last line of the cache:
(it's a local copy of wanderlust general newsgroup accessed via IMAP)

,
| 18753 Re: checking imap folder unplugged  Yoichi NAKAYAMA 
yoi...@eken.phys.nagoya-u.ac.jp   Sun, 13 Oct 2002 10:19:13 +0900 
wyadljm8z2...@eken3.eken.phys.nagoya-u.ac.jp  
87ptvqcd9p...@eken.phys.nagoya-u.ac.jp442413  Xref: 
t41.ictsoc.de INBOX:18753 Newsgroups: gmane.mail.wanderlust.general.japanese
`

Best,
 -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


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


[Orgmode] agenda-ignore-date and version number

2010-07-29 Thread Jörg Hagmann

 Hi,

Two questions:

1. I want to exclude Tags with dates in the agenda and did set Org 
Agenda Todo Ignore With Date to on. Upon C-c a M mytag, todos with 
dates still do appear. (Yes, I saved the new setting). Did I 
misunderstand something?


2. Since 7.01, M-x org-version always reports Org-mode version 
7.01trans after a git pull | make clean | make | make install | make 
install-info sequence. How can I be sure that my installation really 
gets updated? And why do others report detailed version numbers (after 
trans), not just trans? Do they use a different command?


I reinstalled a new Emacs (Emacsformacosx, version 23.2) and made a new 
org-mode repository, but that didn't change anything.


Thanks for enlightenment, Jörg


___
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: [Orgmode] Emacs bindings for remember the milk (work in progress)

2010-07-29 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

any news on the implementation of two-way-sync with RTM?

Cheers,

Rainer


On 24/02/10 15:08, Friedrich Delgado Friedrichs wrote:
 Hi!
 
 Since someone just asked about remember the milk sync, I thought I
 could post my remember the milk bindings for emacs. This is still
 pretty much raw and it's far from usable for org-mode. The next step
 would be to devise a way to map org-mode todos onto remember the milk
 and come up with an algorithm for synchronisation (both ways).
 
 But I'd appreciate some feedback and/or hacks from you, so fire away
 :)
 
 Kind regards
  Friedel
 
 
 
 ___
 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


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

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxRNuAACgkQoYgNqgF2egrpVgCeKpKz6dvArJYTqjhUwjDrQXb5
0DEAnjmzmOtfYgjjRDR40Acb24SoAffY
=zqlC
-END 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


[Orgmode] Org-Babel and Ledger

2010-07-29 Thread Sébastien Vauban
Hello,

I'm trying to really begin working with Ledger for my personal accounting.
Of course, trying to do it with as much Org as possible...

Though, results of 3 small requests (whose results is snipped, for brievety)
is the following:

--8---cut here---start-8---
#+TITLE: Scorpios-Ledger
#+LANGUAGE:  en_US

* Balance

#+srcname: bal
#+begin_src sh
ledger -f scorpios-ledger.dat bal
#+end_src

#+results: bal
| -1117.47 | EUR | Assets:Bank |
|  1036.15 | EUR | Checking:FR04304429459  |
|  -631.62 | EUR | Savings:FR00307599427   |
|  -1522.0 | EUR | Transferred |
| -2036.52 | EUR | Expenses|
|20.25 | EUR | Bank:Charges|
|   175.09 | EUR | Insurance:House |
|  -2838.1 | EUR | Unknown |
|   606.24 | EUR | Utilities:Electricity   |
|  3153.99 | EUR | Liabilities:Loans:Cecaz |
|  | | |
| -0.0 | EUR | |

* Registry

#+srcname: reg
#+begin_src sh
ledger -f scorpios-ledger.dat reg unknown
#+end_src

#+results: reg
| 2009/08/21 | CHEQUE   | :   | 9953055  | Expenses:Unknown | 
166.7|  EUR | 166.7|  EUR |  | |
| 2009/09/17 | CHEQUE   | :   | 7691785  | Expenses:Unknown | 
100.0|  EUR | 266.7|  EUR |  | |
| 2009/10/16 | REMISE   | CHEQUE  | N| 86.. | 
Expenses:Unknown |   -525.0 | EUR  |   -258.3 | EUR  | |
| 2009/11/06 | CHEQUE   | :   | 7691786  | Expenses:Unknown | 
192.0|  EUR | -66.3|  EUR |  | |
| 2009/11/24 | CHEQUE   | :   | 7691787  | Expenses:Unknown | 
833.0|  EUR | 766.7|  EUR |  | |
| 2009/11/25 | REMISE   | CHEQUE  | N| 92.. | 
Expenses:Unknown |   -970.0 | EUR  |   -203.3 | EUR  | |
| 2009/12/31 | INTERETS | CAPITALISES | Expenses:Unknown | -8.48| 
EUR  |  -211.78 | EUR  |  |  | |
| 2010/01/05 | CHEQUE   | :   | 7691789  | Expenses:Unknown | 
733.0|  EUR | 521.22   |  EUR |  | |
| 2010/01/05 | REMISE   | CHEQUE  | N| 93.. | 
Expenses:Unknown |   -525.0 | EUR  |-3.78 | EUR  | |
| 2010/01/14 | REMISE   | CHEQUE  | N| 98.. | 
Expenses:Unknown |   -525.0 | EUR  |  -528.78 | EUR  | |
| 2010/01/16 | FRAIS| PRELEVEMENT | ..   | Expenses:Unknown | 
10.73|  EUR | -518.05  |  EUR |  | |

* Reporting monthly expenses

#+srcname: monthly-exp
#+begin_src sh
ledger -f scorpios-ledger.dat -M reg ^expenses
#+end_src

#+results: monthly-exp
| 2009/08/01 |0 | 2009/08/31 | Expenses:Bank:Charges | 3.05  | 
EUR | 3.05 | EUR |
| Expenses:Unknown   |166.7 | EUR|169.75 | EUR   |  
   |  | |
| 2009/09/01 |0 | 2009/09/30 | Expenses:Bank:Charges | 1.1   | 
EUR |   170.85 | EUR |
| Ex:Insurance:House | 15.9 | EUR|186.75 | EUR   |  
   |  | |
| Expenses:Unknown   |100.0 | EUR|286.75 | EUR   |  
   |  | |
| 2009/10/01 |0 | 2009/10/31 | Expenses:Bank:Charges | 5.85  | 
EUR |292.6 | EUR |
| Ex:Insurance:House | 15.9 | EUR| 308.5 | EUR   |  
   |  | |
| Expenses:Unknown   |   -525.0 | EUR|-216.5 | EUR   |  
   |  | |
| Ex:Ut:Electricity  |28.38 | EUR|   -188.12 | EUR   |  
   |  | |
| 2009/11/01 |0 | 2009/11/30 | Expenses:Bank:Charges | 1.1   | 
EUR |  -187.02 | EUR |
| Ex:Insurance:House | 15.9 | EUR|   -171.12 | EUR   |  
   |  | |
| Expenses:Unknown   | 55.0 | EUR|   -116.12 | EUR   |  
   |  | |
--8---cut here---end---8---

As you can see, the tables are completely wrongly made, because they're based
on spaces (à la Awk) and not on fixed position of fields (à la Cut).

What can I do about this?

- Post-process every ledger command with some awk or cut command that will do
  whatever is needed

- Exploit the CSV export format (never tried, don't have Ledger 3 installed
  yet -- and I'm also using hledger...)

- Other ideas?

Do you have suggestions about the best way to go?

Best regards,
  Seb

-- 
Sébastien Vauban


___
Emacs-orgmode mailing list

Re: [Orgmode] Migrating from zim to org-mode ?

2010-07-29 Thread Olivier Berger
Hi.

Le mercredi 28 juillet 2010 à 11:49 -0500, Marcelo de Moraes Serpa a
écrit :
 Beware that, out-of-the-box, org doesn't provide any wiki
 functionality. Sure you can link documents, but it doesn't
 automatically infer links from already existing documents / camelcased
 words. I don't think it would be hard for a seasoned elisp developer
 to come up with an extension, but little interested has been shown.

Thanks, I know that, but what I was looking for was also a way to import
existing Zim files into Org

Otherwise, the CamelCase linking would be quite convenient IMHO.

  I will eventually do it when my elisp skills reach the required level,
 though, for me it's the only thing missing.

That'd be cool ;)

 
 Marcelo.
 

Best regards,

 On Wed, Jul 28, 2010 at 1:00 AM, Olivier Berger
 olivier.ber...@it-sudparis.eu wrote:
  Hi.
 
  Is there docs already compiled by someone having migrated from Zim, a
  desktop wiki [0], to Emacs + org-mode ?
 
  Zim also uses text files, so I guess a few conversion scripts wouldn't
  be so hard, but of course if someone already tried it, it would save me
  time and effort.
 
  Some useability / convenience comparison betw Zim and Org-Mode would be
  interesting to me too.
 
  Thanks in advance.
 
  Best regards,
 
  [0] http://zim-wiki.org/
  --
  Olivier BERGER olivier.ber...@it-sudparis.eu
  http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
  Ingénieur Recherche - Dept INF
  Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)
 
 
  ___
  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
 

-- 
Olivier BERGER olivier.ber...@it-sudparis.eu
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingénieur Recherche - Dept INF
Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)


___
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: [Orgmode] Wiki-like creating links on the fly for org

2010-07-29 Thread Olivier Berger
Hi.

Le mercredi 28 juillet 2010 à 11:47 -0500, Marcelo de Moraes Serpa a
écrit :
 Would it be hard to create an extension (not sure where, elisp skills
 still very limited) that highlights camel-cased words and, when
 clicking on it, would create or open a file with the name of the word
 + .org?
 

This kind of features was extremely useful in Zim, to ease my efforts to
the construction of hyperlinked reference docs.

I'd love to see this possibility in Org-Mode.

My 2 cents,

 For dynamic reference data (data you want to keep, and that you want
 to keep editing and improving over time) the concept of a wiki (even
 if its collaboration aspect is not being used) is perfect, in my
 opinion. If you try wikidpad, you'll see how organic and pragmatic it
 is, allowing you to just input new data and constructing an overview
 tree dynamically. Pretty cool.
 
 Whenever I have time, I will check the algorithm WikiDPad uses to
 create the visualization tree (which is also one of its greates
 features, in my opinion).
 
 Cheers,
 
 Marcelo.
 
 On Mon, Jul 12, 2010 at 4:36 PM, Russell Adams
 rlad...@adamsinfoserv.com wrote:
  Actually, the idea of CamelCase linking to a headline in the same file
  is an interesting idea, using RadioTarges for external links.
 
  ** MyTopic
 
  ** Another topic
 
  Those people who like MyTopic are totally cool.
 
  Naysayers live in file:~/doc/Woopie.org:NaySayers
 
 
 
  On Mon, Jul 12, 2010 at 01:09:00PM -0500, Marcelo de Moraes Serpa wrote:
  This doesn't seem to apply to what I want. It only links to org items
  inside the org file.
 
  Thanks for the hint, though!
 
  On Mon, Jul 12, 2010 at 12:57 PM, Erik Iverson er...@ccbr.umn.edu wrote:
   Perhaps I am confused, but have you tried radio targets?
  
   http://orgmode.org/org.html#Radio-targets
  
  
   Marcelo de Moraes Serpa wrote:
  
   Hey all!
  
   I used to be an avid user of WikiDPad, and I loved the way it
   automatically (or manually, using [ ]) created links and files to
   these links (CamelCase) for me. The way it provided a visual tree of
   the wiki was also pretty cool.
  
   This was awesome for reference kind of data, to build your own
   knowledge base. I've been trying to test different approaches with
   org, but none of them work as smoothly as it worked for me when using
   wikidpad.
  
   I divide reference data in two main categories: Dynamic and Static.
   Static are the notes and stuff that youl want to keep somewhere and
   that you'll eventually refer to later. Dynamic are the kind of that
   you'll be editing often, but does not fit in any other category
   GTD-wise. It is reference, you want to keep it somewhere, not take
   action on it per se (other than editing it), but you want to expand
   and modify it often.
  
   How difficult would it be to implement a small system that would index
   the files of directory, get the names (camel-case) and automatically
   link to these names if written on an org buffer? My elisp skills are
   very weak as of now.
  
   I know some of you might list a number of points against implementing
   this, but I really loved the way Wikdpad created links on the fly.
  
   Thanks,
  
   Marcelo
  
   ___
   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
 
 
 
  --
  Russell Adamsrlad...@adamsinfoserv.com
 
  PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/
 
  Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3
 
  ___
  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

-- 
Olivier BERGER olivier.ber...@it-sudparis.eu
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingénieur Recherche - Dept INF
Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)


___
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


[Orgmode] Re: agenda-ignore-date and version number

2010-07-29 Thread Bernt Hansen
Jörg Hagmann joerg.hagm...@unibas.ch writes:

 2. Since 7.01, M-x org-version always reports Org-mode version
 7.01trans after a git pull | make clean | make | make install | make
 install-info sequence. How can I be sure that my installation really
 gets updated? And why do others report detailed version numbers (after
 trans), not just trans? Do they use a different command?

It is the same M-x org-version command.  If you are running org-mode
from a git repository and git is available in your path then the M-x
org-version command will report the current commit you are at as part of
the version information.

Org-mode version 7.01trans (release_7.01g.37.g3ee6)

The 7.01trans is the version number in the emacs lisp source files.  The
'trans' part indicates it is the development branch sometime after the
latest 7.01 release.  The git describe output (release_7.01g.37.g3ee6)
just gives precise details of exactly where you are in the repository.

The reported git release version is always the commit you have currently
checked out.  If you are running older compiled sources then it will
report incorrect information -- you're really running the older compiled
version even though your current checkout is something else.  You can
reload your version with M-x org-reload and C-u M-x org-reload (to run
from source files, not compiled versions if they exist)

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


[Orgmode] [PATCH] Add support for multile html container classes.

2010-07-29 Thread David Maus
* org-html.el (org-html-level-start): Add multiple container
classes.

* org-exp.el (org-export-remember-html-container-classes):
Parse multiple container classes.
---
 lisp/org-exp.el  |7 ---
 lisp/org-html.el |   11 ---
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index f1cea62..d3da4da 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -1311,11 +1311,12 @@ the current file.
   (goto-char (point-min))
   (let (class)
 (while (re-search-forward
-   ^[ \t]*:HTML_CONTAINER_CLASS:[ \t]+\\(\\S-+\\) nil t)
-  (setq class (match-string 1))
+   ^[ \t]*:HTML_CONTAINER_CLASS:[ \t]+\\(.+\\)$ nil t)
+  (setq class (org-split-string (match-string 1) [ \t]+))
   (save-excursion
(org-back-to-heading t)
-   (put-text-property (point-at-bol) (point-at-eol) 'html-container-class 
class)
+   (put-text-property
+(point-at-bol) (point-at-eol) 'html-container-class class)
 
 (defvar org-export-format-drawer-function nil
   Function to be called to format the contents of a drawer.
diff --git a/lisp/org-html.el b/lisp/org-html.el
index d972c58..28dd633 100644
--- a/lisp/org-html.el
+++ b/lisp/org-html.el
@@ -2177,9 +2177,12 @@ When TITLE is nil, just close all open levels.
   (let* ((target (and title (org-get-text-property-any 0 'target title)))
 (extra-targets (and target
 (assoc target org-export-target-aliases)))
-(extra-class (and title (org-get-text-property-any 0 
'html-container-class title)))
+(extra-class
+ (and title
+  (org-get-text-property-any 0 'html-container-class title)))
 (preferred (and target
-(cdr (assoc target 
org-export-preferred-target-alist
+(cdr
+ (assoc target org-export-preferred-target-alist
 (remove (or preferred target))
 (l org-level-max)
 snumber snu href suffix)
@@ -2244,7 +2247,9 @@ When TITLE is nil, just close all open levels.
(setq suffix (or href snu))
(setq href (or href (concat sec- snu)))
(insert (format \ndiv id=\outline-container-%s\ 
class=\outline-%d%s\\nh%d id=\%s\%s%s/h%d\ndiv 
class=\outline-text-%d\ id=\text-%s\\n
-   suffix level (if extra-class (concat   extra-class) 
)
+   suffix level (if extra-class
+(concat  
+ (mapconcat 'identity extra-class  
)))
level href
extra-targets
title level level suffix))
-- 
1.7.1


___
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: [Orgmode] Migrating from zim to org-mode ?

2010-07-29 Thread Giovanni Ridolfi
Marcelo de Moraes Serpa celose...@gmail.com writes:

 [Org-mode] doesn't
 automatically infer links from already existing documents / camelcased
 words. 

The issue has been discussed in December 2009:

http://lists.gnu.org/archive/html/emacs-orgmode/2009-12/msg00573.html

and also one year ago
http://lists.gnu.org/archive/html/emacs-orgmode/2009-06/msg00350.html

good luck with the implementation,
Giovanni

___
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: [Orgmode] Help installing org-mode on a MAC please?

2010-07-29 Thread Erwin Panen

Hi Stefan,

Thanks a lot for your help, much appreciated.
I've done some more searching and decided to delay using Aquamacs for now.
My reasoning is that I at least want to try to remain as compatible as 
possible, i.e. linux, win XP and OS X.
Being fairly new to OS X, I already suffer from differences in keyb 
shortcuts and such.


For instance square brackets put me through a lot of trouble.
I found (on azerty laptop kb) I can get square brackets in OS X using 
option + shift + ( and option + shift + )

However this will not work with Emacs

Are there any specific differences in keyboard shortcuts for Aquamacs 
compared to standard emacs the way we find it on Windows and Linux?


Thanks a lot,

Erwin

On 12/07/2010 23:02, Stefan Vollmar wrote:

Dear Erwin,

On 11.07.2010, at 17:43, Erwin Panen wrote:

   

This is perhaps a trivial question, so please bear with me.

I recently switched over to Mac, so I'm not familiar yet with all inside-out 
Mac. At first I installed Aquamacs, but to be more compatible I'd prefer to 
keep up with org-mode using git.

I managed to install homebrew, next git, and was able to use git to get a clone 
of org-mode so that's allright.
(using git clone git://repo.or.cz/org-mode.git)
Next I tried to follow the FAQ: How do I keep current with Org mode 
development? 
(http://orgmode.org/worg/org-faq.php#keeping-current-with-Org-mode-development)

When I do: $ cd org-mode  make  make doc  make install
everything seems to go allright, but I get an error in the end complaining 
about LateX not being installed.
So I installed MacTEX and tried running the above once more, with the same 
error.
 



Here is a small recipe for using the latest Org-mode development version with 
Aquamacs which works fine for me.

(1) Do a

git clone git://repo.or.cz/org-mode.git

in some directory of your choide, e.g. your home directory. (I believe, you 
have already done that.)

(2) cd to the new org-mode directory. Assuming you have installed Aquamacs in 
/Applications (default), change line 14 to:

EMACS=/Applications/Aquamacs.app/Contents/MacOS/Aquamacs

(3) make lisp/org-install.el
(4) make compile

(5) (optional and requires MacTeX or similar)
make doc/org.pdf

(6) Insert these lines in your .emacs file:

(setq load-path (cons ~/org-mode/lisp load-path))
(require 'org-install)

this assumes that (1) created an org-mode directory in your home directory.

(7) Restart Aquamacs (you can later find out about more subtle methods than 
restarting Emacs which does not take long these days)

Warm regards,
  Stefan
   


___
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: [Orgmode] Help installing org-mode on a MAC please?

2010-07-29 Thread Erwin Panen

Hi Juan,

Thanks a lot for your information and help!
I've edited my makefile according to your example, and everything ran 
without any error, so thanks a lot for that.


I must admit being  somehow confused with all my previous trials 
dispersed over the past couple of months

I know I've also installed fink, and I also have emacs under fink somewhere.
Next to that I also had Aquamacs, and Emcsformacosx.

In the mean time I decided to stick with Emacsformacosx for the time 
being, the reason being that I want to have as much standard behaviour 
as possible.


I'm also looking into setting up org-mode with MobileOrg. I use DropBox 
for cloud storage.


Now I copied over my .emacs config file from my winXP box to my Mac. Of 
course this is a lot different if only for the path and pathstructure.

Now I seem to find e.g. that emacsformacosx is incomplete (if I'm correct).
I don't find any bbdb nor the typical lisp folder
(GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29 of 
2010-05-09 on black.local)


I also suffer from keyboard shortcut difficulties. (I'm on azerty / 
laptop keyb)
I'm totally unable to get square brackets on my Mac. I can type them in 
other applications, but not in Emacs.

Do you know of a way around this?

Thanks for helping out,

Erwin


On 12/07/2010 16:30, Juan wrote:

Hi Erwin,

I'm using Mac also (not Aquamacs emacs, but EmacsForMacOSX instead).

XEmacs is a completely different branch of Emacs, which I don't think
is available for OSX.

Then there is the text-mode emacs you run from the terminal.

And then there is the emacs you installed (Aquamacs), which runs on
its own graphics window (outside Terminal.app).

So don't confuse those 3 emacs versions.

You only need to install LaTeX if you want to build the documentation
(make doc). This is not strictly necessary.

Also, I have to modify the Makefile from org-mode to fit my emacs
installation. Aquamacs emacs should be similar, just check the exact
location of the Emacs application and change accordingly.

This is how my org-mode Makefile looks:

8
##--
##  YOU MUST EDIT THE FOLLOWING LINES
##--

# Name of your emacs binary
EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs

# Where local software is found
prefix=/Applications/Emacs.app

# Where local lisp files go.
lispdir = $(prefix)/Contents/Resources/lisp/org

# Where info files go.
infodir = $(prefix)/Contents/Resources/info
8

The rest of the Makefile you leave as is.

Hope this helps.

Regards,
.j.

On Sun, Jul 11, 2010 at 05:43:26PM +0200, Erwin Panen wrote:
   

I recently switched over to Mac, so I'm not familiar yet with all
inside-out Mac. At first I installed Aquamacs, but to be more
compatible I'd prefer to keep up with org-mode using git.

I managed to install homebrew, next git, and was able to use git to
get a clone of org-mode so that's allright.
(using git clone git://repo.or.cz/org-mode.git)
Next I tried to follow the FAQ: How do I keep current with Org mode
development? 
(http://orgmode.org/worg/org-faq.php#keeping-current-with-Org-mode-development)

When I do: $ cd org-mode  make  make doc  make install
everything seems to go allright, but I get an error in the end
complaining about LateX not being installed.
So I installed MacTEX and tried running the above once more, with
the same error.

When I open up a terminal window and issue emacs, it opens up emacs
allright, but I find no xemacs? Is this not included with
org-mode.git?
 


___
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: [Orgmode] Re: keys and command name info

2010-07-29 Thread Andreas Röhler

Am 29.07.2010 08:45, schrieb Tassilo Horn:

Andreas Röhlerandreas.roeh...@easy-emacs.de  writes:

Hi Andreas,


what about delivering mnemonic command names alongside with its keys
in org-info?


That would be good practice, and I think it's more or less standard for
emacs packages.  For example, that is from Gnus:

,[ (info (gnus)Summary Post Commands) ]
| `S p'
| `a'
|  Prepare for posting an article (`gnus-summary-post-news').  By
|  default, post to the current group.  If given a prefix, disable
|  that.  If the prefix is 1, prompt for another group instead.
|
| `S f'
| `f'
|  Post a followup to the current article (`gnus-summary-followup').
`


8.1. Agenda files

[ ... ]
`C-c ['
  Add current file to the list of agenda files.  The file is added to
  the front of the list.  If it was already in the list, it is moved
  to the front.  With prefix arg, file is added/moved to the end.

might be provided as

8.1. Agenda files

[ ... ]
`C-c [', org-agenda-file-to-front
  Add current file to the list of agenda files.  The file is added to
  the front of the list.  If it was already in the list, it is moved
  to the front.  With prefix arg, file is added/moved to the end.


I'd write it in parens with the usual function markup at the end of the
first sentence, just like it's done in Gnus.  The 2 Gnus entries above
have this definition:

--8---cut here---start-8---
@table @kbd
@item S p
@itemx a
@kindex a (Summary)
@kindex S p (Summary)
@findex gnus-summary-post-news
@c @icon{gnus-summary-post-news}
Prepare for posting an article (@code{gnus-summary-post-news}).  By
default, post to the current group.  If given a prefix, disable that.
If the prefix is 1, prompt for another group instead.

@item S f
@itemx f
@kindex f (Summary)
@kindex S f (Summary)
@findex gnus-summary-followup
@c @icon{gnus-summary-followup}
Post a followup to the current article (@code{gnus-summary-followup}).
--8---cut here---end---8---

So basically, you only have to add the command name with @code{} at the
appropriate place and add an index item to the function index with
@findex{}.


IMHO it's useful for emacs-beginners, but for hackers too, as
remembering function names may precede remembering keys - which are to
change individually anyway.


Exactly, and using `C-h f' you can easily switch to *Help* to lookup the
exact docstring and signature.  And from *Help*, the function definition
is only one click away.


Should you be interested, I'll consider to take action with
texi-files.


I'd welcome such an enhancement to the docs, and I'm pretty sure nobody
will object. :-)

Bye,
Tassilo



Fine.

Attached a patch against latest org-texi, starting that kind of work.

Please not I signed the FSF-disclaimer but not the paper transferring 
copyright under US-law.


Andreas


diff --git a/doc/org.texi b/doc/org.texi
index 38fd4b9..1928419 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -928,7 +928,7 @@ tables, @kbd...@key{tab}} jumps to the previous field.
 @item C-u C-u C-u @key{TAB}
 Show all, including drawers.
 @kindex C-c C-r
-...@item C-c C-r
+...@item C-c C-r, (@code{org-reveal})
 Reveal context around point, showing the current entry, the following heading
 and the hierarchy above.  Useful for working near a location that has been
 exposed by a sparse tree command (@pxref{Sparse trees}) or an agenda command
@@ -936,10 +936,10 @@ exposed by a sparse tree command (@pxref{Sparse trees}) or an agenda command
 level, all sibling headings.  With double prefix arg, also show the entire
 subtree of the parent.
 @kindex C-c C-k
-...@item C-c C-k
+...@item C-c C-k, (@code{org-kill-note-or-show-branches})
 Expose all the headings of the subtree, CONTENT view for just one subtree.
 @kindex C-c C-x b
-...@item C-c C-x b
+...@item C-c C-x b, (@code{org-tree-to-indirect-buffer})
 Show the current subtree in an indirect buf...@footnote{the indirect
 buffer
 @ifinfo
@@ -1004,16 +1004,16 @@ Next heading.
 @item C-c C-p
 Previous heading.
 @kindex C-c C-f
-...@item C-c C-f
+...@item C-c C-f, (@code{org-forward-same-level})
 Next heading same level.
 @kindex C-c C-b
-...@item C-c C-b
+...@item C-c C-b, (@code{org-backward-same-level})
 Previous heading same level.
 @kindex C-c C-u
 @item C-c C-u
 Backward to higher level heading.
 @kindex C-c C-j
-...@item C-c C-j
+...@item C-c C-j, (@code{org-goto})
 Jump to a different place without changing the current outline
 visibility.  Shows the document structure in a temporary buffer, where
 you can use the following keys to find your destination:
@@ -1106,15 +1106,15 @@ level).
 @item m...@key{down}
 Move subtree down (swap with next subtree of same level).
 @kindex C-c C-x C-w
-...@item C-c C-x C-w
+...@item C-c C-x C-w, (@code{org-cut-special})
 Kill subtree, i.e. remove it from buffer but save in kill ring.
 With a numeric prefix argument N, kill N sequential subtrees.
 @kindex C-c C-x M-w

Re: [Orgmode] Help installing org-mode on a MAC please?

2010-07-29 Thread Juan
On Thu, Jul 29, 2010 at 03:37:29PM +0200, Erwin Panen wrote:
 Now I copied over my .emacs config file from my winXP box to my Mac.
 Of course this is a lot different if only for the path and
 pathstructure.

In order to have the same .emacs both in mac  linux, I use the
following contitionals in several places in my .emacs:

8

  MAC ONLY MAC ONLY --
(when (eq system-type 'darwin)
  (set-exec-path-from-shell-PATH)
  (add-to-list 'exec-path /Users/jips/bin )

  ;; MAC ONLY: locate - mdfind (spotlight)
  (setq locate-command mdfind)

  ;; command-` to switch frames
  (global-set-key [?\M-`] 'other-frame) ;  # This sets the key binding

  (setq mac-option-key-is-meta nil)
  (setq mac-command-key-is-meta t)
  (setq mac-command-modifier 'meta)
  (setq mac-option-modifier nil)

  ;; JABBER
  (add-to-list 'load-path ~/.emacs_stuff/emacs-jabber-0.8.0)
  (require 'jabber-autoloads)
)

8

You may find appropriate tests for your winXP, etc.

 Now I seem to find e.g. that emacsformacosx is incomplete (if I'm correct).
 I don't find any bbdb nor the typical lisp folder
 (GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29 of
 2010-05-09 on black.local)

Maybe the above (setq mac... statements help with getting the correct
behaviour for Command and Option(Alt).

 I also suffer from keyboard shortcut difficulties. (I'm on azerty /
 laptop keyb)

Ugh! Fortunately I live 11000km away from AZERTY keyboards.

I use both english and spanish keyboard layouts. The Alt key works OK
for special keys (accents, etc.).

 I'm totally unable to get square brackets on my Mac. I can type them
 in other applications, but not in Emacs.
 Do you know of a way around this?

A +
.j.

___
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: [Orgmode] Help installing org-mode on a MAC please?

2010-07-29 Thread Erwin Panen

Juan, wow, that was fast :-)

How do you get your lisp folder with all the typical .el files on your Mac?
I can't seem to find bbdb..
Do you install each and every manually?

Muchas gracias :-)

Erwin

On 29/07/2010 16:04, Juan wrote:

On Thu, Jul 29, 2010 at 03:37:29PM +0200, Erwin Panen wrote:
   

Now I copied over my .emacs config file from my winXP box to my Mac.
Of course this is a lot different if only for the path and
pathstructure.
 

In order to have the same .emacs both in mac  linux, I use the
following contitionals in several places in my .emacs:

8

  MAC ONLY MAC ONLY --
(when (eq system-type 'darwin)
   (set-exec-path-from-shell-PATH)
   (add-to-list 'exec-path /Users/jips/bin )

   ;; MAC ONLY: locate -  mdfind (spotlight)
   (setq locate-command mdfind)

   ;; command-` to switch frames
   (global-set-key [?\M-`] 'other-frame) ;  # This sets the key binding

   (setq mac-option-key-is-meta nil)
   (setq mac-command-key-is-meta t)
   (setq mac-command-modifier 'meta)
   (setq mac-option-modifier nil)

   ;; JABBER
   (add-to-list 'load-path ~/.emacs_stuff/emacs-jabber-0.8.0)
   (require 'jabber-autoloads)
)

8

You may find appropriate tests for your winXP, etc.

   

Now I seem to find e.g. that emacsformacosx is incomplete (if I'm correct).
I don't find any bbdb nor the typical lisp folder
(GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29 of
2010-05-09 on black.local)
 

Maybe the above (setq mac... statements help with getting the correct
behaviour for Command and Option(Alt).

   

I also suffer from keyboard shortcut difficulties. (I'm on azerty /
laptop keyb)
 

Ugh! Fortunately I live 11000km away from AZERTY keyboards.

I use both english and spanish keyboard layouts. The Alt key works OK
for special keys (accents, etc.).

   

I'm totally unable to get square brackets on my Mac. I can type them
in other applications, but not in Emacs.
Do you know of a way around this?
 

A +
.j.
   


___
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


[Orgmode] More problems with Mobile Org agenda writing

2010-07-29 Thread Robert Goldman
I posted an email yesterday about a problem I was having writing agendas
for MobileOrg, where org-mode seemed to think it should be writing my
agendas as postscript.

I thought perhaps this was a problem with the old version of Aquamacs
that I have been using, so I finally got myself to upgrade to Aquamacs
2.0 (Emacs 23.2).

Now I get a /different/ error, but it's still an error where org-mode
seems to believe the agenda should be written as postscript.  I can't
see why this should be happening.  Here's the backtrace:

Debugger entered--Lisp error: (error Autoloading failed to define
function ps-mule-begin-page)
  (ps-mule-begin-page)
  ps-begin-page()
  (progn (set-buffer ps-spool-buffer) (set-buffer-multibyte nil) (setq
safe-marker (make-marker)) (set-marker safe-marker (point-max))
(goto-char (point-min)) (or (looking-at ...) (setq needs-begin-file t))
(set-buffer ps-source-buffer) (save-excursion (let ... ... ... ... ...))
(ps-begin-page) (funcall genfunc from to) (ps-end-page) (ps-end-job
needs-begin-file) (setq completed-safely t))
  (unwind-protect (progn (set-buffer ps-spool-buffer)
(set-buffer-multibyte nil) (setq safe-marker ...) (set-marker
safe-marker ...) (goto-char ...) (or ... ...) (set-buffer
ps-source-buffer) (save-excursion ...) (ps-begin-page) (funcall genfunc
from to) (ps-end-page) (ps-end-job needs-begin-file) (setq
completed-safely t)) (and (markerp safe-marker) (not completed-safely)
(progn ... ...)))
  (let (safe-marker completed-safely needs-begin-file) (unwind-protect
(progn ... ... ... ... ... ... ... ... ... ... ... ... ...) (and ... ...
...)))
  (save-restriction (narrow-to-region from to) (and ps-razzle-dazzle
(message Formatting...%3d%% ...)) (setq ps-source-buffer buffer
ps-spool-buffer (get-buffer-create ps-spool-buffer-name))
(ps-init-output-queue) (let (safe-marker completed-safely
needs-begin-file) (unwind-protect ... ...)) (and ps-razzle-dazzle
(message Formatting...done)))
  (let ((from ...) (to ...) (inhibit-read-only t)) (save-restriction
(narrow-to-region from to) (and ps-razzle-dazzle ...) (setq
ps-source-buffer buffer ps-spool-buffer ...) (ps-init-output-queue) (let
... ...) (and ps-razzle-dazzle ...)))
  (save-excursion (let (... ... ...) (save-restriction ... ... ... ...
... ...)))
  ps-generate(#buffer *SUMO* 1 15300 ps-generate-postscript-with-faces)
  ps-spool-with-faces(1 15300 nil)
  ps-print-with-faces(1 15300 /Volumes/rpgoldman/org/agendas.org)
  ps-print-buffer-with-faces(/Volumes/rpgoldman/org/agendas.org)
  org-write-agenda(/Volumes/rpgoldman/org/agendas.org nil t)
  (let ((org-agenda-compact-blocks nil)) (org-write-agenda
/Volumes/rpgoldman/org/agendas.org nil t))
  eval((let ((org-agenda-compact-blocks nil)) (org-write-agenda
/Volumes/rpgoldman/org/agendas.org nil t)))
  byte-code(\205z

As far as I can tell, org-mode should only do this if it finds \.ps or
\.pdf in the filename, but that clearly isn't the case for agendas.org.

Any suggestions?

thanks!

r

___
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: [Orgmode] Re: keys and command name info

2010-07-29 Thread Andreas Röhler

attached another patch replacing the former, due to a bug at texi


diff --git a/doc/org.texi b/doc/org.texi
index 38fd4b9..20425a2 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -929,6 +929,7 @@ tables, @kbd...@key{tab}} jumps to the previous field.
 Show all, including drawers.
 @kindex C-c C-r
 @item C-c C-r
+(@code{org-reveal})
 Reveal context around point, showing the current entry, the following heading
 and the hierarchy above.  Useful for working near a location that has been
 exposed by a sparse tree command (@pxref{Sparse trees}) or an agenda command
@@ -937,9 +938,11 @@ level, all sibling headings.  With double prefix arg, also show the entire
 subtree of the parent.
 @kindex C-c C-k
 @item C-c C-k
+(@code{org-kill-note-or-show-branches})
 Expose all the headings of the subtree, CONTENT view for just one subtree.
 @kindex C-c C-x b
 @item C-c C-x b
+(@code{org-tree-to-indirect-buffer})
 Show the current subtree in an indirect buf...@footnote{the indirect
 buffer
 @ifinfo
@@ -1005,15 +1008,18 @@ Next heading.
 Previous heading.
 @kindex C-c C-f
 @item C-c C-f
+(@code{org-forward-same-level})
 Next heading same level.
 @kindex C-c C-b
 @item C-c C-b
+(@code{org-backward-same-level})
 Previous heading same level.
 @kindex C-c C-u
 @item C-c C-u
 Backward to higher level heading.
 @kindex C-c C-j
 @item C-c C-j
+(@code{org-goto})
 Jump to a different place without changing the current outline
 visibility.  Shows the document structure in a temporary buffer, where
 you can use the following keys to find your destination:
@@ -1107,14 +1113,17 @@ level).
 Move subtree down (swap with next subtree of same level).
 @kindex C-c C-x C-w
 @item C-c C-x C-w
+(@code{org-cut-special})
 Kill subtree, i.e. remove it from buffer but save in kill ring.
 With a numeric prefix argument N, kill N sequential subtrees.
 @kindex C-c C-x M-w
 @item C-c C-x M-w
+(@code{org-copy-special})
 Copy subtree to kill ring.  With a numeric prefix argument N, copy the N
 sequential subtrees.
 @kindex C-c C-x C-y
 @item C-c C-x C-y
+(@code{org-paste-special})
 Yank subtree from kill ring.  This does modify the level of the subtree to
 make sure the tree fits in nicely at the yank position.  The yank level can
 also be specified with a numeric prefix argument, or by yanking after a
@@ -1135,6 +1144,7 @@ yank, it will yank previous kill items plainly, without adjustment and
 folding.
 @kindex C-c C-x c
 @item C-c C-x c
+(@code{org-clone-subtree-with-time-shift})
 Clone a subtree by making a number of sibling copies of it.  You will be
 prompted for the number of copies to make, and you can also specify if any
 timestamps in the entry should be shifted.  This can be useful, for example,
@@ -1143,9 +1153,11 @@ more details, see the docstring of the command
 @code{org-clone-subtree-with-time-shift}.
 @kindex C-c C-w
 @item C-c C-w
+(@code{org-refile})
 Refile entry or region to a different location.  @xref{Refiling notes}.
 @kindex C-c ^
 @item C-c ^
+(@code{org-sort})
 Sort same-level entries.  When there is an active region, all entries in the
 region will be sorted.  Otherwise the children of the current headline are
 sorted.  The command prompts for the sorting method, which can be
@@ -1164,6 +1176,7 @@ Narrow buffer to current subtree.
 Widen buffer to remove narrowing.
 @kindex C-c *
 @item C-c *
+(@code{org-ctrl-c-star})
 Turn a normal line or plain list item into a headline (so that it becomes a
 subheading at its location).  Also turn a headline into a normal line by
 removing the stars.  If there is an active region, turn all lines in the
@@ -1210,6 +1223,7 @@ commands can be accessed through a dispatcher:
 @table @kbd
 @kindex C-c /
 @item C-c /
+(@code{org-sparse-tree})
 This prompts for an extra key to select a sparse-tree creating command.
 @kindex C-c / r
 @item C-c / r
@@ -1402,12 +1416,14 @@ would imply a different hierarchy.  To use the new hierarchy, break
 the command chain with a cursor motion or so.
 @kindex C-c C-c
 @item C-c C-c
+(@code{org-ctrl-c-ctrl-c})
 If there is a checkbox (@pxref{Checkboxes}) in the item line, toggle the
 state of the checkbox.  If not, this command makes sure that all the
 items on this list level use the same bullet.  Furthermore, if this is
 an ordered list, make sure the numbering is OK.
 @kindex C-c -
 @item C-c -
+(@code{org-ctrl-c-minus})
 Cycle the entire list level through the different itemize/enumerate bullets
 (@samp{-}, @samp{+}, @samp{*}, @samp{1.}, @samp{1)}).  With a numeric prefix
 argument N, select the Nth bullet from this list.  If there is an active
@@ -1417,6 +1433,7 @@ list.  Finally, even without an active region, a normal line will be
 converted into a list item.
 @kindex C-c *
 @item C-c *
+(@code{org-ctrl-c-star})
 Turn a plain list item into a headline (so that it becomes a subheading at
 its location). @xref{Structure editing}, for a detailed explanation.
 @kindex s...@key{left}
@@ -1428,6 +1445,7 @@ anywhere in an item line, details depending on
 

[OT] Re: [Orgmode] Emacs bindings for remember the milk (work in progress)

2010-07-29 Thread Xiao-Yong Jin
Hi, this is OT.  But where can I find your public key?  I
cannot find it on the servers I know of.
-- 
Jc/*__o/*
X\ * (__
Y*/\  

___
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


[Orgmode] Re: Org-Babel and Ledger

2010-07-29 Thread Eric Abrahamsen
On Thu, Jul 29 2010, Sébastien Vauban wrote:


[...]


 As you can see, the tables are completely wrongly made, because they're based
 on spaces (à la Awk) and not on fixed position of fields (à la Cut).

 What can I do about this?

 - Post-process every ledger command with some awk or cut command that will do
   whatever is needed

 - Exploit the CSV export format (never tried, don't have Ledger 3 installed
   yet -- and I'm also using hledger...)

 - Other ideas?

 Couldn't you use ledger's format strings for fine-tuned control of
 the command output? I don't know how you're snarfing the output, but it
 seems like you could using formatting to produce something that already
 looks very much like an org table, or perhaps CSV.

Eric


 Do you have suggestions about the best way to go?

 Best regards,
   Seb


___
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


[Orgmode] [OT] minimalist visual appearance for Emacs

2010-07-29 Thread Dan Davison
I've put together a simple package to provide a minimalist visual
appearance for Emacs. Screenshot and info:

http://dandavison.github.com/minimal/

In addition to getting rid of the usual suspects (scroll bars, menu
bars, tool bars), this also replaces the mode line with a thin coloured
separator line. Toggle the minor mode when you need this stuff.

This isn't strictly org-related. However I've added the screenshot to a
new Org as a research environment section of the screenshots page on
Worg. It would be good to have some other babel-related screenshots
there.

Dan

Footnotes:

[1] The code is at http://github.com/dandavison/minimal

___
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


[Orgmode] Re: Fixing slowness of following Gnus links to IMAP articles

2010-07-29 Thread Tassilo Horn
David Maus dm...@ictsoc.de writes:

Hi David,

 Finally I got a novcache:

Congratulations! ;-)

 ,[ gnus.el ]
 | ;;; Experimental Gnus setup
 |
 | (setq gnus-select-method '(nntp news.gmane.org))
 | (setq gnus-secondary-select-methods
 |   '((nnimap localhost
 | (nnimap-address localhost)
 | (nnimap-server-port 993)
 | (nnimap-stream ssl
 |
 | (setq nnimap-nov-is-evil nil)
 | (setq gnus-cache-enter-articles '(ticked dormant unread read))
 |
 | (setq org-gnus-nnimap-query-article-no-from-file t)
 `

 Now the strange thing is that the novcache file in ~/News/overview is
 100% identical to .overview in ~/News/agent

Two are better than one!  (I have no idea why.)

 ,
 | dm...@t41 ~/News % md5sum 
 overview/nnimap/localhost/INBOX/1280089306/novcache 
 agent/nnimap/localhost/INBOX/.overview
 | b4a78e25a064f0c260f76080a00991cd  
 overview/nnimap/localhost/INBOX/1280089306/novcache
 | b4a78e25a064f0c260f76080a00991cd  agent/nnimap/localhost/INBOX/.overview
 | dm...@t41 ~/News %
 `

 Anyway: `nnimap-retrieve-headers-from-file' does not work as expected.
 First, it requires the group parameter without backend and server
 prefix (e.g. INBOX instead of nnimap+localhost:INBOX.

I've expected that.

 Second it would return a cons (min-UID . max-UID).  That wouldn't help
 us, would it?

What an appropriately named function that is. ;-) No, that wouldn't
help.  But its code could be stolen to write and own function to insert
the right NOV file in a temp buffer, to search for the message-id.
Something like that:

--8---cut here---start-8---
(defun org-gnus-nnimap-get-article-number (group server message-id)
  (with-current-buffer nntp-server-buffer
(let ((nov (nnimap-group-overview-filename group server)))
  (when (file-exists-p nov)
(mm-insert-file-contents nov)
(set-buffer-modified-p nil)
(when (search-forward message-id nil t)
  (goto-char (line-beginning-position))
  (read (current-buffer)))
--8---cut here---end---8---

That function is totally untested, but might do what it should.

 Third and amazingly my novcache seems to be corrupt right after
 creation: `nnimap-retrieve-headers-from-file' does not get the maximum
 UID but reads INBOX (?!) -- A string that looks kind of a header
 information for nov -- and not 18753 what is the highest UID in the
 mailbox.

 Last line of the cache:
 (it's a local copy of wanderlust general newsgroup accessed via IMAP)

 ,
 | 18753   Re: checking imap folder unplugged  Yoichi NAKAYAMA 
 yoi...@eken.phys.nagoya-u.ac.jp   Sun, 13 Oct 2002 10:19:13 +0900 
 wyadljm8z2...@eken3.eken.phys.nagoya-u.ac.jp  
 87ptvqcd9p...@eken.phys.nagoya-u.ac.jp442413  Xref: 
 t41.ictsoc.de INBOX:18753 Newsgroups: gmane.mail.wanderlust.general.japanese
 `

Really strange.  Maybe the corruption comes from replacing TABs by
spaces using some home-brewn auto-replace-all-tabs-with-spaces function?

Bye,
Tassilo


___
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


[Orgmode] Re: keys and command name info

2010-07-29 Thread Tassilo Horn
Andreas Röhler andreas.roeh...@easy-emacs.de writes:

 attached another patch replacing the former, due to a bug at texi

Please also add @findex{} entries.

Bye,
Tassilo


___
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: [Orgmode] No title or date in LaTeX export

2010-07-29 Thread Nick Dokos
Xin Shi shixin...@gmail.com wrote:

 Hello Experts,
 
 When I export the org file to LaTeX, I want no title or date in the first 
 page.  Namely, I want
 these lines to be commented out:
 
 %\title{XX}
 %\date{X}
 %\maketitle 
 
 So far, I only found
 #+OPTIONS: author:nil  can make:
 
 %\author{} 
 
 I also tried :
 
 # Local Variables:
 # org-export-latex-title-command:  
 # End:
 
 but still saw the \maketitle .
 
 Any suggestions?
 

Try

#+BIND: org-export-latex-title-command 

at the top of your org file. This should eliminate the \maketitle
invocation. \title, \date etc will still be defined but since only
\maketitle uses them, they won't affect the output.

I presume you'll also want to nuke the table of contents. If so,
add

#+OPTIONS: toc:nil

at the top of the org file as well.

HTH,
Nick


___
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: [Orgmode] No title or date in LaTeX export

2010-07-29 Thread Neil Hepburn
Hi Xin

To get rid of this stuff, simply put the following at the top of your org file:

#+OPTIONS: author:nil
#+TITLE: 
#+DATE: 

alternatively you can use

#+TITLE: 
#+AUTHOR: 
#+DATE:

If you use the second option, your tex file will have 
\title{}
\author{}
\date{}

but will not have the \maketitle command.

-Neil 
(not an expert but an inquisitive user)


On 2010-07-29, at 2:31 PM, Xin Shi wrote:

 Hello Experts,
 
 When I export the org file to LaTeX, I want no title or date in the first 
 page.  Namely, I want these lines to be commented out:
 
 %\title{XX}
 %\date{X}
 %\maketitle 
 
 So far, I only found
 #+OPTIONS: author:nil  can make:
 
 %\author{} 
 
 I also tried :
 
 # Local Variables:
 # org-export-latex-title-command:  
 # End:
 
 but still saw the \maketitle .
 
 Any suggestions?
 
 Thanks!
 
 Xin
 
 ___
 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: [Orgmode] [PATCH] Alphabetical ordered lists

2010-07-29 Thread Nick Dokos
Nathaniel Flath flat0...@gmail.com wrote:

 Hello all,
 
 One thing that had been bugging me was the inability to have an
 ordered list of the form:
 
 a.  Item 1
 b.  Item 2
 c.  Item 3
 
 The following patch enables this, with lists going from a-z and A-Z.
 Let me know if there are any issues with it.
 

I think patches with MIME type application/octet-stream will not make it
into the patchwork server. Please resend the patch with MIME type set to
one of the following:

text/plain
text/x-patch
text/x-diff

as David indicated in

http://thread.gmane.org/gmane.emacs.orgmode/25513/focus=25560

I think just including the patch in the mail message also works.

Thanks,
Nick





___
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


[Orgmode] Re: No title or date in LaTeX export

2010-07-29 Thread Xin Shi
Hello,

I found an answer for my question :)

#+OPTIONS: toc:nil
#+TITLE:
#+AUTHOR:
#+DATE:

will do the work.

Xin



On Thu, Jul 29, 2010 at 4:31 PM, Xin Shi shixin...@gmail.com wrote:

 Hello Experts,

 When I export the org file to LaTeX, I want no title or date in the first
 page.  Namely, I want these lines to be commented out:

 %\title{XX}
 %\date{X}
 %\maketitle

 So far, I only found
 #+OPTIONS: author:nil  can make:

 %\author{}

 I also tried :

 # Local Variables:
 # org-export-latex-title-command:  
 # End:

 but still saw the \maketitle .

 Any suggestions?

 Thanks!

 Xin


___
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: [Orgmode] Daily Debian Builds

2010-07-29 Thread suvayu ali
On 26 July 2010 12:28, Mark A. Hershberger m...@everybody.org wrote:

 If you try it, let me know what your experience is so I can improve it.


I wanted to try it on Ubuntu Lucid but launchpad says failed build for
the 26th of July.

 Mark.


-- 
Suvayu

Open source is the future. It sets us free.

___
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