[O] bug#9536: bug#9536: 24.0.50; org-capture do not work together org-crypt.el

2012-09-26 Thread Bastien
Hi Mike,

Mike McLean mike.mcl...@pobox.com writes:

 I don't use org-crypt. After updating Org to this patch level, I get
 the following error on every attempt to capture.

 org-capture-set-target-location: Symbol's function definition is void:
 org-at-encrypted-entry-p

Fixed, thanks.

-- 
 Bastien





Re: [O] Help! problem with org-capture-templates

2012-09-26 Thread Bastien
Hi Bill,

Bill Day williamson@gmail.com writes:

 Thanks for your reply.  I tried that and I got this:

 When done with this frame, type C-x 5 0
 Template key:
 OVERVIEW
 Restoring clock data
 Loading /home/billday/.emacs.d/org-clock-save.el (source)...done
 OVERVIEW
 Loading vc-git...done
 OVERVIEW [3 times]
 byte-code: Before first headline at position 1 in buffer refile.org

This should now be fixed, thanks.

-- 
 Bastien



Re: [O] org-date-toggle-inactive

2012-09-26 Thread Bastien
Bastien b...@altern.org writes:

 Or simply M-up/down on the angle/bracket of the time-stamp.

Er.. that's S-up/down of course.

-- 
 Bastien



Re: [O] Erroneous No such file or directory with babel and remote dir

2012-09-26 Thread Loris Bennett
Achim Gratz strom...@nexgo.de writes:

 Loris Bennett writes:
 How do I avoid the mixed installation problem when testing with a clone
 of the org repository?  My version is 

 ,
 | Org-mode version 7.9.1 (release_7.9.1-git @ mixed installation!
 | /usr/local/share/emacs/site-lisp/ and
 | /home/loris/git/org-mode.git/lisp/)
 `

 Assuming that you've set up the load-path correctly, this should correct
 itself when you do a

 make autoloads

 in the Git working tree.


 Regards,
 Achim.

Thanks, Achim, that worked.  But what exactly does it do?

Cheers,

Loris

-- 
no sig is good sig







Re: [O] Erroneous No such file or directory with babel and remote dir

2012-09-26 Thread Bastien
Hi Loris,

Loris Bennett loris.benn...@fu-berlin.de writes:

 Thanks, Achim, that worked.  But what exactly does it do?

let me try -- I'm confident Achim will correct me if I'm wrong
or incomplete.

`make autoloads' creates two files in your lisp/ directory:

- org-install.el
- org-version.el

The first one declares the functions and macros that should be
autoloaded with this version of Org.  Those functions/macros are
always accessible, even when the library that contain them is not
explicitely loaded.  Calling one of those functions/macros will
load the library.  See the Emacs manual for further details.

The second one defines the correct version for your Org distrib
and it is further checked by (org-version).

If it does not exist, systems that have Git will try to infer the
version number from Git (checking against the latest tag, which is
always of the form release_X.X[.X].

If org-version.el has not been created and Git is not available,
you will end up with a N/A version number.

Note that org-version.el and org-install.el are both included in
the .tar.gz/.zip distribution files.

HTH,

-- 
 Bastien



Re: [O] Emacs lisp code export difference between `org-export-region-as-html' and `org-export-as-html'

2012-09-26 Thread thorne
In case anyone might be interested in this, here is what I think is a
minimal example.  As I said, I am fine with it for my purposes, but
since the behaviour seems inconsistent (from my possibly limited
perspective) I thought I ought to at least specify as clearly as
possible what is going on:

First, with emacs -Q, and with a file called ~/tmp/foo.org

It's contents are only this:

#+BEGIN_SRC emacs-lisp :exports results :results html

#+END_SRC

Now, slightly reformatted for clarity, M-x ielm --

*** Welcome to IELM ***  Type (describe-mode) for help.
ELISP (defun render-with-find-file (file)
(save-excursion
  (let ((buffer (set-buffer (find-file file
(setq rtn (org-export-as-html nil nil nil 'string t))
(kill-buffer buffer)
rtn)))

== render-with-find-file

ELISP (defun render-with-temp-buffer (file)
(with-temp-buffer
  (insert-file file)
  (org-mode)   ; doesn't actually seem to have any effect
  (org-export-as-html nil nil nil 'string t)))

== render-with-temp-buffer

ELISP (render-with-find-file ~/tmp/foo.org)

== #(\n\n 0 2
 (org-native-text t original-indentation 0 org-protected t
fontified nil)
 2 3
 (fontified nil)
 3 4
 (fontified nil))

ELISP (render-with-temp-buffer ~/tmp/foo.org)

== #(pre class=\example\\nlt;gt;\n/pre\n\n\n 0 40
(fontified nil))



[O] Two modifications for source blocks processing (will be in 7.9.2)

2012-09-26 Thread Bastien
Dear all,

this is to advertize two small modifications wrt source blocks
processing.

1) Please use :results drawer instead of :results wrap to insert
   results like this:

   #+BEGIN_SRC emacs-lisp :results drawer
   (message a)
   #+END_SRC
   
   #+RESULTS:
   :RESULTS:
   a
   :END:

2) Support for :results org has been removed.  You can either
   insert the results with :results raw or results drawer if
   you need to tell the exporter to include/exclude the results
   (by including/excluding the :RESULTS: drawer from export.)

Those two changes above will be in 7.9.2.

Thanks,

-- 
 Bastien




Re: [O] [PATCH] Give possibility to start gnus with gnus-no-server

2012-09-26 Thread Jarmo Hurri

Bastien b...@altern.org writes:
 Okay.  I've pushed a slightly edited version of your patch, please
 check the ChangeLog here:

   http://orgmode.org/w/org-mode.git?p=org-mode.git;a=commit;h=1086895

Thanks!

--

Jarmo (one happy gnus user)




Re: [O] Two modifications for source blocks processing (will be in 7.9.2)

2012-09-26 Thread Sebastien Vauban
Hi Bastien,

Bastien wrote:
 this is to advertize two small modifications wrt source blocks
 processing.

 1) Please use :results drawer instead of :results wrap to insert
results like this:

#+BEGIN_SRC emacs-lisp :results drawer
(message a)
#+END_SRC

#+RESULTS:
:RESULTS:
a
:END:

OK. That name is clearly better!

 2) Support for :results org has been removed.

Why don't we have anymore #+begin/end_org blocks while we still have
#+begin_html and #+begin_LaTeX blocks?  Org as the language seemed normal
to insert blocks in Org-syntax.

How will Org constructs be supported, for example headlines in the old
#+begin/end_org blocks -- with the , used for protecting the export?

#+begin_src org
,* This is an headline
,This is some text.
#+end_src

You can either insert the results with :results raw or results drawer
if you need to tell the exporter to include/exclude the results (by
including/excluding the :RESULTS: drawer from export.)

Will :RESULTS: drawers be included by default, to mimic the current support
of #+begin/end_org blocks?

Best regards,
  Seb

-- 
Sebastien Vauban




[O] How to avoid active timestamps to be really active?

2012-09-26 Thread Sebastien Vauban
Hello,

I have the impression that the following code did work (i.e., wasn't seen in
the agenda) some time ago:

--8---cut here---start-8---
* Some explanation...

#+begin_src org
,SCHEDULED: 2012-02-13 Mon +1w/12d
#+end_src
--8---cut here---end---8---

Now, it is part of the displayed agenda items.

How to make that be not active -- without changing the angular brackets in an
inactive timestamp (as this is some example in a document about Org)?

Best regards,
  Seb

-- 
Sebastien Vauban




[O] [PATCH] initialize level in org-agenda-format-item

2012-09-26 Thread Daniel Clemente

When I used %l in org-agenda-prefix-format, my agenda failed with:

Debugger entered--Lisp error: (args-out-of-range 0 0)
  get-text-property(0 extra-space nil)
  (concat level  (get-text-property 0 (quote extra-space) level))
  (if (equal level )  (concat level  (get-text-property 0 (quote 
extra-space) level)))
  (format %s (if (equal level )  (concat level  (get-text-property 0 
(quote extra-space) level
  …

It was due to „level“ being nil. The (if (equal level )) did not run because 
level was nil and not .
So I set it to  and it worked:


diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 9e2380b..a8b009c 100755
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -6038,7 +6038,8 @@ Any match of REMOVE-RE will be removed from TXT.
 (t ))
  extra (or (and (not habitp) extra) )
  category (if (symbolp category) (symbol-name category) category)
- thecategory (copy-sequence category))
+ thecategory (copy-sequence category)
+ level )
(if (string-match org-bracket-link-regexp category)
(progn
  (setq l (if (match-end 3)





Re: [O] [PATCH] initialize level in org-agenda-format-item

2012-09-26 Thread Bastien
Hi Daniel,

Daniel Clemente n142...@gmail.com writes:

 When I used %l in org-agenda-prefix-format, my agenda failed with:

 Debugger entered--Lisp error: (args-out-of-range 0 0)
   get-text-property(0 extra-space nil)
   (concat level  (get-text-property 0 (quote extra-space) level))
   (if (equal level )  (concat level  (get-text-property 0 (quote 
 extra-space) level)))
   (format %s (if (equal level )  (concat level  (get-text-property 0 
 (quote extra-space) level
   …

 It was due to „level“ being nil. The (if (equal level )) did not run
 because level was nil and not .

Fixed in master.  Thanks for reporting this,

-- 
 Bastien



Re: [O] orgmode + evernote, anyone using it? Use cases?

2012-09-26 Thread Alan Schmitt
Eden Cardim e...@insoli.de writes:

 Links are the basis for decent planning, I spend half of my day in
 planning mode where I write links for everything I'm gonna do while
 I'm in cranking mode. When I switch over to cranking mode, I just
 open whatever the task is linking to (like source code, an email, a
 document, a web article, etc.) and that's enough to switch my brain
 over to the context of that task and I can just get to work.

Do you have a reliable system to link to emails? I've been working on
this and I'm not too satisfied yet.

 I have no problem with writing, but sometimes I don't have writing
 tools with me, but I always have my phone.

I'm curious about this too: how do you integrate your phone in this
setup?

Thanks,

Alan



[O] Possible bug org-refile on make install

2012-09-26 Thread Charles

Windows 7 HP 64
Emacs 24.2.1 i686-pc.cygwin, GTK+ Version 2.24.11 of 2012-08-27 on fiona
Org - release 7.9.1 - 364 -g8365b7

I recently installed cygwin 1.7.16  and pulled recent org mode changes 
from git.


Towards the end of compiling there was the following message

In org-copy org.el:10923:15 Warning: org-refile called with 4 
arguments but only accepts 0 - 3.


First I started emacs and org mode and apparently no problem. I logged 
out of cygwin, restarted rxvt-native, cd'ed to ~/elisp/org-mode, pulled 
again just to be sure nothing was missed (everything up to date), reran 
make install and no message this time.


Charlie Millar



Re: [O] Erroneous No such file or directory with babel and remote dir

2012-09-26 Thread Loris Bennett
Bastien b...@altern.org writes:

 Hi Loris,

 Loris Bennett loris.benn...@fu-berlin.de writes:

 I have updated from 7.8.something to 7.9.1 and evaluating the following
 source block:

 ,--
 | #+header: :cache no :eval query
 | #+name: sacct-output
 | #+begin_src sh  :exports both :dir /root@xx:
 | module load shared slurm
 | sacct -d -S 2011-11-01 | grep JOB_TERMINATED | cut -d ' ' -f 4,23 | grep 
 -v ' 0$'
 | #+end_src
 `--

 used to work, but now produces the error:

 Can you try to bisect and find the bad commit (or a set of 
 suspicious ones)?

 Thanks,

552b0edb254a104e441e28f3a942dc6005e97f87 is the first bad commit
commit 552b0edb254a104e441e28f3a942dc6005e97f87
Author: Bastien Guerry b...@altern.org
Date:   Sat Mar 17 15:44:41 2012 +0100

Manually revert to 78ec8e21 (Release 7.8.04)

Let's take a fresh start.  Sorry Mama.

:04 04 163e6eefeae7ce8287a9b95376a182725463b6e4 
00f1fc024be6f61d8f7b520be509d46555418adb M  EXPERIMENTAL
:100644 100644 1753dd8d44eab0fc512284172e8902302959bbab 
1022cdc9ff14c9d7f3004c4181507acf9f7414a2 M  Makefile
:100644 100644 ad822658a8954b7d02b79f2cccd9c9b721b3e889 
cf67c9933ccbc13676b6b9ded82bb62c3ab67220 M  README_DIST
:04 04 35c93a0ab0b246483543b14ba3cb218dae9172e1 
46f1a162838f9234bf0f34ee202ad88690af8e5e M  contrib
:04 04 e680a29de46430d26ee79a24abd7ec4f6cec28ba 
c34f8f62ceced35f6519935bbe0404b95a6d5b4d M  doc
:04 04 5989cfb368b5bee95e1fcceb42a88c381d72bdee 
012e82d1831a339b52148716cd9a1cad7d3159f9 M  etc
:04 04 7ef0c8f2ecdd18ef48acfc0e13815ac6e8b01d64 
d2895eead691b78d01435a0c9ba45c161e462f39 M  lisp
:04 04 99d7331b0f659fe1b1e6323cb5a33c66152e7d67 
e2e86614d689cef98523b2d6f6c8f3b1dea5ddff M  testing

Loris
-- 
no sig is good sig







Re: [O] orgmode + evernote, anyone using it? Use cases?

2012-09-26 Thread Eden Cardim
 Alan == Alan Schmitt alan.schm...@polytechnique.org writes:
Alan Do you have a reliable system to link to emails? I've been
Alan working on this and I'm not too satisfied yet.

Not sure what you mean by reliable. I use offlineimap to sync my mail
to a local dovecot which I access by tunneling gnus to it. This means
I can access emails anywhere, like on a plane.

Alan I'm curious about this too: how do you integrate your phone
Alan in this setup?

I export an ical periodically, which my phone is subscribed to for
reminders. For evernote I'm subscribed to the rss feed of a notebook
via org. Basically, I only use evernote as a
capture/visualization/search tool. The management happens within org.




Re: [O] [PATCH] Lookup functions, take two

2012-09-26 Thread Jarmo Hurri

Bastien b...@altern.org writes:

 Dominik, Carsten c.domi...@uva.nl writes:
 The documentation should be kept as compact as possible, I think without an
 example, just describe the functionality. Maybe Jarmo can write a little
 tutorial for Worg and document it there more extensively?

 Jarmo, would you be okay reworking the patch with these directions?  

Will do that.

 Also be careful about this typographic convention: the Elisp manuals
 use two whitespaces for ending sentences.

I assume that by Elisp manuals you mean org.texi? At least it seems to
follow that convention, and thanks for pointing it out, since I did not
know it.

 A tutorial for Worg would indeed be nice: please send me your public 
 key and I will give you write access to Worg.

Coming up.

From what I see in the manual, it seems to be ok to point to a Worg
tutorial for more information on the topic.

--
Jarmo




Re: [O] [PATCH] Lookup functions, take two

2012-09-26 Thread Bastien
Hi Jarmo,

Jarmo Hurri jarmo.hu...@syk.fi writes:

 Jarmo, would you be okay reworking the patch with these directions?  

 Will do that.

Thanks!

(If you don't mind, please use the equivalent code I sent yesterday.)

 I assume that by Elisp manuals you mean org.texi? 

I mean the GNU Elisp manuals in general, but yes, org.texi in this case.

 From what I see in the manual, it seems to be ok to point to a Worg
 tutorial for more information on the topic.

Sure!  No hesitation.

All best,

-- 
 Bastien



Re: [O] orgmode + evernote, anyone using it? Use cases?

2012-09-26 Thread Alan Schmitt
Eden Cardim e...@insoli.de writes:

 Alan == Alan Schmitt alan.schm...@polytechnique.org writes:
 Alan Do you have a reliable system to link to emails? I've been
 Alan working on this and I'm not too satisfied yet.

 Not sure what you mean by reliable. I use offlineimap to sync my mail
 to a local dovecot which I access by tunneling gnus to it. This means
 I can access emails anywhere, like on a plane.

Sorry I wasn't clear. I have the same setup. My question is: how do you
get a link from org to gnus that still works even if messages are moved
around. I tried nnregistry but it stopped working after I upgraded to
Emacs 24.2, so I'd be happy for other solutions.

 Alan I'm curious about this too: how do you integrate your phone
 Alan in this setup?

 I export an ical periodically, which my phone is subscribed to for
 reminders. For evernote I'm subscribed to the rss feed of a notebook
 via org. Basically, I only use evernote as a
 capture/visualization/search tool. The management happens within org.

So things that are captured in evernote stay there to be searched later?
Do you link from org to evernote? And do you have data flow from org to
evernote?

(I'm asking all these questions because my current capture mode when I'm
away from the computer is to send myself an email, which is not very
efficient… so I'd be glad to understand other processes.)

Thanks,

Alan



Re: [O] [PATCH] Lookup functions, take two

2012-09-26 Thread Jarmo Hurri
Bastien b...@altern.org writes:

 I suggest using this code:

 ...

 Less dense and elegant, of course, but more explicit.  Users will be
 able to check the docstring of org-lookup-first/last, which I think is
 good for functions that we advertize in the manual.

 Jarmo, would you be okay if I commit this?

I have nothing against the idea. However, I get only errors when I try
to apply your functions in my examples. I can track down the source of
the problems later (not today, though).

But how about combining your idea about getting rid of CL's position
with the following idea of building the docstring on the fly in the
macro? That is, you do not need to define multiple functions by hand,
but the docstrings can still be unique.

#+BEGIN_SRC emacs-lisp
(defmacro org-lookup-function (name-str from-end-p)
  `(defun ,(intern (format org-lookup-%s name-str)) (val search-list 
return-list optional predicate)
,(format Searches for the %s element el in list search-list for which
(predicate val el) is t; returns a value from the corresponding
position in list return-list. The default predicate is equal. (if from-end-p 
last first))
 (let ((p (if (eq predicate nil) 'equal predicate)))
  (nth (position val search-list :test p :from-end ,from-end-p) 
return-list
(org-lookup-function first nil)
(org-lookup-function last t)
#+END_SRC

--

Jarmo




Re: [O] orgmode + evernote, anyone using it? Use cases?

2012-09-26 Thread Eden Cardim
 Alan == Alan Schmitt alan.schm...@polytechnique.org writes:
Alan Sorry I wasn't clear. I have the same setup. My question is:
Alan how do you get a link from org to gnus that still works even
Alan if messages are moved around. I tried nnregistry but it
Alan stopped working after I upgraded to Emacs 24.2, so I'd be
Alan happy for other solutions.

I don't use gnus itself for managing mail, so I don't move things
around in it. I keep everything in the imap inbox (except for mailing
list things, etc.), and use org to manage links to the mail messages.

Alan So things that are captured in evernote stay there to be
Alan searched later?  Do you link from org to evernote?

Yes, I link to the rss entry, which displays the note in the web
interface. If I happen to be offline, I can search manually inside the
evernote app for that note, not very efficient, but this is rarely the
case, so I don't feel the need to optimize for it.

Alan And do you have data flow from org to evernote?

No, nothing ever flows from org to evernote. Evernote is just a
capture/search/visualize tool.

Alan (I'm asking all these questions because my current capture
Alan mode when I'm away from the computer is to send myself an
Alan email, which is not very efficient… so I'd be glad to
Alan understand other processes.)

As mentioned before, I sometimes use evernote for a photograph and
reqall for dictation, both of those land inside my org files one way
or the other.




Re: [O] [PATCH] Lookup functions, take two

2012-09-26 Thread Bastien
Hi Jarmo,

Jarmo Hurri jarmo.hu...@syk.fi writes:

 I have nothing against the idea. However, I get only errors when I try
 to apply your functions in my examples. I can track down the source of
 the problems later (not today, though).

There was a typo, I attach the correct patch.

 But how about combining your idea about getting rid of CL's position
 with the following idea of building the docstring on the fly in the
 macro? That is, you do not need to define multiple functions by hand,
 but the docstrings can still be unique.

As you prefer.  But C-h f will not point to org-table.el if we use this
macro.  This is acceptable, but we need to mention `org-lookup' as the
matrix function in the docstring, so that user C-h f'ing org-lookup
will find it in org-table.el.

Another wish style-wise: the first sentence of the docstring should be
one line long.  See the short parameters names and the docstrings in my
patch to get an idea -- but please feel free to also follow your taste
here, of course.

Thanks!

diff --git a/lisp/org-table.el b/lisp/org-table.el
index 37889af..95b8231 100644
--- a/lisp/org-table.el
+++ b/lisp/org-table.el
@@ -4826,6 +4826,29 @@ list of the fields in the rectangle .
 		  (org-table-get-range (match-string 0 form) tbeg 1))
 		  form)
 
+(defun org-lookup (val s-list r-list lastp optional predicate)
+  Look for VAL in S-LIST and return the corresponding element in R-LIST.
+If LASTP, ignore all matching VAL in S-LIST except the last one.
+If PREDICATE is not nil, use this instead of `equal' to match VAL.
+  (let ((p (or predicate 'equal)) (c 0) r)
+(nth (dolist (i s-list r) (setq c (1+ c))
+		 (if (and (funcall p val i) (or lastp (not r)))
+		 (setq r (1- c
+	 return-list)))
+
+(defun org-lookup-first (val s-list r-list optional predicate)
+  Look for VAL in S-LIST and return the corresponding element in R-LIST.
+If PREDICATE is not nil, use this instead of `equal' to match VAL.
+  (org-lookup val s-list r-list nil predicate))
+
+(defun org-lookup-last (val s-list r-list optional predicate)
+  Look for VAL in S-LIST and return the corresponding element in R-LIST.
+If PREDICATE is not nil, use this instead of `equal' to match VAL.
+  (org-lookup val s-list r-list t predicate))
+
+;; (org-lookup-first 2 '(1 2 3 2) '(A B C D E)) = B
+;; (org-lookup-last 2 '(1 2 3 2) '(A B C D E))  = D
+
 (provide 'org-table)
 
 ;;; org-table.el ends here

-- 
 Bastien


Re: [O] Possible bug org-refile on make install

2012-09-26 Thread Bastien
Hi Charles,

Charles mill...@verizon.net writes:

 I recently installed cygwin 1.7.16  and pulled recent org mode changes from
 git.

 Towards the end of compiling there was the following message

 In org-copy org.el:10923:15 Warning: org-refile called with 4 arguments
 but only accepts 0 - 3.

That's because the compiler was referring to the loaded version of
org-refile, which differed from the one he compiled later on.

-- 
 Bastien



Re: [O] orgmode + evernote, anyone using it? Use cases?

2012-09-26 Thread Robert Horn
Alan Schmitt alan.schm...@polytechnique.org writes:

 Eden Cardim e...@insoli.de writes:

 Alan == Alan Schmitt alan.schm...@polytechnique.org writes:
 Alan Do you have a reliable system to link to emails? I've been
 Alan working on this and I'm not too satisfied yet.

 Not sure what you mean by reliable. I use offlineimap to sync my mail
 to a local dovecot which I access by tunneling gnus to it. This means
 I can access emails anywhere, like on a plane.

 Sorry I wasn't clear. I have the same setup. My question is: how do you
 get a link from org to gnus that still works even if messages are moved
 around. I tried nnregistry but it stopped working after I upgraded to
 Emacs 24.2, so I'd be happy for other solutions.


I use a combination of notmuch and notes.  It's reliable in the
sense that you mean about surviving file shuffling, because both link
based on a MailID.  The hybrid mail structure is forced on me by the
requirements of my employer (they require the use of Lotus Notes) and
separation of my personal mail.  I don't recommend it if you have any
alternative.

My notmuch is set up with mail in various MailDir structures.  That's
all covered in notmuch.el.  I think it would be equally robust for all
the different structures that notmuch can use.

I could add a link type for Lotus Notes because it has a command
line mode that you can invoke specifying the Notes mail ID.  Drag and drop
provides that information.  The invocation of:

/cygdrive/c/Program\ Files\ \(x86\)/Lotus/Notes/notes
notes:///852568800070EEAE/38D46BF5E8F08834852564B500129B2C/F462D53F85901A684E24D4139A7CDA52

will bring up that mail ID.  Setup and use is awkward, but not hopeless.
I drag the mail into an Emacs window, then run a bit of lisp to convert
the windows link into an org-mode link format.

R Horn



[O] Tables and aligning columns

2012-09-26 Thread Erich Neuwirth
I am using the following simplistic example.

#+title: Test Table

* My test

| head1 head1 | head2 head2 | head3 head3 | head4 head4 |
|-+-+-+-|
| | l | | r |
|   1 | 2   | haha|haha |
|   1 | 2   | haha|haha |

I am using org-20120926 from ELP A.
Export to LaTeX still does not honor column alignment.
And I noticed something strange.
If I remove the header line, export to LaTeX still produces everything,
but exported html does not contain the table.
This is somewhat inconsistent.

Erich





Re: [O] orgmode + evernote, anyone using it? Use cases?

2012-09-26 Thread Nick Dokos
Alan Schmitt alan.schm...@polytechnique.org wrote:

 Eden Cardim e...@insoli.de writes:
 
  Alan == Alan Schmitt alan.schm...@polytechnique.org writes:
  Alan Do you have a reliable system to link to emails? I've been
  Alan working on this and I'm not too satisfied yet.
 
  Not sure what you mean by reliable. I use offlineimap to sync my mail
  to a local dovecot which I access by tunneling gnus to it. This means
  I can access emails anywhere, like on a plane.
 
 Sorry I wasn't clear. I have the same setup. My question is: how do you
 get a link from org to gnus that still works even if messages are moved
 around. I tried nnregistry but it stopped working after I upgraded to
 Emacs 24.2, so I'd be happy for other solutions.
 

I use a different setup so it won't answer your question directly, but
maybe it will shed some light: I use mh-e and links to email use the
message ID (Robert Horn describes a similar setup with notmuch in
another email in this thread). Links look like this:

[[mhe:%2Binbox#m2obksncnv@top-wifi.irisa.fr][Email from Alan Schmitt: Re: 
{O} orgmode + evernote, an]]

where the message ID is m2obksncnv@top-wifi.irisa.fr.

The message ID is preserved even if I move messages to other
folders. So as long as your search engine searches by message ID, you
should be all set, except that you might have to resync the database of
your search engine, if it uses one.

In fact, I use mairix to index my mail[fn:1], so after moving things
around, I have to run mairix to reindex. In my case, that takes about
2.5GB of memory and about 40 seconds. This was a killer with my previous
laptop which had 1GB of memory: it would swap like crazy and end up
taking 15mins or so for the reindex, clearly unworkable: I ended
cleaning up email and kicking off mairix once a day, just before going
to bed. Now I have 4GB of memory and I'm a happy camper: I can reindex
whenever I like.

Nick

Footnotes:

[fn:1]  I have too much mail so I can't use the default mh-e search
pick/grep method - it would take forever, even limited to a
single folder; mairix, btw, does not care about folders: it
searches everything.



Re: [O] orgmode + evernote, anyone using it? Use cases?

2012-09-26 Thread Alan Schmitt
Thanks a lot to you and Robert for the tips.

Alan



Re: [O] Two modifications for source blocks processing (will be in 7.9.2)

2012-09-26 Thread Bastien


Hi Sébastien,

Sebastien Vauban
wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes:

 2) Support for :results org has been removed.

 Why don't we have anymore #+begin/end_org blocks while we still have
 #+begin_html and #+begin_LaTeX blocks?  Org as the language seemed normal
 to insert blocks in Org-syntax.

The only advantage of using #+BEGIN_ORG over a raw insert was to be able
to fold the block.  But that's already available with :results drawer.

Beside, this was the only place were #+BEGIN_ORG was used, and there was
questions on how to let the new exporter process these blocks.

 How will Org constructs be supported, for example headlines in the old
 #+begin/end_org blocks -- with the , used for protecting the export?

 #+begin_src org
 ,* This is an headline
 ,This is some text.
 #+end_src

Mhh... yeah.  I've pushed a change, this is what :results org will do
now.  I'll ping Eric and Nicolas so that they care review this.

You can either insert the results with :results raw or results drawer
if you need to tell the exporter to include/exclude the results (by
including/excluding the :RESULTS: drawer from export.)

 Will :RESULTS: drawers be included by default, to mimic the current support
 of #+begin/end_org blocks?

You have :results org now.

-- 
 Bastien




Re: [O] **: Re: Breadcrumbs?

2012-09-26 Thread Bastien


Hi Sébastien,

Sebastien Vauban wxhgmqzgw...@spammotel.com writes:

 Now, it does not work anymore as it did. I now have things such as:

  / Headline 1/Longer headline 2/Very long headline 3

 in my mode line, instead of:

  Headline 1 / Longer headline 2 / Very long headline 3

Fixed, thanks.

-- 
 Bastien




Re: [O] Breadcrumbs?

2012-09-26 Thread Carsten Dominik



On 25.9.2012, at 14:48, Bastien wrote:

 
 
 Sebastien Vauban
 wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes:
 
 Could we imagine the displayed outline path to be separated by  /  instead
 of by /, that is:
 
 From current master, try this out:
 
 (org-display-outline-path nil t  - )

Hi everyone,

I just changed the definitions of org-display-outline-path
and org-format-outline-path, so the call above would have to
be modified to

 (org-display-outline-path nil t  /  t)

Cheers

- Carsten

 
 HTH,
 
 -- 
 Bastien
 
 





Re: [O] How to avoid active timestamps to be really active?

2012-09-26 Thread Bastien


Hi Sébastien,

Sebastien Vauban
wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes:

 I have the impression that the following code did work (i.e., wasn't seen in
 the agenda) some time ago:

I'd be curious to know when...

 * Some explanation...

 #+begin_src org
 ,SCHEDULED: 2012-02-13 Mon +1w/12d
 #+end_src

 Now, it is part of the displayed agenda items.

Information contained in source blocks are now skipped when building the
agenda.

Thanks,

-- 
 Bastien




Re: [O] Two modifications for source blocks processing (will be in 7.9.2)

2012-09-26 Thread Nicolas Goaziou


Hello,

Sebastien Vauban
wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes:

 Why don't we have anymore #+begin/end_org blocks while we still have
 #+begin_html and #+begin_LaTeX blocks?  Org as the language seemed normal
 to insert blocks in Org-syntax.

#+begin_latex (like #+begin_html, #+begin_ascii, #+begin_md...) are
export blocks, which basically means insert contents as-is in output
from matching export back-end, ignore everything in other back-ends..

They are relative to export back-ends, not languages. And there's no Org
back-end so far. So, they do not make much sense for now.

On the other hand, when you want to write in a foreign language, you use
#+begin_src blocks.

 Will :RESULTS: drawers be included by default, to mimic the current support
 of #+begin/end_org blocks?

In the new export engine, every drawer (excepted property drawer) is
included by default.


Regards,

-- 
Nicolas Goaziou




Re: [O] Two modifications for source blocks processing (will be in 7.9.2)

2012-09-26 Thread Thomas S. Dye


Hi Seb,

Sebastien Vauban
wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes:

 Hi Bastien,

 Bastien wrote:
 this is to advertize two small modifications wrt source blocks
 processing.

 1) Please use :results drawer instead of :results wrap to insert
results like this:

#+BEGIN_SRC emacs-lisp :results drawer
(message a)
#+END_SRC

#+RESULTS:
:RESULTS:
a
:END:

 OK. That name is clearly better!

 2) Support for :results org has been removed.

 Why don't we have anymore #+begin/end_org blocks while we still have
 #+begin_html and #+begin_LaTeX blocks?  Org as the language seemed normal
 to insert blocks in Org-syntax.

 How will Org constructs be supported, for example headlines in the old
 #+begin/end_org blocks -- with the , used for protecting the export?

 #+begin_src org
 ,* This is an headline
 ,This is some text.
 #+end_src

You can either insert the results with :results raw or results drawer
if you need to tell the exporter to include/exclude the results (by
including/excluding the :RESULTS: drawer from export.)

 Will :RESULTS: drawers be included by default, to mimic the current support
 of #+begin/end_org blocks?

 Best regards,
   Seb

:results org was a synonym for :results raw, so I think small change
here probably means that support for the synonym was dropped.

#+begin/end_org blocks should still work with the :wrap header argument,
 which hasn't been altered, IIUC.

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com




Re: [O] Org-mode release 7.9

2012-09-26 Thread Bastien
Hi Achim,

Achim Gratz strom...@nexgo.de writes:

 Although it should be possible to produce the package description
 vectors manually at the moment, I would like to avoid that.

I went bold (wikipedia style) and made the change.

See the commits related to mk/server.mk.

I think this is good enough for now, but if you have a better
solution, let me know.  I'll ask Jason to install Emacs 24.2
if that's possible.

Thanks,

-- 
 Bastien



Re: [O] Tables and aligning columns

2012-09-26 Thread Bastien
Erich Neuwirth erich.neuwi...@univie.ac.at writes:

 #+title: Test Table

 * My test

 | head1 head1 | head2 head2 | head3 head3 | head4 head4 |
 |-+-+-+-|
 | | l | | r |
 |   1 | 2   | haha|haha |
 |   1 | 2   | haha|haha |

 I am using org-20120926 from ELP A.
 Export to LaTeX still does not honor column alignment.

As I told you, the new exporter handles this.  

The new exporter is *not* in latest Org ELPA package.

 And I noticed something strange.
 If I remove the header line, export to LaTeX still produces everything,
 but exported html does not contain the table.
 This is somewhat inconsistent.

I can't reproduce this.

-- 
 Bastien



Re: [O] How to avoid active timestamps to be really active?

2012-09-26 Thread Bastien


Hi Sébastien,

wxhgmqzgw...@spammotel.com writes:

 Information contained in source blocks are now skipped when building the
 agenda.

 It does not work with my pull of 12:20 (Paris time).

Please provide a reproducible recipe.

Thanks,

-- 
 Bastien




Re: [O] [PATCH] Lookup functions, take two

2012-09-26 Thread Jarmo Hurri
Bastien b...@altern.org writes:

 There was a typo, I attach the correct patch.

Thanks!

[A lot of good info snipped.]

While you're waiting for my assignment papers, I will look into this and
try to make everybody happy.

Have fun.

--

Jarmo




Re: [O] Breadcrumbs?

2012-09-26 Thread Bastien


Carsten Dominik carsten.domi...@gmail.com writes:

 I just changed the definitions of org-display-outline-path
 and org-format-outline-path, so the call above would have to
 be modified to

  (org-display-outline-path nil t  /  t)

Great, thanks!

-- 
 Bastien




Re: [O] Two modifications for source blocks processing (will be in 7.9.2)

2012-09-26 Thread Bastien


wxhgmqzgw...@spammotel.com writes:

 It's almost OK: only the comma is not automatically inserted as line
 prefix[1].

Yes, this has always been like this AFAICT.

-- 
 Bastien




Re: [O] org-url-hexify-p is not respected

2012-09-26 Thread Michael Brand
Hi Bastien

On Sun, Sep 23, 2012 at 12:05 PM, Bastien b...@altern.org wrote:
   http://orgmode.org/w/org-mode.git?p=org-mode.git;a=commit;h=0906e3

 `org-link-to-org-use-id' has been moved to org-id.el, and its default
 value is now nil.

The attached patch is to align the doc string to the changed default.

Btw.: I always ask myself why has C-h v (describe-variable) never been
told to not only list the current value but also the default when it
is capable to point to the source with the definition?

Michael
From 2a4e828b222754617750516bd2eb4678d061e7f0 Mon Sep 17 00:00:00 2001
From: Michael Brand michael.ch.br...@gmail.com
Date: Wed, 26 Sep 2012 19:55:50 +0200
Subject: [PATCH] org-id-link-to-org-use-id: Align doc string

* org-id.el (org-id-link-to-org-use-id): Align the doc string to the
changed default.

A leftover of commit 0906e32b.
---
 lisp/org-id.el |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org-id.el b/lisp/org-id.el
index 14f990d..a641340 100644
--- a/lisp/org-id.el
+++ b/lisp/org-id.el
@@ -105,7 +105,7 @@ create-if-interactive
 
 create-if-interactive-and-no-custom-id
   Like create-if-interactive, but do not create an ID if there is
-  a CUSTOM_ID property defined in the entry.  This is the default.
+  a CUSTOM_ID property defined in the entry.
 
 use-existing
   Use existing ID, do not create one.
-- 
1.7.4.2



Re: [O] Erroneous No such file or directory with babel and remote dir

2012-09-26 Thread Achim Gratz
Loris Bennett writes:
 Can you try to bisect and find the bad commit (or a set of 
 suspicious ones)?

 552b0edb254a104e441e28f3a942dc6005e97f87 is the first bad commit
 commit 552b0edb254a104e441e28f3a942dc6005e97f87
 Author: Bastien Guerry b...@altern.org
 Date:   Sat Mar 17 15:44:41 2012 +0100

This is not the commit you're looking for...

Please skip these commits after starting the bisect by doing

git bisect skip 7e903acccd..df82832fb7

If the offending change is inside that range we can still deal with it
later.


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

SD adaptation for Waldorf Blofeld V1.15B11:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




Re: [O] Org-mode release 7.9

2012-09-26 Thread Achim Gratz
Bastien writes:
 I went bold (wikipedia style) and made the change.

 See the commits related to mk/server.mk.

Have you pushed it? Coz' I don't see it just yet…

 I think this is good enough for now, but if you have a better
 solution, let me know.  I'll ask Jason to install Emacs 24.2
 if that's possible.

I'll have a look.


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

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




Re: [O] Fwd: Citation in org mode does not compile

2012-09-26 Thread Thomas S. Dye
Aloha Sanjib Sikder,

It looks like BibTeX hasn't processed your document.

See the variable org-latex-to-pdf-process. By default I believe it just
calls pdflatex several times.  You can either insert a call to bibtex,
or use a script, like this:

(setq org-latex-to-pdf-process '(texi2dvi --pdf --clean --verbose --batch %f))

hth,
Tom


Sanjib Sikder sanjibju2...@gmail.com writes:

 Hi,

 I tried the whole day trying the instructions through out various web pages
 to have references in scientific document without any success.

 C-c C-e p produces the pdf file with question mark in place of reference.

 I have attached four files.

 BibAbb1.bib is my bibliography file
 DOTemacs is the .emacs file
 TestSciDocu.org is the org file for scientific writing
 TestSciDocu.pdf is the output


 Please help me in geeting the citation correctly :(

 I am using emacs-snapshot on Ubuntu 12.04.

 Thanks



 -
 *Sanjib Sikder
 *Ph.D. Fellow
 Chemical Engineering
 IIT Bombay*

 *
 Hi,I tried the whole day trying the instructions through out various web 
 pages to have references in scientific document without any success.C-c C-e p 
 produces the pdf file with question mark in place of reference.


 I have attached four files.BibAbb1.bib is my bibliography fileDOTemacs is the 
 .emacs fileTestSciDocu.org is the org file for scientific 
 writingTestSciDocu.pdf is the outputPlease help me in geeting the citation 
 correctly :(


 I am using emacs-snapshot on Ubuntu 
 12.04.Thanks-span 
 style=color:rgb(102,102,102)Sanjib Sikder/spanspan 
 style=color:rgb(153,153,153)Ph.D. Fellow


 Chemical EngineeringIIT Bombay/span






-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] Erroneous No such file or directory with babel and remote dir

2012-09-26 Thread Nick Dokos
Achim Gratz strom...@nexgo.de wrote:

 Loris Bennett writes:
  Can you try to bisect and find the bad commit (or a set of 
  suspicious ones)?
 
  552b0edb254a104e441e28f3a942dc6005e97f87 is the first bad commit
  commit 552b0edb254a104e441e28f3a942dc6005e97f87
  Author: Bastien Guerry b...@altern.org
  Date:   Sat Mar 17 15:44:41 2012 +0100
 
 This is not the commit you're looking for...
 
 Please skip these commits after starting the bisect by doing
 
 git bisect skip 7e903acccd..df82832fb7
 
 If the offending change is inside that range we can still deal with it
 later.
 
 

I sent mail to Eric with some partial findings about this, but I guess I
should have sent it to the list as well. Here is what I sent to Eric
(slightly edited by adding a few commas):

--8---cut here---start-8---
Eric,

I went back to the above problem (see
http://thread.gmane.org/gmane.emacs.orgmode/57152/focus=60469 and the
associated thread) and I think I have taken it a bit further.

5cb80c7e5b9bca introduced the following bit of code at the end of 
org-babel-sh-evaluate:

,
|  ('otherwise  ; external shell script
| - (org-babel-eval org-babel-sh-command (org-babel-trim body))
| + (if (cdr (assoc :shebang params))
| +  (let ((script-file (org-babel-temp-file sh-script-))
| +(shebang (cdr (assoc :shebang params)))
| +(padline (not (string= no (cdr (assoc :padline params))
| +(with-temp-file script-file
| +  (when shebang (insert (concat shebang \n)))
| +  (when padline (insert \n))
| +  (insert body))
| +(set-file-modes script-file #o755)
| +(org-babel-eval script-file ))
| +   (org-babel-eval org-babel-sh-command (org-babel-trim body)))
`

So before, there was no if and we went straight into the org-babel-eval.
Now, the ``if'' seems to succeed all the time: the (cdr ..) returns  with
Loris's example and (org-babel-eval script-file ) returns nil.

If I modify the condition so that it takes the false path and executes
the (org-babel-eval org-babel-sh-command (org-babel-trim body)) form,
it works.

I have no idea if this is correct - but it does seem to me that in this
particular case, it's taking the wrong branch: in particular, if no
shebang is specified, it should go the way it used to before this
change. Of course, there is also the problem of specifying a
shebang *and* a remote dir which is not handled correctly by this
modification.

For the record, the change I made was:

- (if (cdr (assoc :shebang params))
+ (if (not (string= (cdr (assoc :shebang params)) ))

It's at the very least incomplete and it may be wrong, but I thought
I'd let you know.
--8---cut here---end---8---

HTH,
Nick




Re: [O] LaTeX export problem

2012-09-26 Thread Nicolas Goaziou
Hello,

Alexander Vorobiev alexander.vorob...@gmail.com writes:

 The next problem I have is babel-related. I create results of
 execution of my source blocks in org format so they are enclosed in
 #+BEGIN_ORG ... #END_ORG which gets translated by the new exporter
 into \begin{org} \end{org} - which makes pdflatex unhappy because the
 org environment is not defined anywhere. The old exported did not do
 anything like that. What do I have to do to make it work in the new
 exporter?

Nothing. New exporter doesn't support #+begin_org blocks, which should
be removed in master anyway.


Regards,

-- 
Nicolas Goaziou



Re: [O] Erroneous No such file or directory with babel and remote dir

2012-09-26 Thread Loris Bennett
Achim Gratz strom...@nexgo.de writes:

 Loris Bennett writes:
 Can you try to bisect and find the bad commit (or a set of 
 suspicious ones)?

 552b0edb254a104e441e28f3a942dc6005e97f87 is the first bad commit
 commit 552b0edb254a104e441e28f3a942dc6005e97f87
 Author: Bastien Guerry b...@altern.org
 Date:   Sat Mar 17 15:44:41 2012 +0100

 This is not the commit you're looking for...

 Please skip these commits after starting the bisect by doing

 git bisect skip 7e903acccd..df82832fb7

 If the offending change is inside that range we can still deal with it
 later.


 Regards,
 Achim.

OK.  I don't really get what is going on here, as this is my first
attempt at bisecting.  The bad commit does seem to be among those
skipped:

$ git bisect bad
There are only 'skip'ped commits left to test.
The first bad commit could be any of:
095e5786761d4edd51dfdfc9a69cd22b942096fa
b0e24a2b5e3ce872e9eb43462f03edf616438f57
cdd9e2b91a7b9257e4f94e0aacc8e470ac1c951a
73cbeabe1b457da1364547d7f2d89db889bec926
9382faf5927f84a2c496ae677d99b64517abeeb2
05847efd4ace13fda174c2f1d8dc354eb217ea35
c63275ca8ea46e0e96ab7ed70efe6bb937c39b29
82019bc7c7a786303e82cfa5891193acb3754606
b2913c9227504ffd31d616482d258f5b10f821fb
49dd6de08384f913f014ac06c24da4ff08ccdb6a
dab84afa7592e842ae866881c532cd60944bb0da
552b0edb254a104e441e28f3a942dc6005e97f87
b32d2f737d567222bdbdf742329b9a34d0dd069a
a1a01224d4c1f76761e3562c54020c04bfd3ac9b
ecd0562c5f6e69ce0e4546d9f64d8e89eda8eef1
5ed0384e51449e6462eed3a6ff4ecba6a6f52790
6bcba149195c2c281eefc3065dabe2ec1fdea687
4e5c24ea81c6758241a828e28ea44b75d36115e3
856f5c27fb11a1f034c80fc29c39f211434fc650
06b94ca884733eaefb0ec868d641da78ed536ceb
df82832fb7525e5d57f1e968334e1057329e95f2
6c911234ac66d62d99cb0c996dc10c938b2b3679
We cannot bisect more!


-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin Email loris.benn...@fu-berlin.de




[O] custom agenda view w/ tag filtering?

2012-09-26 Thread Matt Price
Is it possible to define a custom agenda view with tag filtering, but
in a date tree as in the weekly agenda?  I know I can just filter by
tag with / in the agenda mode, but I'd rather define a filtered view
for a couple of tags.  is this possible? I realaly like seeing my
action items arranged by date, now that I've gotten used to doing
that!  Thanks,
Matt



Re: [O] Erroneous No such file or directory with babel and remote dir

2012-09-26 Thread Achim Gratz
Loris Bennett writes:
 OK.  I don't really get what is going on here, as this is my first
 attempt at bisecting.  The bad commit does seem to be among those
 skipped:

I've done a diff around those commits and there seems nothing related to
your problem.  So I'm afraid you've marked another commit as bad that
rather should have been skipped.  The commits you skip have
problems, but unrelated to the bug you are hunting — it's important to
mark them correctly.


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

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables




Re: [O] Two modifications for source blocks processing (will be in 7.9.2)

2012-09-26 Thread Sebastien Vauban
Hi Thomas,

A (very) quick answer...

Thomas S. Dye wrote:
 Sebastien Vauban writes:
 Bastien wrote:
 this is to advertize two small modifications wrt source blocks
 processing.

 1) Please use :results drawer instead of :results wrap to insert
results like this:

#+BEGIN_SRC emacs-lisp :results drawer
(message a)
#+END_SRC

#+RESULTS:
:RESULTS:
a
:END:

 OK. That name is clearly better!

 2) Support for :results org has been removed.

 Why don't we have anymore #+begin/end_org blocks while we still have
 #+begin_html and #+begin_LaTeX blocks?  Org as the language seemed normal
 to insert blocks in Org-syntax.

 How will Org constructs be supported, for example headlines in the old
 #+begin/end_org blocks -- with the , used for protecting the export?

 #+begin_src org
 ,* This is an headline
 ,This is some text.
 #+end_src

You can either insert the results with :results raw or results drawer
if you need to tell the exporter to include/exclude the results (by
including/excluding the :RESULTS: drawer from export.)

 Will :RESULTS: drawers be included by default, to mimic the current support
 of #+begin/end_org blocks?

 :results org was a synonym for :results raw

No!

With :results raw, the raw output is inserted directly into the Org mode
buffer. This is a good option if your code block will output *Org mode
formatted text* (this will even be fontified as Org text you would have typed
yourself).

As there are *no obvious markers to delimit the results* in the Org mode file,
there is no way to know where raw results begin or end: raw results *cannot be
removed* from the buffer.

With :results org, raw Org mode results will be harmlessly *wrapped in a Org
mode block*. The #+begin/end_org block wrapper makes it possible for the
entirety of the results to be clearly located and replaced upon code block
re-evaluation.

 so I think small change here probably means that support for the synonym
 was dropped.

Hence, not a synonym.

 #+begin/end_org blocks should still work with the :wrap header argument,
  which hasn't been altered, IIUC.

No. AFAICT:

- wrap will disappear (renamed as drawer),

- drawer is not the same as the old org option (as the results gets
  inserted into a drawer, not into a block).

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] Two modifications for source blocks processing (will be in 7.9.2)

2012-09-26 Thread Eric Schulte
 - drawer is not the same as the old org option (as the results gets
   inserted into a drawer, not into a block).


And the difference here between an org block and a drawer is that the
contents of the drawer can not be exported?

-- 
Eric Schulte
http://cs.unm.edu/~eschulte



Re: [O] Org-mode release 7.9

2012-09-26 Thread Bastien
Hi Achim,

Achim Gratz strom...@nexgo.de writes:

 Bastien writes:
 I went bold (wikipedia style) and made the change.

 See the commits related to mk/server.mk.

 Have you pushed it? Coz' I don't see it just yet…

Yes -- see the commits here:

http://orgmode.org/w/org-mode.git?p=org-mode.git;a=commit;h=0955505
http://orgmode.org/w/org-mode.git?p=org-mode.git;a=commit;h=a1e645b
http://orgmode.org/w/org-mode.git?p=org-mode.git;a=commit;h=fdc795b

 I think this is good enough for now, but if you have a better
 solution, let me know.  I'll ask Jason to install Emacs 24.2
 if that's possible.

 I'll have a look.

Thanks,

-- 
 Bastien



Re: [O] org-url-hexify-p is not respected

2012-09-26 Thread Bastien
Hi Michael,

Michael Brand michael.ch.br...@gmail.com writes:

 On Sun, Sep 23, 2012 at 12:05 PM, Bastien b...@altern.org wrote:
   http://orgmode.org/w/org-mode.git?p=org-mode.git;a=commit;h=0906e3

 `org-link-to-org-use-id' has been moved to org-id.el, and its default
 value is now nil.

 The attached patch is to align the doc string to the changed default.

Applied, thanks! 

 Btw.: I always ask myself why has C-h v (describe-variable) never been
 told to not only list the current value but also the default when it
 is capable to point to the source with the definition?

It is the case for me (GNU Emacs 24.2.50.2):

,
| org-id-link-to-org-use-id is a variable defined in `org-id.el'.
| Its value is create-if-interactive-and-no-custom-id
| Original value was nil
`

HTH,

-- 
 Bastien



Re: [O] custom agenda view w/ tag filtering?

2012-09-26 Thread Bastien
Hi Matt,

Matt Price mopto...@gmail.com writes:

 Is it possible to define a custom agenda view with tag filtering, but
 in a date tree as in the weekly agenda?  

AFAIU yes: C-h v org-agenda-tag-filter-preset RET

-- 
 Bastien



[O] [FR] capture with one prompt dattree and time range (was: Re: [bug] org-capture datetree+prompt: wrong time (range) information in timestamp (%T escape sequence))

2012-09-26 Thread Gregor Zattler
Hi org-mode users + developers,

this no bug report any more but feature request:
* Gregor Zattler telegr...@gmx.net [25. Sep. 2012]:
 Is this somehow possible with only one prompt:
 
 - to be prompted for the date of the event or the date and time /
   time range of the appointment.
 - the event/appointment to be recorded in a date tree under it's
   respective date, not under today.
 - having a timestamp in the resulting heading
 - to see the respective time (range) information in the agenda if
   there is any.

It's already possible to file the event at it's date in the
datetree, it's also possible to give the starting time and to
expand the date and the starting time in a capture template.

It's not possible to expand a) no time information if none was
given at the prompt or to expand a given time range because the
%T expando family expands unconditionally and not to time ranges.

My feature request is for an additional expando (say %^d)
which does this.

Ciao, Gregor 
P.S.: Thanx to Bastien who proposed to explain in detail what is
already doable and what is not.  This guided me to this feature
request. 



Re: [O] [FR] capture with one prompt dattree and time range

2012-09-26 Thread Bastien
Hi Gregor,

Gregor Zattler telegr...@gmx.net writes:

 It's not possible to expand a) no time information if none was
 given at the prompt or to expand a given time range because the
 %T expando family expands unconditionally and not to time ranges.

%t and friends take the first element of the time range,
but %^t and friends (%^T %^u %^U) insert the full range.

Best,

-- 
 Bastien



Re: [O] agenda timeline filtered by date range

2012-09-26 Thread Bastien
Ho Johan,

Johan Sandblom j...@ndblom.se writes:

 Since a year or so I am using org-mode ever more intensively. Among other
 things, I use it to track my training in pediatric medicine. I keep a sort
 of combined diary and planner of events, courses and work schedules in a
 file called arbete.org, which tracks the four years since I started until
 as far into the future as there are concrete plans. Sometimes I like to
 discuss my progress with someone, and then I usually make an html export of
 the timeline in this file. The timeline is becoming rather long, but I do
 not feel it would make sense to divide it into several files since it is a
 logical compartment of life for me.

 Is it possible to limit the timeline (or perhaps a custom agenda view) to a
 specific date range, for instance a year or the fall of 2011? I have
 searched the manual and FAQs but have found nothing that addresses
 this. Perhaps this reflects my misuse of org-mode, but on the other hand it
 does seem a useful feature (which probably means it exists but somehow
 eludes me).

You can set `org-agenda-span' within a custom agenda view.

See this example:

(setq org-agenda-custom-commands
  '((  Next 10 days agenda List of rendez-vous for the next 10 days
 ((org-agenda-span 10)

Hope this helps,

-- 
 Bastien



Re: [O] org-metaup / org-metadown nerfed in 7.9.1

2012-09-26 Thread Trevor Vartanoff

Nicolas,

Org has its own definition for a paragraph, which, apparently, doesn't 
match yours.


A paragraph ends either at a blank line, at the end of the buffer, or at 
the start of another non-paragraph element. In particular, indentation 
is unrelated to paragraph boundaries.


If your definition of a paragraph excludes every single publication of 
fiction and nonfiction in the history of written language, you may want 
to rethink your definition. I think Charles Dickens knew what a 
paragraph boundary was.


Actually, it's worse than that: even if you agree that everyone using a 
computer should now separate all paragraphs with a blank line, it still 
means that for any form of writing with closely packed separate lines, 
such as song lyrics, poetry, Shakespeare plays, or even basic lists of 
todo items, org-mode no longer lets you shift the lines around.


I propose we implement an org-property value to decide which definition 
of element org-metaup should use. I'm glad to see an exception was 
made for node property, but that's only one of many, many problem cases.


Regards,
Trevor Vartanoff



Re: [O] Differences between MobileOrg and MobileOrgNG

2012-09-26 Thread Robert Eckl

Hi, 

Henning Weiss wrote:

 On Wed, Sep 19, 2012 at 12:53 AM, eckl.rob...@arcor.de wrote:
 Henning Weiss wrote:

 On Mon, Sep 17, 2012 at 9:20 PM, Robert Eckl wrote:

 If i Push the org-files under Windows with MobileOrg the different
 org-files are not synced, but with MobileOrgNG they are. If i push
 the org-files under Mac OS, the org-files are synced even with
 MobileOrg.

 This sounds like a known bug with org-mode on Windows, as it does not
 generate a complete checksum file. See the discussion here. It seems
 that changing from sha1sum.exe to md5sum.exe for the generation of the
 checksum file fixes that issue.
 Thank you very much for the hint. Changing sha1sum.exe to md5sum.exe did
 not change anything for me, but changing from Gnuwin sha1sum/md5sum to
 the one from ftp://ftp.gnupg.org/gcrypt/binary/sha1sum.exe seems to fix
 the issue for me.

 Does that mean that the default checksum generation utility of cygwin
 that is used by org-mode is broken? 

I don't think so.
 Will upgrading cygwin to a newer
 version fix this, or did you need to change your setup?

I'm using an emacs version from http://alpha.gnu.org/gnu/emacs/windows/.
At first there were no md5sum binary found. So i installed the coreutils
(and diffutils) from gnuwin32. Seems that these utils don't work
fine with emacs.

 I hope, other issues are fixed too. Sometimes org-mobile-push crashes
 because of IIRC unexpected hashes. If I remove the related
 agenda-file(s), do the push, and then add the files to the agenda-files
 the push sometimes is succesfull. I have no idea, how to fix it.

 Could you try to produce a minimal setup that produces this problem? I'm
 sure more people on windows have this problem. I would at least like to
 post a workaround for this issue on the mobileorg-android web page.

I can try this, but seems to be difficult, because removing the file
from the agende-file-list and adding it another time sometimes solves
the issue.

Invoking C-c C-x RET p from one file which begins with
# Time-stamp: 2012-09-27 Do 01:17:19 (re)
#+LAST_MOBILE_CHANGE: 2012-03-12 21:40:01
#TAGS: PHONE(p) URGENT(u) MAIL(e) Anwesenheit (a) Musik (m) Orgel (o) Cello (i)

I got an error, then I deleted line 2  
#+LAST_MOBILE_CHANGE: 2012-03-1221:40:01
the error no more occured.

After this i copied the line in another agenda-file from wich invoking
org-mobile-push does not result in an error.

The error did not occur with this changed file.
Then I copied the line in the first file and started org-mobile-push:

The error didn't occur further. So i am confused.

I'll play with this, but i think this will take much time. 

Do you speak german? Im thinking, you can better understand me, if i
could write in german.

Thanks,

Robert



Re: [O] Possible bug org-refile on make install

2012-09-26 Thread Charles

On 9/26/2012 10:27 AM, Bastien wrote:

Hi Charles,

Charles mill...@verizon.net writes:


I recently installed cygwin 1.7.16  and pulled recent org mode changes from
git.

Towards the end of compiling there was the following message

 In org-copy org.el:10923:15 Warning: org-refile called with 4 arguments
but only accepts 0 - 3.

That's because the compiler was referring to the loaded version of
org-refile, which differed from the one he compiled later on.


Bastien,

Thank you for the explanation.

Charlie



Re: [O] auto-fill non-op, fill-paragraph error

2012-09-26 Thread Edward DeMeulle
Unfortunately, I am still experiencing the problem with
release_7.9.1-382-g1a1d06-git. Is there any information I can provide to
help?





Re: [O] org-metaup / org-metadown nerfed in 7.9.1

2012-09-26 Thread Jonathan Leech-Pepin
Hello Trevor,

On 26 September 2012 19:18, Trevor Vartanoff t...@codepuzzles.org wrote:

 Nicolas,


 Org has its own definition for a paragraph, which, apparently, doesn't
 match yours.

 A paragraph ends either at a blank line, at the end of the buffer, or at
 the start of another non-paragraph element. In particular, indentation is
 unrelated to paragraph boundaries.

 If your definition of a paragraph excludes every single publication of
 fiction and nonfiction in the history of written language, you may want to
 rethink your definition. I think Charles Dickens knew what a paragraph
 boundary was.

LaTeX uses the same paragraph definition, it splits on blank lines.
So does the old exporter.  By default if there is not a blank line
they treat it as a continuation of the previous.  If you treat it
otherwise how do you tell the difference between a manual break and
wrapped text that went to the next line?

 Actually, it's worse than that: even if you agree that everyone using a
 computer should now separate all paragraphs with a blank line, it still
 means that for any form of writing with closely packed separate lines, such
 as song lyrics, poetry, Shakespeare plays, or even basic lists of todo
 items, org-mode no longer lets you shift the lines around.

Basic lists of todo items will still work fine, Org treats list items
as their own elements and can be moved using org-metaup/down.  It will
also move paragraphs/verses for poetry and theater.  =transpose-lines=
( C-x C-t ) can be used to move the individual lines around
individually.

 I propose we implement an org-property value to decide which definition of
 element org-metaup should use. I'm glad to see an exception was made for
 node property, but that's only one of many, many problem cases.

 Regards,
 Trevor Vartanoff


Regards,
Jon



Re: [O] org-metaup / org-metadown nerfed in 7.9.1

2012-09-26 Thread Trevor Vartanoff

Jonathan,

I should have been more clear on what I meant by basic, quite idiotic 
of me and sorry for the confusion.


If you write ten words on ten lines, you can't shift things around 
anymore until you've put everything into an Official Orgmode Endorsed 
Structure of some kind. Sometimes I don't need to bother. Sometimes 
while I'm creating the list, I don't decide until later whether to make 
it headings or list, and I need to be able to shift its items around first.


Org-mode successfully taught me that I can move _everything_ around. 
I've happily adapted to this freedom, and now it wants to take it away. 
So, I apologize for my whining, but to me it it is as unexpected as if I 
updated Emacs and the macros stopped working.





Re: [O] Fwd: Citation in org mode does not compile

2012-09-26 Thread Sanjib Sikder
HI,

(setq org-latex-to-pdf-process '(texi2dvi --pdf --clean --verbose --batch
%f))

I have incorporated above line in my .emacs file. Now the C-c C-e p is not
showing the error Undefined citation but the problem is still there. In
place of refrences, I am getting questions marks.

Thanks for your response.

-
*Sanjib Sikder
*Ph.D. Fellow
Chemical Engineering
IIT Bombay*

*



On Thu, Sep 27, 2012 at 12:08 AM, Thomas S. Dye t...@tsdye.com wrote:

 Aloha Sanjib Sikder,

 It looks like BibTeX hasn't processed your document.

 See the variable org-latex-to-pdf-process. By default I believe it just
 calls pdflatex several times.  You can either insert a call to bibtex,
 or use a script, like this:

 (setq org-latex-to-pdf-process '(texi2dvi --pdf --clean --verbose --batch
 %f))

 hth,
 Tom


 Sanjib Sikder sanjibju2...@gmail.com writes:

  Hi,
 
  I tried the whole day trying the instructions through out various web
 pages
  to have references in scientific document without any success.
 
  C-c C-e p produces the pdf file with question mark in place of reference.
 
  I have attached four files.
 
  BibAbb1.bib is my bibliography file
  DOTemacs is the .emacs file
  TestSciDocu.org is the org file for scientific writing
  TestSciDocu.pdf is the output
 
 
  Please help me in geeting the citation correctly :(
 
  I am using emacs-snapshot on Ubuntu 12.04.
 
  Thanks
 
 
 
  -
  *Sanjib Sikder
  *Ph.D. Fellow
  Chemical Engineering
  IIT Bombay*
 
  *
  Hi,I tried the whole day trying the instructions through out various web
 pages to have references in scientific document without any success.C-c C-e
 p produces the pdf file with question mark in place of reference.
 
 
  I have attached four files.BibAbb1.bib is my bibliography fileDOTemacs
 is the .emacs fileTestSciDocu.org is the org file for scientific
 writingTestSciDocu.pdf is the outputPlease help me in geeting the citation
 correctly :(
 
 
  I am using emacs-snapshot on Ubuntu
 12.04.Thanks-span
 style=color:rgb(102,102,102)Sanjib Sikder/spanspan
 style=color:rgb(153,153,153)Ph.D. Fellow
 
 
  Chemical EngineeringIIT Bombay/span
 
 
 
 
 

 --
 Thomas S. Dye
 http://www.tsdye.com



Re: [O] orgmode + evernote, anyone using it? Use cases?

2012-09-26 Thread Eric Abrahamsen
On Wed, Sep 26 2012, Alan Schmitt wrote:

 Eden Cardim e...@insoli.de writes:

 Alan == Alan Schmitt alan.schm...@polytechnique.org writes:
 Alan Do you have a reliable system to link to emails? I've been
 Alan working on this and I'm not too satisfied yet.

 Not sure what you mean by reliable. I use offlineimap to sync my mail
 to a local dovecot which I access by tunneling gnus to it. This means
 I can access emails anywhere, like on a plane.

 Sorry I wasn't clear. I have the same setup. My question is: how do you
 get a link from org to gnus that still works even if messages are moved
 around. I tried nnregistry but it stopped working after I upgraded to
 Emacs 24.2, so I'd be happy for other solutions.

I'm using the gnus registry for exactly this, and it works fine
(development version of gnus). It's not called 'nnregistry' here, could
they be different things? I'm just calling

(gnus-registry-initialize)

And then setting some relevant variables -- works like a charm.

E

-- 
GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.4)
 of 2012-09-16 on pellet
7.9.1




Re: [O] Fwd: Citation in org mode does not compile

2012-09-26 Thread Yagnesh Raghava Yakkala

Hello Sanjib,

Sanjib Sikder sanjibju2...@gmail.com writes:

 HI,

 Just now I have found that now I am not even getting the pdf. I am pasting the
 error messages below.

 /usr/bin/texi2dvi: Processing /home/sanjib/Ubuntu
 One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.tex ...
 /usr/bin/texi2dvi: BIBINPUTS='.:/home/sanjib/Ubuntu
 One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
 One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
 /usr/bin/texi2dvi: BSTINPUTS='.:/home/sanjib/Ubuntu
 One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
 One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
 /usr/bin/texi2dvi: DVIPSHEADERS='.:/home/sanjib/Ubuntu
 One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
 One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
 /usr/bin/texi2dvi: INDEXSTYLE='.:/home/sanjib/Ubuntu
 One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
 One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
 /usr/bin/texi2dvi: MFINPUTS='.:/home/sanjib/Ubuntu
 One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
 One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
 /usr/bin/texi2dvi: MPINPUTS='.:/home/sanjib/Ubuntu
 One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
 One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
 /usr/bin/texi2dvi: TEXINPUTS='.:/home/sanjib/Ubuntu
 One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
 One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
 /usr/bin/texi2dvi: TFMFONTS='.:/home/sanjib/Ubuntu
 One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
 One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
 /usr/bin/texi2dvi: cd /home/sanjib/Ubuntu
 One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.t2d/pdf/build
 /usr/bin/texi2dvi: Cycle 1 for /home/sanjib/Ubuntu
 One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.tex
 /usr/bin/texi2dvi: Running rm -f TestSciDocu.tex
 /usr/bin/texi2dvi: Running ln -s /home/sanjib/Ubuntu
 One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.tex
 /usr/bin/texi2dvi: /usr/bin/texi2dvi: Running pdflatex --file-line-error
 /dev/null '
 onstopmode' 'This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
 entering extended mode
 LaTeX2e 2009/09/24
 Babel v3.8l and hyphenation patterns for english, usenglishmax, dumylang,
 noh
 yphenation, loaded.

 (./TestSciDocu.tex (/usr/share/texmf-texlive/tex/latex/base/article.cls
 Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
 (/usr/share/texmf-texlive/tex/latex/base/size11.clo))
 (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
 (/usr/share/texmf-texlive/tex/latex/base/utf8.def
 (/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu)
 (/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu)
 (/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu)))
 (/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
 (/usr/share/texmf-texlive/tex/latex/base/t1enc.def))
 (/usr/share/texmf-texlive/tex/latex/base/fixltx2e.sty)
 (/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
 (/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
 (/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
 (/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)
 (/etc/texmf/tex/latex/config/graphics.cfg)
 (/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def)))
 (/usr/share/texmf-texlive/tex/latex/tools/longtable.sty)
 (/usr/share/texmf-texlive/tex/latex/float/float.sty)
 (/usr/share/texmf-texlive/tex/latex/wrapfig/wrapfig.sty)
 (/usr/share/texmf-texlive/tex/latex/soul/soul.sty)
 (/usr/share/texmf-texlive/tex/latex/base/textcomp.sty
 (/usr/share/texmf-texlive/tex/latex/base/ts1enc.def
 (/usr/share/texmf-texlive/tex/latex/base/ts1enc.dfu)))
 (/usr/share/texmf-texlive/tex/latex/marvosym/marvosym.sty)
 (/usr/share/texmf-texlive/tex/latex/wasysym/wasysym.sty)
 (/usr/share/texmf-texlive/tex/latex/base/latexsym.sty)
 (/usr/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty
 (/usr/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty))
 (/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty
 (/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty)
 (/usr/share/texmf-texlive/tex/generic/oberdiek/ifvtex.sty)
 (/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)
 (/usr/share/texmf-texlive/tex/latex/oberdiek/hycolor.sty
 (/usr/share/texmf-texlive/tex/latex/oberdiek/xcolor-patch.sty))
 (/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def)
 (/usr/share/texmf-texlive/tex/generic/oberdiek/etexcmds.sty
 (/usr/share/texmf-texlive/tex/generic/oberdiek/infwarerr.sty))
 (/usr/share/texmf-texlive/tex/latex/latexconfig/hyperref.cfg)
 (/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
 (/usr/share/texmf-texlive/tex/generic/oberdiek/kvsetkeys.sty))
 Implicit mode ON; LaTeX internals redefined
 (/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty)
 (/usr/share/texmf-texlive/tex/generic/oberdiek/bitset.sty
 (/usr/share/texmf-texlive/tex/generic/oberdiek/intcalc.sty)
 (/usr/share/texmf-texlive/tex/generic/oberdiek/bigintcalc.sty
 (/usr/share/texmf-texlive/tex/generic/oberdiek/pdftexcmds.sty
 (/usr/share/texmf-texlive/tex/generic/oberdiek/ifluatex.sty)
 

Re: [O] Fwd: Citation in org mode does not compile

2012-09-26 Thread Sanjib Sikder
HI Yagnesh,

I have tried with

(setq org-latex-to-pdf-process
  '(pdflatex -interaction nonstopmode %b
/usr/bin/bibtex %b
pdflatex -interaction nonstopmode %b
pdflatex -interaction nonstopmode %b))

and the problem seems solved.

I can see there are two instances of emacs one is Emacs Snapshot (GTK) and
the other is Emacs Snapshot (Client). The GTK is properly producing the pdf
with references.

What is the difference between clint and GTK? Which on shall I use and when
?

Thanks a lot. :)

-
*Sanjib Sikder
*Ph.D. Fellow
Chemical Engineering
IIT Bombay*

*



On Thu, Sep 27, 2012 at 9:16 AM, Yagnesh Raghava Yakkala 
h...@yagnesh.orgwrote:


 Hello Sanjib,

 Sanjib Sikder sanjibju2...@gmail.com writes:

  HI,
 
  Just now I have found that now I am not even getting the pdf. I am
 pasting the
  error messages below.
 
  /usr/bin/texi2dvi: Processing /home/sanjib/Ubuntu
  One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.tex ...
  /usr/bin/texi2dvi: BIBINPUTS='.:/home/sanjib/Ubuntu
  One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
  One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
  /usr/bin/texi2dvi: BSTINPUTS='.:/home/sanjib/Ubuntu
  One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
  One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
  /usr/bin/texi2dvi: DVIPSHEADERS='.:/home/sanjib/Ubuntu
  One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
  One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
  /usr/bin/texi2dvi: INDEXSTYLE='.:/home/sanjib/Ubuntu
  One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
  One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
  /usr/bin/texi2dvi: MFINPUTS='.:/home/sanjib/Ubuntu
  One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
  One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
  /usr/bin/texi2dvi: MPINPUTS='.:/home/sanjib/Ubuntu
  One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
  One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
  /usr/bin/texi2dvi: TEXINPUTS='.:/home/sanjib/Ubuntu
  One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
  One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
  /usr/bin/texi2dvi: TFMFONTS='.:/home/sanjib/Ubuntu
  One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
  One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
  /usr/bin/texi2dvi: cd /home/sanjib/Ubuntu
  One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.t2d/pdf/build
  /usr/bin/texi2dvi: Cycle 1 for /home/sanjib/Ubuntu
  One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.tex
  /usr/bin/texi2dvi: Running rm -f TestSciDocu.tex
  /usr/bin/texi2dvi: Running ln -s /home/sanjib/Ubuntu
  One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.tex
  /usr/bin/texi2dvi: /usr/bin/texi2dvi: Running pdflatex --file-line-error
  /dev/null '
  onstopmode' 'This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live
 2009/Debian)
  entering extended mode
  LaTeX2e 2009/09/24
  Babel v3.8l and hyphenation patterns for english, usenglishmax,
 dumylang,
  noh
  yphenation, loaded.
 
  (./TestSciDocu.tex (/usr/share/texmf-texlive/tex/latex/base/article.cls
  Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
  (/usr/share/texmf-texlive/tex/latex/base/size11.clo))
  (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
  (/usr/share/texmf-texlive/tex/latex/base/utf8.def
  (/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu)
  (/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu)
  (/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu)))
  (/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
  (/usr/share/texmf-texlive/tex/latex/base/t1enc.def))
  (/usr/share/texmf-texlive/tex/latex/base/fixltx2e.sty)
  (/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
  (/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
  (/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
  (/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)
  (/etc/texmf/tex/latex/config/graphics.cfg)
  (/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def)))
  (/usr/share/texmf-texlive/tex/latex/tools/longtable.sty)
  (/usr/share/texmf-texlive/tex/latex/float/float.sty)
  (/usr/share/texmf-texlive/tex/latex/wrapfig/wrapfig.sty)
  (/usr/share/texmf-texlive/tex/latex/soul/soul.sty)
  (/usr/share/texmf-texlive/tex/latex/base/textcomp.sty
  (/usr/share/texmf-texlive/tex/latex/base/ts1enc.def
  (/usr/share/texmf-texlive/tex/latex/base/ts1enc.dfu)))
  (/usr/share/texmf-texlive/tex/latex/marvosym/marvosym.sty)
  (/usr/share/texmf-texlive/tex/latex/wasysym/wasysym.sty)
  (/usr/share/texmf-texlive/tex/latex/base/latexsym.sty)
  (/usr/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty
  (/usr/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty))
  (/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty
  (/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty)
  (/usr/share/texmf-texlive/tex/generic/oberdiek/ifvtex.sty)
  (/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)
  (/usr/share/texmf-texlive/tex/latex/oberdiek/hycolor.sty
  (/usr/share/texmf-texlive/tex/latex/oberdiek/xcolor-patch.sty))
  

Re: [O] New user, my use case, request basic advice

2012-09-26 Thread Erik Hetzner
At Mon, 17 Sep 2012 12:03:58 -0700,
David Rogers wrote:
 
 Hi
 
 I'm gradually getting accustomed to org-mode; thanks to all those whose
 work makes this great software keep getting even better.
 
 I've been trying to figure out how to integrate org-mode into my
 gadgets and my situation, and realize that I've been thinking about
 it upside down. The missing piece of the puzzle, for me, the thing I
 don't know how to accomplish, is the most important one to have. So,
 here's what I've got and what I'm trying to do:

 […]

 Thanks for any thoughts or advice on how this might be done.

Hi David,

My setup, for slightly different goals, but which could probably meet
your needs, is as follows.

I keep my computers (laptop, work desktop,  server) notes directory
(which contain my org files) synced using gitdocs [1]. This means that
I always have the same org files on each machine. You could use the
same setup to keep your org files synced with a server and use the
rest of the setup below to accomplish mobile syncing.

(Some remarks on gitdocs follow. Disadvantages: if I leave an org file
open on one machine, and it gets updated on another, emacs complains
because the file has changed. Alternatives: sync using dropbox.)

I have an android phone, on which I use mobileorg. I use this, as near
as I can tell, in the ordinary way, except that I run
org-mobile-pull/push in crontabs on a server (actually, I just set
this up, but it seems to work). Because my notes are synced (via
gitdocs) across computers, this works fine.

  15 * * * * emacs24 --batch -l /home/egh/.emacs --eval (org-mobile-pull)
  20 * * * * emacs24 --batch -l /home/egh/.emacs --eval (org-mobile-push)

I use org-caldav to sync my events to a google calendar. This is
connected to my calendar on android. I suppose that I could use the
mobileorg sync calendar function, but this seemed safer. My phone has
a widget on the main screen that displays my next appointment. I
assume that getting audible notifications is just a matter of
settings.

I run the caldav sync on my server [2] every hour, using the
following:

  10 * * * * emacs24 --batch -l /home/egh/.emacs --eval (load-library 
\org-caldav\) --eval (org-caldav-sync)  /dev/null 21

Because my server’s notes dir is synced (using gitdocs) with my laptop
 desktop, if I add an appointment on my laptop or desktop, it should
be pushed to my google calendar in an hour at most.

For the record, I also run the following:

  0 5 * * * emacs --batch -l /home/egh/.emacs --eval 
(org-batch-store-agenda-views)  /dev/null 21  mailx -s Agenda 
e...@e6h.org  /tmp/agenda_schedule_day

This generates an agenda  emails it to me daily. Furthermore, my
agenda is pushed to an HTTP server, and I use it as my home page. So I
look at it every time I see a new browser window.

Hope that helps!

best, Erik

1. https://github.com/bazaarlabs/gitdocs
2. Note that getting credentials set up is a little tricky. See
https://github.com/dengste/org-caldav/issues/2
Sent from my free software system http://fsf.org/.


Re: [O] Fwd: Citation in org mode does not compile

2012-09-26 Thread Yagnesh Raghava Yakkala

Hello Sanjib,

Sanjib Sikder sanjibju2...@gmail.com writes:

 HI Yagnesh,

 I have tried with 

 (setq org-latex-to-pdf-process
 '(pdflatex -interaction nonstopmode %b
 /usr/bin/bibtex %b
 pdflatex -interaction nonstopmode %b
 pdflatex -interaction nonstopmode %b))

 and the problem seems solved.

 I can see there are two instances of emacs one is Emacs Snapshot (GTK) and the
 other is Emacs Snapshot (Client). The GTK is properly producing the pdf with
 references.


 What is the difference between clint and GTK? Which on shall I use and when ?

I am not sure what you mean by instance here (from terminal ps command?). 

--8---cut here---start-8---
okhotsk19:~$ ps aux | grep emacs
Grepping for processes matching emacs...
yagnesh993  1.1  4.8 364704 99604 pts/0S12:59   0:46 emacs
yagnesh   5300  0.1  0.0   4024   596 pts/4S+   14:06   0:00 emacsclient -tc
--8---cut here---end---8---

both emacs and emacsclient would/should behave the same way (mostly).

Thanks.,
-- 
ఎందరో మహానుభావులు అందరికి వందనములు
YYR



Re: [O] Fwd: Citation in org mode does not compile

2012-09-26 Thread Nick Dokos
Yagnesh Raghava Yakkala h...@yagnesh.org wrote:

 Seems problem with texi2dvi, unable to handle spaces in the path
 (Ubuntu One has space).I haven't followed the discussion. I am not
 sure why you have texi2dvi in the processes list.

texi2dvi is supposed to take care of things like how many times one
has to call pdflatex, whether to call bibtex etc. It would be the best
solution for this problem, if it didn't have a couple of problems of its
own. Maybe one of these days...

Nick

 I set org-latex-to-pdf-process to the following whenever I want bibtex to
 process the exported document.
 
 (setq org-latex-to-pdf-process
   '(pdflatex -interaction nonstopmode %b
 /usr/bin/bibtex %b
 pdflatex -interaction nonstopmode %b
 pdflatex -interaction nonstopmode %b))
 




[O] org-priority-faces has no effect - how to define line colors in org-mode?

2012-09-26 Thread M

My problem is: my agenda is very long and very cluttered.
I'd like to visually emphasize all lines
A) with priority A or deadline today
B) priority B and scheduled today or before today
 

I'm using org-mode 7.8.11 with Emacs 24.1.1 and I want to change the colors
used to display agenda lines, so that e. g. all lines with priority A are
shown in red bold font.

I tried to change the variable org-priority-faces but it has no effect:

 org-priority-faces is a variable defined in `org-faces.el'.
 Its value is ((A :foreground #E01B4C :weight bold)
 (B :foreground #1739BF)
 (#C :foreground #575757))

What am I doing wrong? Could other configurations overwrite this new
setting?

I tried a lot of things, but I must be doing something wrong with the
org-priority-faces values.

Martin





Re: [O] Two modifications for source blocks processing (will be in 7.9.2)

2012-09-26 Thread Achim Gratz
Bastien writes:
#+BEGIN_SRC emacs-lisp :results drawer
(message a)
#+END_SRC

#+RESULTS:
:RESULTS:
a
:END:

What's the purpose of the #+RESULTS, why not just specify :results
:DRAWERNAME:?


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

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables




Re: [O] Org-mode release 7.9

2012-09-26 Thread Achim Gratz
Bastien writes:
 Have you pushed it? Coz' I don't see it just yet…

 Yes -- see the commits here:

Thanks.  Gitk apparently refused to update its display even though I'd
already updated the remotes.  I haven't tested it yet, but the
files are up already.

BTW, can you check the CSS for the Org site?  There is an error in the
float element (the : after right should really be a ;).  Also I
would really appreciate if the CSS didn't specify absolute font sizes.
Please leave it to the user to decide how big or small the fonts should
be.


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

DIY Stuff:
http://Synth.Stromeko.net/DIY.html