Re: [O] fast navigation

2011-12-20 Thread sergio
On 12/20/2011 11:54 AM, Eric Abrahamsen wrote:

 the above does not behave that way for me, it does what you're
 expecting it to.
It's strange, may be it's my poorly explanation, or all is clear?
Have you tried to switch ido off? I'm not sure that I'm using it.

 I'm using emacs 24, but I don't see why that would affect this.
I'm using 23.3+1-4 from debian sid, but I also don't believe that it's
emacs problem.

 Also, (require 'ido) is enough to make ido work, including org's use
 of it.
OK, I wrote:
(require 'ido)
(setq org-completion-use-ido t)
in my .emacs.d/init.el. After that I run emacs file.org, press C-c C-j
and I doesn't see any changes with previous configuration.

 I saw in one of your other threads that you're starting with emacs -Q --
 is that true for this problem as well?
1) there was -q
2) it was for debug propose, usually I just run emacs path_to/file.org


-- 
sergio.



Re: [O] fast navigation

2011-12-20 Thread sergio
On 12/20/2011 11:54 AM, Eric Abrahamsen wrote:

I just removed org-mode package. With org-mode from emacs (6.33x) all
works fine. After this I've downloaded and installed org-mode from the
web --- problem comes back.


-- 
sergio.



[O] org-export-icalendar-combine-agenda-files and org-agenda-include-diary

2011-12-20 Thread Leonidas Tsampros
Hello,

I've been trying to setup a 'Calendar integration' between various data
sources and org, that looks like this:


[ facebook ] ---\
[ last.fm  ] +---(icalendar-import-file)--- [ Emacs-diary ~/diary ]
[ random   ] ---/

This was the easy part. All events seem to get parsed correctly by
icalendar-import-file and through org-agenda-include-diary all the
events correctly show up on the Org-Agenda view.

The problem is that I now want to export from org-mode an ICS file that
will include everything the agenda shows in order to import it into
google calendar.

Using org-export-icalendar-combine-agenda-files I get a very nice 'ics'
file that includes all active timestamps from all org files, however the
events from the diary do not exist.

Is there a way to get the diary events too into the exported ics files
when invoking org-export-icalendar-combine-agenda-files?

Best Regards,
Leonidas Tsampros

PS: The reason I do want Google calendar is because it's the easiest way
to get calendar integration with my phone.




[O] org-goto outline-path-completion bugs

2011-12-20 Thread Leo Alekseyev
I recently upgraded to the latest version of org (from 7.4) and found
that org-goto started exhibiting the following bugs when used in
outline-path-completion mode:


1. If the point is before the first heading, org-goto will fail with
Before first headline at position 1 in buffer 

2. If the point is on a heading, org-goto will effectively not see
this heading or its children.  For instance, in the following
hierarchy:
* foo
** bar
* baz

when the point is somewhere on * foo, the whole * foo subtree is
effectively invisible in org-goto

3. Similarly, when used with ido completion, the current heading and
its children are excluded from ido completion list and are
inaccessible.

I am seeing this on Linux Mint 12, GNU Emacs 24.0.92.1
(x86_64-pc-linux-gnu, GTK+ Version 3.2.0)

With a different version of emacs, GNU Emacs 23.3.1
(x86_64-pc-linux-gnu, GTK+ Version 2.24.5), I don't see behavior (2)
-- the heading at point is in fact visible to org-goto.  However, the
ido completing read is still broken.



Re: [O] fast navigation

2011-12-20 Thread Leo Alekseyev
This very much looks like a bug to me.  I just upgraded from 7.4 to
7.8 of org and am starting to see this behavior.  It's even more
broken when combined with ido completion (which is what I use).  I
just wrote a separate post to the mailing list (I wrote it before I
saw this thread); it might be useful to take the conversation there.

--Leo

On Tue, Dec 20, 2011 at 7:24 AM, sergio mail...@sergio.spb.ru wrote:
 On 12/20/2011 11:54 AM, Eric Abrahamsen wrote:

 I just removed org-mode package. With org-mode from emacs (6.33x) all
 works fine. After this I've downloaded and installed org-mode from the
 web --- problem comes back.


 --
 sergio.




Re: [O] [DEV] Package org-find-timestamps on worg

2011-12-20 Thread Marc-Oliver Ihm

Hello Bernt,

Frankly spoken, I did not know, that so much of the functionality I tried to 
implement
was already present in orgmode (and I have been using it for a while now ...).

So I will have to check, what, if anything at all, makes a point for using my 
package.

Thanx for your explanations,
which not at last have taught me, never to underestimate the broadness and 
depth of orgmode :-)

with kind regards, Marc-Oliver Ihm

Am 20.12.2011 01:12, schrieb Bernt Hansen:

Marc-Oliver Ihmmarc-oliver@online.de  writes:


There is probably some overlap here, but I do not see a way to find the 
timstamps of CLOSED entries
with the agenda. So the agenda does not show what you have accomplished, only 
what is still open.

Another point are maybe inactive timestamps, which I use a lot to
simply mark my notes with the current date.
I do not know, if they readily show up in the agenda.


Try this in the daily/weekly agenda view:

C-u l
   to show clock logs, state changes, and closed time stamps
[
   to show inactive timestamps

HTH,
Bernt








Re: [O] ODT export custom link colors?

2011-12-20 Thread Gary Oberbrunner
Thanks guys -- I have it working.  I do wish there was a way to define odt
styles inline so I didn't have to edit my styles.xml but I guess that's
unavoidable (?).  I have the styles showing up in the odt style dialog, and
my inline odt code invokes it from my custom link type.  Thanks!

-- 
-- Gary


Re: [O] Patch for org-beamer.el: mark frames containing \lstinline as fragile

2011-12-20 Thread Bastien
Hi Christoph,

Christoph LANGE ch.la...@jacobs-university.de writes:

 please find attached a patch for org-beamer.el that also recognizes
 \lstinline and \verb as commands that make a frame fragile.

Applied, thanks!

-- 
 Bastien



Re: [O] [PATCH] Manual: Consistently use 'Org mode'

2011-12-20 Thread Bastien
Hi Michael,

Michael Hannon jm_han...@yahoo.com writes:

 Doesn't this depend on the way Org mode is being used in the sentence?

 If it's used as a noun, as in, say:

 Org mode is one of the best features of Emacs.

 then I'd expect there not to be a hyphen.

 But if it's used as an adjective, as in, say:

 There are so many Org-mode features it's hard to wrap my brain around
 all of them.

 then I'd expect there would be a hyphen.

I tend to agree -- but I'm not a native english speaker and I'm not 
sure what feels more natural.  So I followed the text.texi manual in
Emacs (see doc/emacs/text.texi) and I see that Outline mode is used 
with no hyphen, even when used as an adjective.

Anyway, we can still improve this later on.

Thanks,

-- 
 Bastien



Re: [O] descriptions about org-cycle is separated

2011-12-20 Thread Bastien
Dear Takaaki,

Takaaki ISHIKAWA tak...@ieee.org writes:

 Descriptions about org-cycle is separated in the
 Org manual, section 2.7.

 http://orgmode.org/manual/Plain-lists.html#Plain-lists

 Is there any reason for this?

This isolated occurrence of `org-cycle' is about cycling
in plain lists.  There are many more occurrences of this 
notion -- typing `i' in the info manual then `cycling TAB' 
lead at least to two references.

And org-cycle is mostly documented in `Visibility cycling'
so I think things are fine here.  But please provide a patch
with a fix, perhaps I misunderstood what you suggestion!

Thanks,

-- 
 Bastien



Re: [O] fast navigation

2011-12-20 Thread Bastien
Hi Sergio,

sergio mail...@sergio.spb.ru writes:

 On 12/20/2011 11:54 AM, Eric Abrahamsen wrote:

 I just removed org-mode package. With org-mode from emacs (6.33x) all
 works fine. After this I've downloaded and installed org-mode from the
 web --- problem comes back.

I'm lost here -- can you restate the bug and provide a simple way to
reproduce it with emacs -Q (no configuration) and Org 7.8.02?

Thanks!

-- 
 Bastien



Re: [O] [PATCH] Manual: Consistently use 'Org mode'

2011-12-20 Thread Bastien
Hi Julian,

Julian Gehring julian.gehr...@googlemail.com writes:

 Manual: Consistently use 'Org mode'

I've applied this patch.  Thanks!   

-- 
 Bastien



Re: [O] [PATCH] Escape link path only if path contains space or non-ascii character

2011-12-20 Thread Bastien
Hi David,

David Maus dm...@ictsoc.de writes:

 Attached patch should take care of mistakenly double-escaped links as
 reported by Jeff Horn in http://article.gmane.org/gmane.emacs.orgmode/48731.

 This patch might break `org-open-at-point' for some users if the
 target application does not deal with (possibly) unescaped URLs. The
 alternative to the guesswork would require parsing und analyzing the
 link and its components (path, query, fragment) and check for
 characters that absolutely need escaping depeding on the link type.

 Hopefully this solution is good enough.

Guessing is probably safe here -- tests will tell.  Thanks for 
following this issue so closely and thanks for the patch!  I've
now applied it.

Best,

-- 
 Bastien



Re: [O] org file for reference card?

2011-12-20 Thread Bastien
Hi Vikas,

Vikas Rawal vikasli...@agrarianresearch.org writes:

 Isn't it odd that a tex file is distributed with orgmode, a pdf and a
 text file available on the website. Should we not have a .org version
 of the reference card? 

Good idea -- can you draft something in .org and upload it to Worg?

  http://orgmode.org/worg/

 Can't orgmode produce the reference card pdf from a .org file?

That's another story.  We cannot do this for now, but future is
always uncertain :)

-- 
 Bastien



Re: [O] How to set a property defaults in a capture template.

2011-12-20 Thread Bastien
dlc d...@coateconnection.com writes:

 I have attempted to use the expansion %(SEXP) along with the property
 api as in the following but it does not work because Emacs-Lisp
 doesn't support nested strings (right?) I am just learning
 emacs-lisp, so I'm am sure my lack of knowledge is at work here.

 (setq org-capture-templates
 '(
   (t Test adding property entry (file ~/people.org)
 * Test Entry %(org-entry-put (point) STYLE habit)
)
( another template
)
   ))  

Shooting in the dark: if this is just a matter of nested strings,
you can try to simply escape the double-quotes in your template.

  * Test Entry %(org-entry-put (point) \STYLE\ \habit\)

(Caveat: I didn't check the whole syntax of your setq above...
hope that helps anyway.)

-- 
 Bastien



Re: [O] The Org-ODT exporter is now in Org's core (latest git)

2011-12-20 Thread Bastien
Hi Dave,

Dave Marquardt davem...@us.ibm.com writes:

 I modified the Makefile to do what I expected.  With this change, make
 install copies the style files to $(prefix)/share/emacs/etc/styles, and
 ODT export now works as expected.

Thanks for the patch -- I've applied it, using 

  etcdir= $(lispdir)/../etc

as Achim suggested.

Best,

-- 
 Bastien



Re: [O] Refresh of http://orgmode.org

2011-12-20 Thread Bastien
Hi Achim,

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

 The wayback archive has a correct version of that file:
 http://web.archive.org/web/20100925104250/http://orgmode.org/org-mode-unicorn.ico

Thanks -- both org-mode-unicorn.ico and favicon.ico should work 
fine now.

-- 
 Bastien



Re: [O] The Org-ODT exporter is now in Org's core (latest git)

2011-12-20 Thread Dave Marquardt
Bastien b...@altern.org writes:

 Hi Dave,

 Dave Marquardt davem...@us.ibm.com writes:

 I modified the Makefile to do what I expected.  With this change, make
 install copies the style files to $(prefix)/share/emacs/etc/styles, and
 ODT export now works as expected.

 Thanks for the patch -- I've applied it, using 

   etcdir= $(lispdir)/../etc

 as Achim suggested.

Cool.  Thanks!

-Dave




Re: [O] descriptions about org-cycle is separated

2011-12-20 Thread Bernt Hansen
Bastien b...@altern.org writes:

 Dear Takaaki,

 Takaaki ISHIKAWA tak...@ieee.org writes:

 Descriptions about org-cycle is separated in the
 Org manual, section 2.7.

 http://orgmode.org/manual/Plain-lists.html#Plain-lists

 Is there any reason for this?

 This isolated occurrence of `org-cycle' is about cycling
 in plain lists.  There are many more occurrences of this 
 notion -- typing `i' in the info manual then `cycling TAB' 
 lead at least to two references.

 And org-cycle is mostly documented in `Visibility cycling'
 so I think things are fine here.  But please provide a patch
 with a fix, perhaps I misunderstood what you suggestion!

The TAB key is listed twice on that page which I think feels a little
weird.

Regards,
Bernt



Re: [O] descriptions about org-cycle is separated

2011-12-20 Thread Takaaki ISHIKAWA
Hi Bastien,

 There are many more occurrences of this notion

Yes! you are right. But I didn't mean it.
A comment from Bernt describes more clearly.

 The TAB key is listed twice on that page which I think feels a little
 weird.


It is separated into P.13 and P.14. So, I make a patch, please find it below.
I just jointed the separated descriptions.

Best regards,
Takaaki


--- a/doc/org.texi
+++ b/doc/org.texi
@@ -1651,6 +1651,10 @@ the cursor is on a plain list item.  For more details, 
see the variable
 headlines.  The level of an item is then given by the
 indentation of the bullet/number.  Items are always subordinate to real
 headlines, however; the hierarchies remain completely separated.
+In a new item with no text yet, the first @key{TAB} demotes the item to
+become a child of the previous one.  Subsequent @key{TAB}s move the item to
+meaningful levels in the list and eventually get it back to its initial
+position.
 @orgcmd{M-@key{RET},org-insert-heading}
 @vindex org-M-RET-may-split-line
 @vindex org-list-automatic-rules
@@ -1664,11 +1668,6 @@ one.
 @kindex M-S-@key{RET}
 @item M-S-@key{RET}
 Insert a new item with a checkbox (@pxref{Checkboxes}).
-@orgcmd{@key{TAB},org-cycle}
-In a new item with no text yet, the first @key{TAB} demotes the item to
-become a child of the previous one.  Subsequent @key{TAB}s move the item to
-meaningful levels in the list and eventually get it back to its initial
-position.
 @kindex S-@key{down}
 @item S-@key{up}
 @itemx S-@key{down}





Re: [O] org file for reference card?

2011-12-20 Thread Vikas Rawal
 
  Isn't it odd that a tex file is distributed with orgmode, a pdf and a
  text file available on the website. Should we not have a .org version
  of the reference card? 
 
 Good idea -- can you draft something in .org and upload it to Worg?
 
   http://orgmode.org/worg/
 
  Can't orgmode produce the reference card pdf from a .org file?
 
 That's another story.  We cannot do this for now, but future is
 always uncertain :)

I will try to produce an org file but the real utility would be if we
could find a way to produce a pdf out it. My skills are limited and I
really do not know if there is a way to specify a template that will
export the org file with the desired layout. 

The utility of an org file (against a tex or a pdf file) will be that
the org gile will allow users to to easily customise their
refcards. That is, if I am interested in a subset of commands rather
than the whole set, an org file could be easily edited and then
exported.

Wonder if it interests the community.

Vikas



[O] Org-mode for school work

2011-12-20 Thread Steve Prud'Homme
Hi,
I realy like the org-mode. I use it for my school work. I have a questions
about litle things like :

1. It is possible when i export a org file in pdf to make a title page
verticaly centered.

2. It is possible when i export a org file in pdf It is possible to do a
page brake after the table of content

3. It is possible when i export a org file in pdf It is possible give the
text a interline of 1.5 for certain part of the text.

4. When i make table i use table - create (ex: 7x3). It is possible to
merge cell like in word(example first row 1 colomn second row 4 column)

5. It is possible when i export a org file in pdf It is possible to set the
font size

6. Finaly it is possible to make a table that i use a lot a form that i can
fill and it is possible with i don't know a short-cut or something to call
this form when i need it.

Please excuse my english, i'm french


-- 
Posté par Steve Prud'Homme
sprud...@gmail.com
514 466-3951


Re: [O] fast navigation

2011-12-20 Thread Leo Alekseyev
I recorded the bug in a short screencast.  emacs was started with -Q;
in the second part of the screencast it was restarted with a config
file that only included ido mode

http://www.youtube.com/watch?v=z6nDUh0RH_cfeature=youtu.be

On Tue, Dec 20, 2011 at 5:27 PM, Bastien b...@altern.org wrote:
 Hi Sergio,

 sergio mail...@sergio.spb.ru writes:

 On 12/20/2011 11:54 AM, Eric Abrahamsen wrote:

 I just removed org-mode package. With org-mode from emacs (6.33x) all
 works fine. After this I've downloaded and installed org-mode from the
 web --- problem comes back.

 I'm lost here -- can you restate the bug and provide a simple way to
 reproduce it with emacs -Q (no configuration) and Org 7.8.02?

 Thanks!

 --
  Bastien