[Orgmode] Re: [babel] Painless integration of source blocks with language

2011-01-09 Thread Štěpán Němec
Eric Schulte schulte.e...@gmail.com writes:

 Hi Seth,

 Thanks for the thoughtful comments.  I especially like the method of
 literate programming described in your second proposal.  Over the last
 months I have switched from working mainly in code blocks to working
 mainly in pure source files due to issues along the lines of those
 mentioned in your first proposal.

BTW, why is there not an option that would enable all mode-specific key
bindings inside source blocks? It could be implemented e.g. by putting
the mode keymap into the `keymap' text property. Seems like a simple
solution.

  Štěpán

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


Re: [Orgmode] Bug in the :VISIBILITY: handling of folded PROPERTY?

2011-01-09 Thread David Maus
At Thu, 16 Dec 2010 14:14:35 +0100,
Sébastien Vauban wrote:
 
 #+TITLE: Example of file for which folded PROPERTY is not respected
 #+DATE:  2010-12-16
 #+LANGUAGE:  en_US
 

What exactly is the problem with this file?  If I open it the first
time, the *Composed letter* is folded.

Btw this is a perfect example of a extremly bad bug report.  Its
missing everything needed to process this report: Expected behaviour,
actual behaviour, maybe what the manual says.

Best,
  -- David

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


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


Re: [Orgmode] [BUG] Table field clipping doesn't handle double-width characters properly

2011-01-09 Thread David Maus
At Fri, 17 Dec 2010 11:57:34 +0100,
Štěpán Němec wrote:
 
 
 Take the following table for instance:
 
 | Year | English title  | Korean title
| Transliterated title |
 |--+++--|
 | 1996 | Crocodile  | 악어  
  | Ag-o |
 |  | Wild Animals   | 야생동물 보호구역  
 | Yasaeng dongmul bohoguyeog   |
 | 1998 | Birdcage Inn   | 파란 대문   
| Paran daemun |
 | 2000 | The Isle   | 섬   
   | Seom |
 |  | Real Fiction   | 실제 상황   
| Shilje sanghwang |
 | 2001 | Address Unknown| 수취인 불명  
   | Suchwiin bulmyeong   |
 |  | Bad Guy| 나쁜 남자   
| Nabbeun namja|
 | 2002 | The Coast Guard| 해안선 
 | Haeanseon|
 | 2003 | Spring, Summer, Fall, Winter... and Spring | 봄, 여름, 가을, 겨울 그리고 봄 | 
 Bom yeoreum gaeul gyeoul geurigo bom |
 | 2004 | Samaritan Girl | 사마리아
| Samaria  |
 |  | 3-Iron | 빈 집 
  | Bin-jip  |
 | 2005 | The Bow| 활   
   | Hwal |
 | 2006 | Time   | 시간  
  | Shi gan  |
 | 2007 | Breath | 숨   
   | Soom |
 | 2008 | Dream  | 비몽  
  | Bimong   |
 
 
 If you add a width declaration (N) to the column containing Korean,
 when realigning the table you'll get an args out of range error inside
 the text-properties-related code in `org-table-align' (provided the
 width declaration actually does cause the text to be clipped).

I can confirm this with 

Org-mode version 7.4 (release_7.4.135.g84087)

GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-12-11 on raven, modified by Debian

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


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


[Orgmode] Re: tags/search on specific files

2011-01-09 Thread Bernt Hansen
knubee knu...@gmail.com writes:

 i would like to use some org-mode functionality for linking,
 tagging, and searching files that are not specified in the
 org-mode variables of .emacs file.

 i thought that i would be able to create a file, work on it in
 org-mode to create links and tags, and then be able to follow
 those links and search on those tags.  after working on such a
 file, linking works fine. but although running C-c \ [tag]
 does highlight lines that have the tag, it also displays all
 the other items. (by contrast, C-c a m [tag] will display only
 the specific tagged items for the agenda file(s) specified in
 .emacs)

 is there a way to do this that i am missing? either by providing
 a file name as an argument or some other command that will return
 such a view for the active buffer. (one reason i don't want to
 add the specific file to the list of files that org-mode
 automatically tracks is that i want to restrict my searching of
 tags to specific files. but maybe i am not thinking about this
 the right way.)

 thanks.

Hi knubee,

As long as your file is in org-mode that should work fine.  You can run
an agenda just on the current file in multiple ways:

C-c a 1 m 
  will run the tags match command on the current file only

If you want to use multiple agenda commands you can enable the agenda
restriction lock as follows

  - on the first line of an org-mode file (before the first heading) do
C-c C-x 
You do this on a #+STARTUP: line or on a blank line before the first
heading

All subsequent agenda commands will only consider this one file until
you remove the restriction lock with C-c C-x 

HTH,
Bernt

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


Re: [Orgmode] Disputed keys

2011-01-09 Thread David Maus
At Sun, 09 Jan 2011 12:24:52 +0100,
David Maus wrote:

 [1  multipart/signed (7bit)]
 [1.1  text/plain; US-ASCII (7bit)]
 At Sat, 18 Dec 2010 22:26:13 +0100,
 Andrea Crotti wrote:
 
  I wanted finally to fix the following problem, I would like to use
  meta-left/right to switch frame, and that's one of the keys that orgmode
  uses.
 
  I added the two values here to the org-disputed-keys
 
  --8---cut here---start-8---
  [(meta left)]
  Value: [(meta control left)]
  [(meta right)]
  Value: [(meta control right)]
  --8---cut here---end---8---
 
  but still it doesn't work, in orgmode meta-left is always bound to the
  org action, not to other-frame as it is in other modes...

 Works fine here with

 Org-mode version 7.4 (release_7.4)

 GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
  of 2010-12-11 on raven, modified by Debian

 However: Setting meta-left to control-meta-left only works if I set
 the variable before loading Org mode.  If I set it after loading, it
 doesn't, but the other disputed keys are replaced.

Now I get it: Org uses `org-disputed-keys' when setting up the keymap
for Org mode.  Thus, disputed keys have to be declared before Org mode
starts up and defines its keymap.  And thats exactly what the
doc-string of `org-disputed-keys' says *cough*.

So no inconsistency, just a: I cannot reproduce this problem.

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


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


Re: [Orgmode] $0 replaced with ampersand () when invoking `org-edit-special'

2011-01-09 Thread David Maus
At Sun, 19 Dec 2010 12:34:39 +0100,
niels giesen wrote:

 According to [ (info (org) Formula syntax for Calc) ], $0
 references the current cell. Pressing C-c C-c on the #+TBLFM line
 below does indeed work, but C-c ' (`org-edit-special') changes the
 $0 reference into a single ampersand (). Is this a bug?

 | Thing  | Amount |
 |+|
 | Apples |  2 |
 | Pears  |1.3 |
 #+TBLFM: $2=$0;%.2f

I can reproduce this with

Org-mode version 7.4 (release_7.4.135.g84087)

GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-12-11 on raven, modified by Debian

And it sure looks like a bug to me.

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


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


[Orgmode] Re: [BUG] org-cdlatex after environment

2011-01-09 Thread Maximilian Matthe
David Maus dm...@ictsoc.de writes:

 At Fri, 17 Dec 2010 14:28:22 +0100,
 Maximilian Matthé wrote:

 Hi guys,

 I'm using fresh pulled orgmode, emacs 23.1

 Having this:

 ,
 | \begin{eqnarray*}
 | b=
 | \begin{cases}
 | 1  a0 \\ 2  \mbox{else}   # (1)
 | \end{cases}
 |   # (2)
 | \end{eqnarray*}
 `

 typing _ at # (1) shows up _{}, but typing this at #(2) does nothing
 special. It seems, as if cdlatex thinks, the math block has ended
 after \end{cases}, since frTAB does not expand, too etc.

 It would be really great to have it fixed :)

 Could you provide a small Org mode file to reproduce this problem?  I
 am not very familar with the usage of Org mode and LaTex so I
 currently have no clue how to reproduce the problem.

 Thanks,
   -- David

Sure, it's attached, with some  comments in it to reproduce.
Thanks, Max



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


Re: [Orgmode] [BUG] export of table.el tables

2011-01-09 Thread David Maus
At Sun, 19 Dec 2010 19:37:25 +0530,
Jambunathan K wrote:

 [1  text/plain (7bit)]

 Summary: table.el tables with row and col spans are not getting exported
 as expected on html export.

 Looks like the table markers gets recognized as strikethroughs, mdashes
 and ndashes. This apparrently is getting in the way of proper
 export.

 Furthermore I see no rowspans and colspans in the generated html.

I can confirm this with

Org-mode version 7.4 (release_7.4.135.g84087)

GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-12-11 on raven, modified by Debian

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


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


[Orgmode] Re: IMPORTANT: Migration of org-mode.git to the new server on sunday 5pm-7pm CET (UTC+1)

2011-01-09 Thread Bastien
Jason Dunsmore emacs-orgm...@dunsmor.com writes:

 I agree with Carsten and Bernt - keep the org-mode repo's history
 intact, remove ORGWEBPAGE in a commit, and split off ORGWEBPAGE into its
 own repo.

I agree with this plan as well.  

Thanks Bernt for pointing at the right direction!

FYI: the migration is supposed to happen in the next few hours.  Also,
repo.or.cz seems down right now.

-- 
 Bastien

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


Re: [Orgmode] Using org-agenda-filter-preset with or'd tags

2011-01-09 Thread David Maus
At Mon, 20 Dec 2010 14:12:39 + (UTC),
johnt wrote:

 I am trying to set a custom command to show my work tasks and critical home
 tasks for the day.

 I have tried the following.

 (setq org-agenda-custom-commands

   '(

 (W Work Schedule

  (

   (agenda 

(

 (org-agenda-filter-preset '(@Work|critical))   ;; this doesn't 
 work

 (org-agenda-ndays 1)

)

   )

   (tags-todo @Work|critical)

  )

 )

 )

 It seems just to ignore the filter. The tags-todo line works fine.

 I tried various filters to verify my syntax.
 using (org-agenda-filter-preset '(+...@work)) works fine but is not what I 
 want.
 using (org-agenda-filter-preset '(@Work | critical)) also doesn't work.

There are some errors in your `org-agenda-filter-preset':

 1. You should not quote this list, because the entire structure of
`org-agenda-custom-commands' is already quoted.

 2. Format of `org-agenda-filter-preset' (C-h v
org-agenda-filter-preset RET):

   ,
   | A preset of the tags filter used for secondary agenda filtering.
   | This must be a list of strings, each string must be a single tag preceded
   | by + or -.
   `

   So (@work | critical) is wrong format.

 3. The preset filter ANDs the tags together and as far as I am aware
of (our could think of) it is not possible to OR tags together.
However, I wonder why you would like to set the preset-filter: The
tags-todo query already selects only tasks that are either tagged
@work or critical?

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


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


Re: [Orgmode] Re: IMPORTANT: Migration of org-mode.git to the new server on sunday 5pm-7pm CET (UTC+1)

2011-01-09 Thread Bastien
Hi Achim,

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

 Just to clarify my position: for me it boils down to the question: is
 the orgmode.org web page part of the org-mode project or not?  

It was, but I think it should not be anymore.

One advantage of having a separate org-web.git repo is to let people
contribute to the website without having to grant them push access to
the repository.

 If removed from the repository this sends a strong message
 (intentionally?)  that it is not.

Yes, this is intentional - and we discussed this with Carsten before 
I suggested this move.

 Even then, from a Git point of view filtering makes no
 sense unless you deliberately need to remove history: just do a fork
 (split into two repositories that will diverge from then on) -- or, as I
 had suggested earlier, branch (fork in the same repository).  

Simply removing ORGWEBPAGE/ is simpler.

Thanks for insisting on Bernt's point about git history -- this is
something I overlooked while planning this change.

Best,

-- 
 Bastien

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


Re: [Orgmode] LaTeX exporter #+INCLUDE bug

2011-01-09 Thread David Maus
At Mon, 20 Dec 2010 19:12:33 + (UTC),
Rasmus wrote:

 Hi,
 I think there might be a bug when using #+INCLUDE and the LaTeX exporter. The
 content of the included file is exported twice, although slightly different in
 each case. I experience this when I include org-files starting with a 
 headline,
 i.e. *.

 I use Org-mode 7.4 with GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+
 Version 2.22.1)

I can confirm this with

Org-mode version 7.4 (release_7.4.135.g84087)

GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-12-11 on raven, modified by Debian

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


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


Re: [Orgmode] empty lines in datetree capture templates

2011-01-09 Thread David Maus
At Tue, 28 Dec 2010 00:50:00 -0800,
Suvayu Ali wrote:

 Hi everyone,

 I am having some problems with a capture template for datetrees.

 (setq org-capture-templates
   '((m Select meeting templates)
   (ms Schedule a meeting entry (file+headline ~/org/meetings.org 
 Meetings)
** %? %^t%^{CATEGORY}p\n
:empty-lines 1)
   (mm Meeting minutes w/ clock entry (file+datetree 
 ~/org/meetings.org)
 %^{prompt} %U%^{CATEGORY}p\n\n %?
:prepend t :clock-in :empty-lines 1 :immediate-finish)
   ))

 I prefer to have empty lines between two headlines and headlines and
 text. When I use the above Meeting minutes w/ clock template, the new
 entry to the date tree is inserted as below despite the :empty-lines 1
 argument. If I try to end the older entry with a blank line, the empty
 like is removed and the new entry is placed like this again.

 Any one knows what I am doing wrong? Thank you in advance,

I can confirm that :emtpy-lines 1 seems to have no effect in a
datetree capture template.  I filed two with the template

,
| (setq org-capture-templates
|   '((X FOO entry (file+datetree /tmp/org/datetree.org Place table 
here  :empty-lines 1
`

And ended up with:

,
| * 2011
| ** 2011-01 Januar
| *** 2011-01-09 Sonntag
|  Fofofof
|  
[[file:~/projects/org-mode/minimal.el::'((X%20FOO%20entry%20(file%2Bdatetree%20/tmp/org/datetree.org%20Table%20here%20%20:empty-lines%201][file:~/projects/org-mode/minimal.el::'((X
 FOO entry (file+datetree /tmp/org/datetree.org Table here  
:empty-lines 1]]
|  Another one
|  
[[file:~/projects/org-mode/minimal.el::'((X%20FOO%20entry%20(file%2Bdatetree%20/tmp/org/datetree.org%20Table%20here%20%20:empty-lines%201d][file:~/projects/org-mode/minimal.el::'((X
 FOO entry (file+datetree /tmp/org/datetree.org Table here  
:empty-lines 1d]]
`

While I expected an empty line between Fofofof and Another one.

Using

Org-mode version 7.4 (release_7.4.135.g84087)

GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-12-11 on raven, modified by Debian

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


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


Re: [Orgmode] Re: IMPORTANT: Migration of org-mode.git to the new server on sunday 5pm-7pm CET (UTC+1)

2011-01-09 Thread Bastien
Bastien bastien.gue...@wikimedia.fr writes:

 One advantage of having a separate org-web.git repo is to let people
 contribute to the website without having to grant them push access to
 the repository.

Sorry I mean: to the org-mode.git repository.

-- 
 Bastien

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


Re: [Orgmode] [Bug] Abstract block prematurely ended by asterisk

2011-01-09 Thread Jeff Horn
I can no longer reproduce this on my own system. Thanks for the follow
up, everyone. I don't know what change fixed the issue between then
and now, but I haven't worked on that project since I sent my original
post.

Thanks, again!

On Sun, Jan 9, 2011 at 7:19 AM, Christian Moe m...@christianmoe.com wrote:
 On 1/9/11 12:08 PM, David Maus wrote:

 At Thu, 16 Dec 2010 02:51:32 -0500,
 Jeff Horn wrote:

 Title says it all. The following code does not export correctly.
 (Reproduced from memory can anyone else confirm?)

 #+BEGIN_ABSTRACT
 *Bold Text.* This is a sentence.
 #+END_ABSTRACT

 The LaTeX code produced is (in full)

 #+BEGIN_SRC latex
 \begin{ABSTRACT}
 *Bold
 #+END_SRC

 I cannot confirm this. I get the expected output:

 \begin{ABSTRACT}
 \textbf{Bold Text.} This is a sentence.
 \end{ABSTRACT}


 Note the lack of a closing environment and the truncated content. I
 remember pdflatex complaining that ABSTRACT is an invalid
 environment, but don't recall whether that was related to the asterisk
 issue.

 Try it lower case:
 #+begin_abstract

 Org isn't sensitive about case in special block types, but LaTeX is.


 Using org-mode 7.4 in emacs 23.2.

 Where is the ABSTRACT block defined?  No such block seems to be known
 by Org 7.4 running with emacs -Q.

 Arbitrary block types are provided by org-special-blocks, a contrib (slated
 for inclusion into the next core Org, if I remember Bastien's announcement
 correctly).

 HTH,
 Christian




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

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


Re: [Orgmode] IMPORTANT: Migration of org-mode.git to the new server on sunday 5pm-7pm CET (UTC+1)

2011-01-09 Thread Bastien
Hi all,

so we migrated org-mode.git repository to the new server.

If you already have a clone, please update your refs like this:

  ~$ cd your-existing-org-mode-repo/
  ~$ git config remote.origin.url git://orgmode.org/org-mode.git

You can make a fresh clone like this:

  ~$ git clone git://orgmode.org/org-mode.git
  
To browse the repo on the web, just go here:

  http://orgmode.org/w/org-mode.git

http://repo.or.cz/w/org-mode.git won't disappear.  We will convert it
into a mirror of the orgmode.org repo.  Mirrors on repo.or.cz lag one
hour behind the origin, so it's better to pull from the orgmode.org
repository.

I have updated references to repo.or.cz on Worg, but if you find some 
that are not fixed, please let us know (and/or provide a patch).

Please report any problem while pulling or cloning!

And thanks to Jason for the switch,

-- 
 Bastien

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


[Orgmode] org-goto and automatic isearch

2011-01-09 Thread Maximilian Matthé
Hello,

today I wanted to try C-c C-j. I dont want to have automatic isearch so
I have this in my initialization file:

,
| (setq org-goto-auto-isearch nil)
`

But whenever I say M-x org-goto (or C-c C-j) and press n or p
incremental search starts. I want to move via n and p to the next
heading as described in the documentation.

I use the current git pull, emacs 23.1.1 .

Maybe it's a bug or I don't use it correctly...
Thanks for your help!
Max


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


[Orgmode] Re: IMPORTANT: Migration of org-mode.git to the new server on sunday 5pm-7pm CET (UTC+1)

2011-01-09 Thread Achim Gratz
Bastien bastien.gue...@wikimedia.fr writes:
 Please report any problem while pulling or cloning!

All branches except master have disappeared.  Most notably, the maint
branch is missing (I've only had master and maint cloned locally).


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

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds


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


[Orgmode] Re: [babel] Painless integration of source blocks with language

2011-01-09 Thread Eric Schulte
Štěpán Němec step...@gmail.com writes:

 Eric Schulte schulte.e...@gmail.com writes:

 Hi Seth,

 Thanks for the thoughtful comments.  I especially like the method of
 literate programming described in your second proposal.  Over the last
 months I have switched from working mainly in code blocks to working
 mainly in pure source files due to issues along the lines of those
 mentioned in your first proposal.

 BTW, why is there not an option that would enable all mode-specific key
 bindings inside source blocks? It could be implemented e.g. by putting
 the mode keymap into the `keymap' text property. Seems like a simple
 solution.


That's a very good idea, I didn't realize that keymaps where handled
through text properties, if/when I find some time I'll take a look at
making this change (although if anyone else feels like taking this on
please don't let me discourage you :)).  I imagine this could be done in
org-src, and tucked behind a `org-src-keybind-natively' (or somesuch)
configuration variable.

Thanks for the suggestion! -- Eric


   Štěpán

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


Re: [Orgmode] empty lines in datetree capture templates

2011-01-09 Thread Suvayu Ali
Hi David,

On Sun, 09 Jan 2011 15:31:10 +0100
David Maus dm...@ictsoc.de wrote:

 At Tue, 28 Dec 2010 00:50:00 -0800,
 Suvayu Ali wrote:
 
  Hi everyone,
 
  I am having some problems with a capture template for datetrees.
 
  (setq org-capture-templates
'((m Select meeting templates)
  (ms Schedule a meeting entry (file+headline
  ~/org/meetings.org Meetings) ** %? %^t%^{CATEGORY}p\n
   :empty-lines 1)
  (mm Meeting minutes w/ clock entry (file+datetree
  ~/org/meetings.org)  %^{prompt} %U%^{CATEGORY}p\n\n %?
   :prepend t :clock-in :empty-lines 1 :immediate-finish)
  ))
 
  When I use the above Meeting minutes w/ clock template, the
  new entry to the date tree is inserted as below despite the
  :empty-lines 1 argument. 

...
 I can confirm that :emtpy-lines 1 seems to have no effect in a
 datetree capture template.  I filed two with the template
 
 ,
 | (setq org-capture-templates
 |   '((X FOO entry (file+datetree /tmp/org/datetree.org
 Place table here  :empty-lines 1 `
 
 And ended up with:
...
 Using
 
 Org-mode version 7.4 (release_7.4.135.g84087)
 
 GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
  of 2010-12-11 on raven, modified by Debian
 

Thanks a lot for confirming this, its reassuring to know it wasn't
a fault on my part. :)

Emacs and org-mode version:

Org-mode version 7.4 (release_7.4.135.g84087.dirty)
GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 
2011-01-06

 Best,
   -- David


-- 
Suvayu

Open source is the future. It sets us free.

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


Re: [Orgmode] Re: IMPORTANT: Migration of org-mode.git to the new server on sunday 5pm-7pm CET (UTC+1)

2011-01-09 Thread Bastien
Achim Gratz strom...@nexgo.de writes:

 Bastien bastien.gue...@wikimedia.fr writes:
 Please report any problem while pulling or cloning!

 All branches except master have disappeared.  Most notably, the maint
 branch is missing (I've only had master and maint cloned locally).

Thanks for reporting - we're now looking into this.

-- 
 Bastien

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


Re: [Orgmode] IMPORTANT: Migration of org-mode.git to the new server on sunday 5pm-7pm CET (UTC+1)

2011-01-09 Thread Konrad Hinsen

On 9 Jan 2011, at 17:05, Bastien wrote:


If you already have a clone, please update your refs like this:

 ~$ cd your-existing-org-mode-repo/
 ~$ git config remote.origin.url git://orgmode.org/org-mode.git


Is there an http version as well, for those of us behind nasty  
firewalls? I tried replacing git: by http:, but that doesn't seem to  
yield a valid repo URL.


Konrad.

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


[Orgmode] Re: tags/search on specific files

2011-01-09 Thread Matt Lundin
knubee knu...@gmail.com writes:

 related question: is there something similar for searching on properties? 
 C-c / 
 p does highlight the search items for the current file, but doesn't narrow 
 to 
 display only those items. although C-c a indicates that it will work on 
 properties, C-c a 1 m only seems to match on tags (and C-c a 1 p is not 
 an 
 option).


Please see:

http://orgmode.org/manual/Matching-tags-and-properties.html

and

http://orgmode.org/worg/org-tutorials/advanced-searching.html#property-searches

Best,
Matt

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


Re: [Orgmode] IMPORTANT: Migration of org-mode.git to the new server on sunday 5pm-7pm CET (UTC+1)

2011-01-09 Thread Bastien
Hi Konrad,

Konrad Hinsen konrad.hin...@fastmail.net writes:

 On 9 Jan 2011, at 17:05, Bastien wrote:

 If you already have a clone, please update your refs like this:

  ~$ cd your-existing-org-mode-repo/
  ~$ git config remote.origin.url git://orgmode.org/org-mode.git

 Is there an http version as well, for those of us behind nasty firewalls? I
 tried replacing git: by http:, but that doesn't seem to  yield a valid repo
 URL.

Nope, there is no http access to the repo on orgmode.org for now.

We will use repo.or.cz as a mirror and you will be able to access
org-mode.git from this mirror using the http protocol (as usual).

I updated Worg to mention this:

  http://orgmode.org/worg/org-faq.html

See Keeping current.

HTH,

-- 
 Bastien

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


[Orgmode] Re: IMPORTANT: Migration of org-mode.git to the new server on sunday 5pm-7pm CET (UTC+1)

2011-01-09 Thread Jason Dunsmore
Achim Gratz strom...@nexgo.de writes:

 Bastien bastien.gue...@wikimedia.fr writes:
 Please report any problem while pulling or cloning!

 All branches except master have disappeared.  Most notably, the maint
 branch is missing (I've only had master and maint cloned locally).

My bad.  I used git-clone with the --bare option instead of --mirror
when cloning from repo.or.cz.  It's fixed now.  Thanks for catching
this!

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


[Orgmode] Re: IMPORTANT: Migration of org-mode.git to the new server on sunday 5pm-7pm CET (UTC+1)

2011-01-09 Thread Jambunathan K
Konrad Hinsen konrad.hin...@fastmail.net writes:

 On 9 Jan 2011, at 17:05, Bastien wrote:

 If you already have a clone, please update your refs like this:

  ~$ cd your-existing-org-mode-repo/
  ~$ git config remote.origin.url git://orgmode.org/org-mode.git

 Is there an http version as well, for those of us behind nasty
 firewalls? I tried replacing git: by http:, but that doesn't seem to
 yield a valid repo URL.


Try this http://orgmode.org/w/org-mode.git. May not be the
'authoritative url', but shows a commit that is 10 mins old.

Browser displays loopback address as title of the above URL.

 Konrad.

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

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


[Orgmode] Re: IMPORTANT: Migration of org-mode.git to the new server on sunday 5pm-7pm CET (UTC+1)

2011-01-09 Thread Jason Dunsmore
Konrad Hinsen konrad.hin...@fastmail.net writes:

 On 9 Jan 2011, at 17:05, Bastien wrote:

 If you already have a clone, please update your refs like this:

  ~$ cd your-existing-org-mode-repo/
  ~$ git config remote.origin.url git://orgmode.org/org-mode.git

 Is there an http version as well, for those of us behind nasty
 firewalls? I tried replacing git: by http:, but that doesn't seem to
 yield a valid repo URL.

Hi Konrad,

I just made the org-mode repo available via HTTP.  Try running:

git clone http://orgmode.org/org-mode.git

Regards,
Jason

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


[Orgmode] Re: IMPORTANT: Migration of org-mode.git to the new server on sunday 5pm-7pm CET (UTC+1)

2011-01-09 Thread Jason Dunsmore
Jambunathan K kjambunat...@gmail.com writes:

 Browser displays loopback address as title of the above URL.

This is because Gitweb requests are being proxied through Nginx to a
CGI-capable web server listening on localhost.  Fixed the title:

--8---cut here---start-8---
# diff gitweb.cgi{~,}
50,51c50
 our $site_name = 
  || ($ENV{'SERVER_NAME'} || Untitled) .  Git;
---
 our $site_name = Git;
--8---cut here---end---8---

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


[Orgmode] Re: IMPORTANT: Migration of org-mode.git to the new server on sunday 5pm-7pm CET (UTC+1)

2011-01-09 Thread Achim Gratz
Jason Dunsmore emacs-orgm...@dunsmor.com writes:
 My bad.  I used git-clone with the --bare option instead of --mirror
 when cloning from repo.or.cz.  It's fixed now.  Thanks for catching
 this!

I've just did a fetch on both the full clone (for testing) and my local
repo (just master and maint) and everything seems to be working now as
it should.  Thank you!


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


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


[Orgmode] Gitweb short URLs

2011-01-09 Thread Jason Dunsmore
I implemented some rewrite rules to make our Gitweb have
repo.or.cz-style short URLs.

Here are examples of the short URLs:

http://orgmode.org/w/org-mode.git/blob/22eae22:/.gitmodules
http://orgmode.org/w/org-mode.git/blob/lisp/org.el
http://orgmode.org/w/org-mode.git/commit/22eae22
http://orgmode.org/w/org-mode.git/commitdiff/22eae22
http://orgmode.org/w/org-mode.git/log/22eae22
http://orgmode.org/w/org-mode.git/shortlog/22eae22
http://orgmode.org/w/org-mode.git/tree/22eae22
http://orgmode.org/w/org-mode.git/tree/22eae22:/EXPERIMENTAL
http://orgmode.org/w/org-mode.git/summary

And here are the rewrite rules:

rewrite /w/$ /w/gitweb.cgi break;
rewrite /w/(.*)\.git$ /w/gitweb.cgi?p=$1.git break;
rewrite /w/(.*)\.git/summary$ /w/gitweb.cgi?p=$1.gita=summary break;
rewrite /w/(.*)\.git/(tree)/(.*)$ /w/gitweb.cgi?p=$1.gita=$2 break;
rewrite /w/(.*)\.git/(blob|tree)/(.*):/(.*)$ 
/w/gitweb.cgi?p=$1.gita=$2hb=$3f=$4 break;
rewrite /w/(.*)\.git/(blob)/(.*)$ /w/gitweb.cgi?p=$1.gita=$2f=$3 break;
rewrite /w/(.*)\.git/(commit|commitdiff|log|shortlog)/(.*)$ 
/w/gitweb.cgi?p=$1.gita=$2h=$3 break;

Regards,
Jason

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


Re: [Orgmode] Re: IMPORTANT: Migration of org-mode.git to the new server on sunday 5pm-7pm CET (UTC+1)

2011-01-09 Thread Bastien
Jason Dunsmore emacs-orgm...@dunsmor.com writes:

 I just made the org-mode repo available via HTTP.  Try running:

 git clone http://orgmode.org/org-mode.git

Great - I just mentioned this in Worg's FAQ.

Best,

-- 
 Bastien

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


[Orgmode] BUG sorting function

2011-01-09 Thread Fritjof
I think i found a bug. The sorting function dosn't seem to tell the  
difference between '*bold*' and '* heading' at the beginning of a line,  
and when a heading have *bold* tekst at the beginning of a line, trying to  
sort will give this error: Region to sort contains a level above the the  
first entry


Reproduce with:

* heading
** subheading
*not a heading*
some texkt


Also second level headings can't be bold, they show up as normal text.

Reproduce with:

* heading
** *subheading*


- Fritjof
(Org mode v7.01)

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


[Orgmode] Help with migrating blog to org-mode format

2011-01-09 Thread Myriam Abramson

Hello,

After Google dropped the ftp option to blogger, I dumped my blog to an
xml file with the hope of ressucitate it to a more friendly
environment for me. I've found this environment with a combination of
org-mode, blorg, and ... dropbox. Dropbox just provides me a link to
publish my blog wherever I want to. Blorg isn't being maintained I
believe and it has lots of error but it works in converting org-mode
to blog formatting for now and I can work on it later. 

Each topic in a blog is a TODO task and the date is inserted when the
task is DONE. I'm planning to read from my xml blog and write topics
simply as * DONE mytopic ...  but how can I get the publication date
in org to get CLOSED: date on the next line? 

The xml of my blog is something like that: 

title type='text' my title/title
content type='html' my content/content
published2003-10-22T18:27:00.000-04:00/published

TIA,

myriam




From the cat's little instruction handbook:

Treat yourself to a nap in the sock drawer once in awhile.

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


[Orgmode] Re: tags/search on specific files

2011-01-09 Thread knubee
 Please see:
 http://orgmode.org/worg/org-tutorials/advanced-searching.html#property-searches

thanks for the pointers to those pages. it is not explicitly stated how to run 
the command just on the current file, but the following seems to work:

C-c a 1 m 
Match: BIB_AUTHOR=Walter Evensong

this is not intuitively obvious since C-c / p will ask for the query in two 
steps: property and then value. so, i would have guessed that there would 
be 
a similar command C-c a 1 p for doing property searches on the current file.

in any case, it might be good to add this and bernt's information about how to 
run an agenda on just the current file into more of the org-mode documentation 
somewhere.


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


Re: [Orgmode] Re: tags/search on specific files

2011-01-09 Thread Carsten Dominik


On Jan 9, 2011, at 11:55 PM, knubee wrote:


Please see:
http://orgmode.org/worg/org-tutorials/advanced-searching.html#property-searches


thanks for the pointers to those pages. it is not explicitly stated  
how to run

the command just on the current file, but the following seems to work:

C-c a 1 m
Match: BIB_AUTHOR=Walter Evensong

this is not intuitively obvious since C-c / p will ask for the  
query in two
steps: property and then value. so, i would have guessed that  
there would be
a similar command C-c a 1 p for doing property searches on the  
current file.


in any case, it might be good to add this and bernt's information  
about how to
run an agenda on just the current file into more of the org-mode  
documentation

somewhere.


Hi Knubee,

if you provide a concrete proposal where you looked for this  
information and where you'd consequently have found it, you can  
increase the chances that this will happen greatly.  Maybe even a patch?


- Carsten




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



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


[Orgmode] A couple of suggestions

2011-01-09 Thread Filippo A. Salustri
Hi all,
I'm just getting into orgmode, and I'm finding it quite a revelation.
 Compliments to all its developers.
I have thought of a couple of ideas.  I wanted to bounce them off the
community before thinking about trying to implement them myself (I used to
be pretty good with lisp, a thousand years ago).

1. A bit more structure to page layout.
In particular I was thinking of this:
a. one file per day
b. date and journal name at top
c. a right sidebar of sorts that contains tags, dates, etc for the item to
its left.  This amounts to basically a tabular page arrangement, and each
item gets a row.

2. A vi-esque data entry mode
No offence, but I've always found emacs-y key bindings to be incredibly
unintuitive compared to, say, vi/vim.
The idea would be to rebind all keys on top of something like, but not
necessarily identical to, vi-mode.
I find that there are two thinking styles when I'm using org-mode:
organizing and gathering.  When gathering, I'm mostly in emacs mode cuz
it's mostly entering data with little editing except for corrections to
spelling etc.  When organizing, I'm doing little data entry, and mostly
moving stuff around, adding dates, changing task status etc.
In organizing mode, it's a pain for me to do the Cu-Cc-Cwhatever thing, so I
think it could be useful to people to have a choice of having a simpler
keystroke set available.

Comments?  Ideas?  Wild, hysterical laughter?

Cheers.
Fil

-- 
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salus...@ryerson.ca
http://deseng.ryerson.ca/~fil/
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] IMPORTANT: Migration of org-mode.git to the new server on sunday 5pm-7pm CET (UTC+1)

2011-01-09 Thread Bastien
Hi all,

Bastien bastien.gue...@wikimedia.fr writes:

 http://repo.or.cz/w/org-mode.git will still exist as a mirror, we will
 install this next week.

This happened sooner than expected, the mirror is now setup here:

  http://repo.or.cz/w/org-mode.git

Meaning that all references to commits in Worg and elsewhere are now
okay.  Please remember that this mirror is one hour older than the
orgmode.org repository.

Cheers,

-- 
 Bastien

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


Re: [Orgmode] Re: [babel] Painless integration of source blocks with language

2011-01-09 Thread Seth Burleigh
As an update, ive been working on something i call chunks.
Basically, they are blocks of code (i.e. emacs overlays) that are linked
together.
So far, i have each ns of my clojure code in one source block which is
then tangled to one file.
So, i would like to open the tangled file and then make changes, and finally
'push' those changes to the org file.

Theres some bugs (pushing when mark is next to a parantheses), but i think
it is going in the correct way to also include noweb tangling. In the
attached code, you hit f8 in a source block to link the block to its file
and then f8 if you want to unlink it, and you hit ctrl-alt-p to push changes
from source file to org file.

just execute lp.el in an ielm buffer. and try it out with the previous test
org file that was attached.


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


Re: [Orgmode] Re: [babel] Painless integration of source blocks with language

2011-01-09 Thread Eric Schulte
Hi Seth,

I looked briefly at your code and much of it re-implements functionality
already provided by org-mode using a slight variation of Org-mode
syntax.  While I fully understand that it is often easier to write your
own functions rather than look up and parse existing functions, I think
that your code will stand a much better chance of re-use if it is works
with existing org-mode syntax rather than against it.  A couple of
examples below [1].  It would probably be worthwhile to read the Source
Code section of the Org-mode manual at [2].

I look forward to understanding the concepts behind your example, but
the above issues make this difficult.

Best -- Eric

Seth Burleigh wbur...@gmail.com writes:

 As an update, ive been working on something i call chunks.  Basically,
 they are blocks of code (i.e. emacs overlays) that are linked
 together.  So far, i have each ns of my clojure code in one source
 block which is then tangled to one file.  So, i would like to open the
 tangled file and then make changes, and finally 'push' those changes
 to the org file.

 Theres some bugs (pushing when mark is next to a parantheses), but i think
 it is going in the correct way to also include noweb tangling. In the
 attached code, you hit f8 in a source block to link the block to its file
 and then f8 if you want to unlink it, and you hit ctrl-alt-p to push changes
 from source file to org file.

 just execute lp.el in an ielm buffer. and try it out with the previous test
 org file that was attached.

Footnotes: 
[1]  a couple of examples...

   #+results:silent
   #+noweb:yes 

 should be

   #+Babel: :noweb yes :results silent

 also,

   #+srcname:add

 should be

   #+srcname: add

 once that syntax is fixed, then `org-babel-find-named-block' can be
 used instead of `find-chunk'.  Also, your `tangle-chunk' function
 duplicates the functionality of `org-babel-tangle'.

[2]  http://orgmode.org/manual/Working-With-Source-Code.html

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


[Orgmode] Viper-mode + orgmode + emacs 23.xx on OSX, slowness in insert-mode

2011-01-09 Thread Marcelo de Moraes Serpa
Hi list,

Has anyone tried to use this combo? I find that viper is too slow when
in insert mode (when typing, actually), but only when in a buffer
where orgmode is activated. Any ideas ?

Marcelo.

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


[Orgmode] org fontifies outside of src blocks

2011-01-09 Thread Jeff Horn
Hey list,

I have an annoying issue. When in *either* Aquamacs or terminal emacs,
if I view my init file (it's in org rather than elisp) and I edit
*anything* in the buffer, org attempts to fontify the text as
emacs-lisp.

It takes a few seconds for anything to show up in windowed emacsen.
Terminal experiences no lag, so it's less of an issue. After typing a
sentences, the message buffer has tens of instances of the following
text:

Fontifying  org-src-fontification:emacs-lisp-mode...
(regexps.)

Is this the expected behavior? I like fontification. I just only
expect it to happen within a block, not outside of it. And yes, all of
the blocks are closed correctly (I've double checked, but I used
yasnippet to fill the buffer in the first place).

Where should I start looking? :)

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

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


Re: [Orgmode] org fontifies outside of src blocks

2011-01-09 Thread Thomas S. Dye

Aloha Jeff,

I think I had this issue.  IIRC, this is a Mac issue.  I think you can  
fix it with this:


  (setq font-lock-verbose nil)

If not, let me know and I'll look harder.

Tom

On Jan 9, 2011, at 4:54 PM, Jeff Horn wrote:


Hey list,

I have an annoying issue. When in *either* Aquamacs or terminal emacs,
if I view my init file (it's in org rather than elisp) and I edit
*anything* in the buffer, org attempts to fontify the text as
emacs-lisp.

It takes a few seconds for anything to show up in windowed emacsen.
Terminal experiences no lag, so it's less of an issue. After typing a
sentences, the message buffer has tens of instances of the following
text:

   Fontifying  org-src-fontification:emacs-lisp-mode...
(regexps.)

Is this the expected behavior? I like fontification. I just only
expect it to happen within a block, not outside of it. And yes, all of
the blocks are closed correctly (I've double checked, but I used
yasnippet to fill the buffer in the first place).

Where should I start looking? :)

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

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



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


Re: [Orgmode] Re: [babel] Painless integration of source blocks with language

2011-01-09 Thread Seth Burleigh
My bad. I believe i did look up the functions, but they didn't do what i
needed (or so i thought).
The code doesn't matter too much, let me explain the idea.

A file may contain many blocks of code. Lets look at a arbitrary block A. In
the end, block A will somehow become noweb embedded into a source block
which is actually tangled to a file. Lets call this source block C.
find-chunk finds this source block, given the position of block A, checking
also that the source has a type of clojure. So, basically it searches for
the string A, if it finds it, checks if the source block (with an
arbitrary name, lets say my-block) is tangled, if not, it searches for
my-block until it actually finds a tangled source block.

tangle-chunk is used to tangle block A by finding block C (using find-chunk)
and tangling that. It is basically copied from org-babel except that it uses
mkdir to create any parent directories that do not exist (i think this
should be included as an option in tangle file, btw, if it isn't)

So, conceptually we have many blocks which are noweb embedded into various
source files, however indirectly. We want to find the source files that
these blocks are embedded in so that we can (in the future) navigate from
the block to the file number.
 '
Thats all that does, from line 110 up. I copied it from my previous posting.
From below that, i implement an emacs overlay, created by new-chunk.
Basically all it does is associate a chunk of code in the buffer to a chunk
of code in another chunk. We can 'add a link', i.e. append a chunk to its
'lp-link property.

Next, we add the ability to replace the code of one chunk with another. This
is what push-chunk does. Now, all that we have left is the code to create
chunks from source blocks.

Pushing code from one chunk to another code work with noweb embedding, but
it was just a proof of concept anyways.

What i was imagining when i did this is that i would have a source code file
which has various 'chunks' highlighted in different colors (various
background colors), each having a 'link' to the appropriate source code
chunk in the babel file. Thus, we could push changes from the source code
files to the org-mode file and navigate between. This would eliminate the
code markers. I was imagining that the tangled source code files could be
viewed simply as an indirect buffer created from the org file, so we
wouldn't need code markers to save the chunk info for future sessions - we
would just generate it all from the org-file.

 What is needed now is to be able to push from one chunk to another, except
leaving any srcname blocks as they are.  With that, i believe the ideas
mentioned in the first post could be fully implemented.
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [babel] Painless integration of source blocks with language

2011-01-09 Thread Seth Burleigh
and i misspoke also, the previous .org file wouldnt work since that uses
noweb. Heres a simple new example.


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


[Orgmode] archive-done-tasks

2011-01-09 Thread Ido Magal
Hi everyone,

I'm new to org-mode and I'm trying to incorporate this bit of code into my
setup:

archive-done-taskshttp://www.mail-archive.com/emacs-orgmode@gnu.org/msg02939.html

However when I run it it seems to hang emacs (osx) terminally.  Since emacs,
org-mode, and lisp are all alien to me, there's no shortage of places where
I could be failing so I'll spare details of my setup until it's confirmed
that that code should still work ( it's from 2007 and I don't see that it's
been integrated into org-mode proper ).

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


Re: [Orgmode] org fontifies outside of src blocks

2011-01-09 Thread Jeff Horn
Beautiful. Thanks, Tom!

On Sun, Jan 9, 2011 at 10:16 PM, Thomas S. Dye t...@tsdye.com wrote:
 Aloha Jeff,

 I think I had this issue.  IIRC, this is a Mac issue.  I think you can fix
 it with this:

  (setq font-lock-verbose nil)

 If not, let me know and I'll look harder.

 Tom

 On Jan 9, 2011, at 4:54 PM, Jeff Horn wrote:

 Hey list,

 I have an annoying issue. When in *either* Aquamacs or terminal emacs,
 if I view my init file (it's in org rather than elisp) and I edit
 *anything* in the buffer, org attempts to fontify the text as
 emacs-lisp.

 It takes a few seconds for anything to show up in windowed emacsen.
 Terminal experiences no lag, so it's less of an issue. After typing a
 sentences, the message buffer has tens of instances of the following
 text:

   Fontifying  org-src-fontification:emacs-lisp-mode...
 (regexps.)

 Is this the expected behavior? I like fontification. I just only
 expect it to happen within a block, not outside of it. And yes, all of
 the blocks are closed correctly (I've double checked, but I used
 yasnippet to fill the buffer in the first place).

 Where should I start looking? :)

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

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





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

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


Re: [Orgmode] Re: IMPORTANT: Migration of org-mode.git to the new server on sunday 5pm-7pm CET (UTC+1)

2011-01-09 Thread Konrad Hinsen

On 9 Jan 2011, at 20:19, Jason Dunsmore wrote:


I just made the org-mode repo available via HTTP.  Try running:

git clone http://orgmode.org/org-mode.git


Works, thanks!

Konrad.

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


Re: [Orgmode] Viper-mode + orgmode + emacs 23.xx on OSX, slowness in insert-mode

2011-01-09 Thread Jean-Marie Gaillourdet
Hi Marcelo,

Marcelo de Moraes Serpa celose...@gmail.com writes:

 Hi list,

 Has anyone tried to use this combo? I find that viper is too slow when
 in insert mode (when typing, actually), but only when in a buffer
 where orgmode is activated. Any ideas ?

I've had that problem for a long time as well. And it seemed to me to be
a showstopper for using org together with viper. But somehow I managed
to improve the situation. I am sorry to not be more specific on this
issue. But I can assure you it is possible to have a working
configuration. I'd advice you to try loading org and viper in a clean
emacs session (emacs -q). I somehow remember there was also an issue
with the order in which I loaded org and viper. Currently I'm loading
org before viper. 

My git history tells me that this line improved load times of the agenda
significantly: 
(setq viper-suppress-input-method-change-message t)


Cheers,
  Jean-Marie


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