Re: [O] The "problem" with `flet' in Org-mode and (future) Emacs 24.2

2012-07-21 Thread Vladimir Lomov
Hello,
** Eric Schulte [2012-07-20 11:43:45 -0600]:

[...]

> Okay, I've noticed a number of these errors as well.  It looks like the
> old version of flet allowed the definition of recursive functions, but
> the new cl-flet does not.

> Below find my previous patch which now uses cl-flet* instead of cl-flet
> in org-flet.  This should be a universal fix.

> Best,

Thanks, would work fine with this small change:

--- 0001-replace-flet-labels-with-org-flet-org-labels.patch.orig
2012-07-22 09:10:44.0 +0900
+++ 0001-replace-flet-labels-with-org-flet-org-labels.patch 2012-07-21 
23:09:37.0 +0900
@@ -370,7 +370,7 @@
"Check if PARAMS require expansion in CONTEXT.
  CONTEXT may be one of :tangle, :export or :eval."
 -  (flet ((intersect (as bs)
-+  (org-flet ((intersect (as bs)
++  (org-labels ((intersect (as bs)
   (when as
 (if (member (car as) bs)
 (car as)

---
WBR, Vladimir Lomov

-- 
The core is not frozen, but slushy.
 -- Larry Wall in <199705101952.maa00...@wall.org>



[O] Bug: Include existing tags in index.org :Mobile: [7.8.11 (release_7.8.11.dirty @ /home/dlm/share/org-mode.git/lisp/)]

2012-07-21 Thread James Harkins


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Currently, org-mobile-create-index-file populates the #+TAGS: line based on 
org-tag-alist-for-agenda. This is inconvenient and confusing, for these reasons:

1. A new user of MobileOrg has to learn the hard way that the tags don't come 
over without the user having to take the extra step of populating 
org-tag-alist-for-agenda.

2. Every time the user tags a node with a new identifier, she has to update 
org-tag-alist-for-agenda by hand.

3. At least in MobileOrg for android, editing a tagged node ends up corrupting 
the tags (because the tag list has the wrong items in it).

A reasonable solution is to include the result of 
(org-global-tags-completion-table) in the tag list. A customization variable 
could be added so that the user could decide to use only 
org-tag-alist-for-agenda (current behavior) if desired.

I checked many times (customize-apropos) for options related to tags, but there 
is nothing to handle this and nothing in org-mobile-create-index-file to handle 
it either. So there is nothing in my .emacs that could help the issue, no need 
to include it.

release_7.8.11.dirty: It's "dirty" only because I modified org-mobile.el as a 
proof of concept, to see if org-global-tags-completion-table would get the 
results I expected. It does.


Emacs  : GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-03-25 on allspice, modified by Debian
Package: Org-mode version 7.8.11 (release_7.8.11.dirty @ 
/home/dlm/share/org-mode.git/lisp/)

--
James Harkins /// dewdrop world
jamshar...@dewdrop-world.net
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks



Re: [O] Discovering Babel and R combination!

2012-07-21 Thread Ippei FURUHASHI
Hi François,

> Real fun would be that any "C-c C-c" which triggers the re-computation
> of an already displayed graphics, merely gets the displayed graphics
> to get updated in place, without any more special interaction needed
> to re-in-line it.

The following discussion can help
http://article.gmane.org/gmane.emacs.orgmode/34194
to set
: (add-hook 'org-babel-after-execute-hook 'org-display-inline-images)


If you also want to skip the confirmation by babel on evaluation, see
:  (info "(org)Code evaluation security")


HTH,
IP