Re: [Orgmode] Re: Small bug in table editing

2011-02-07 Thread Christopher Witte
As I said, I can be persuaded otherwise, but saying don't use org-mode
tables isn't very persuasive.  What is the semantic model for enter
when using org-mode tables? Clearly I don't understand it.

Thanks,
Chris.



On 4 February 2011 17:58, Achim Gratz strom...@nexgo.de wrote:
 Christopher Witte ch...@witte.net.au writes:
 I tend to disagree. I feel that anything that breaks the semantic
 model of enter = insert new line at point is a bug.

 Then don't use org-mode tables, because enter has different (and at
 least to me) more useful semantics there.


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

 DIY Stuff:
 http://Synth.Stromeko.net/DIY.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


___
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] [OT] Taskwarrior, nice GTD-oriented CLI thing

2011-02-07 Thread Christopher Allan Webber
As I understand it, D-bus works on windows, OSX, GNU/Linux.

Why reinvent the wheel?

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

 Must be something that is really cross-platform. Don't forget there
 are OSX and Windows users around!

 On Fri, Feb 4, 2011 at 10:22 AM, Christopher Allan Webber
 cweb...@dustycloud.org wrote:
 Dbus bindings?

 Torsten Wagner torsten.wag...@gmail.com writes:

 Hi Marcelo,

 Emacs can run as a dameon and as that you could access it via
 emacsclient. What is needed is a nice interface to allow to send
 simple requests to insert and fetch data from org-mode. Some of the
 org-mode function might do this already, however, I guess a decent
 layer which hides the complex org-mode routines and provides simple to
 use in- and output functions might be more effective.

 Greetings

 Totti

 ___
 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: Back from FOSDEM

2011-02-07 Thread Bastien
Hi Andrea,

Andrea Crotti andrea.crott...@gmail.com writes:

 I was there and you all did a great job, thanks!

Thanks!

 The only things that could be made better imho is the readability.
 The font was too small for all three presenters, and the minibuffer
 unreadable already from the middle of the room.

Yes, I should have tested that before the conference.

 Also something to popup the keys (is there anything like growl for
 linux) would be very useful in this kind of presentation

I tested key-mon (https://code.google.com/p/key-mon/) which looks nice
at first glance, but modifiers keys are only displayed for a limited
time.  E.g. when you keep the control key pressed for C-c C-x C-c, it
will only display Control + c -- then x then c, which might be a bit
confusing.

I would love to hear about other tools for GNU/Linux.

 Note for later: when talking to hackers, forget about the slides and
 have direct fun with an Org-mode buffer, display the *magic* of with no
 taboo -- questions will come along as you hit some neat feature.

 Not totally sure, some slides for giving the same background to everyone
 are always useful, and they increase the hype and curiousity to see the
 tool in practice.

 I think that in general hackers always don't stand very well magic, they
 would always like to know what key was pressed, what command given and
 so on to do them by themselves.

Fully agreed.

 One point I made : what's special about Org is that it's a reflexive
 tool, one that lets you discover the way you work and the way you want
 to work.  Forget about getting disciplined by some external digital
 secretary, start by having fun discovering yourself with a tool that 
 has virtually no learning curve (or just that of Emacs itself...) 


 Yes that was a very nice point, might steal it in the future ;)

Steal it! :)

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] Publishing - Sitemap problem

2011-02-07 Thread Jonathan BISSON
Hi,

The sitemap generation when publishing a project does not take into
account a title change in a page.

I need to remove the org cache files (~/.org-timestamps/org-*) to get it
updated.

Is there a way to correct this behaviour (bug) ?

J.



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


[Orgmode] Re: [babel] How to kill two birds with one stone?

2011-02-07 Thread Sébastien Vauban
Hi Dan,

Dan Davison wrote:
 Cool post. I hope someone has some good ideas in this thread. Some quick
 responses / questions below.

 Note, in the latter code block, that I did not even tried to really chain
 steps 2 and 3: I'm rewriting step 3, including step 2 inside it.

 *I certainly miss a smarter way* to achieve the above.

 I think a relevant point here is that Org doesn't yet have the ability to
 pass data on standard input to a code block. I.e. a :stdin header arg. I
 don't think it's that hard, someone would just need to rework
 `org-babel-eval' so that it puts the code into a temporary file, freeing up
 stdin to be used for data

I think you exactly spotted the problem.

 (and therefore we would no longer be able to use
 shell-command-on-region but some other command (call-process I think?).)

I just don't understand this last sentence, by lack of knowledge on Babel's
internals.

 Then you'd be able to do something like

 #+srcname: search-links-and-generate-dot-arrow
 #+header: :stdin search-files-pointing-to-this-file
 #+begin_src sh :results output :var f=charge_dim
 while read f; do
 echo $(basename $i) - $f;
 done
 #+end_src

 I'll be interested to see the solution to all this.

I've tried to rewrite the example in a much cleaner way, showing what it
should like in the best of the worlds, with a working code at hand...

BTW, I think the following could be of use, with maybe slight modifications,
even for projects like Worg: identifying all relationships between files,
showing files that aren't referenced, etc.

#+TITLE: Graph file dependencies
#+DATE:  2011-02-06
#+BABEL::dir ~/src/Worg

* Context

We want to demonstrate how to document a script in a very neat way (IMHO),
that is:

- By defining and explaining multiple small code blocks, using them later in a
  tangle file for constructing the full code.

- By showing the effect of every small code block, that is what it returns
  when applied on test input data.

The latter is the problem, as the code has to be able to take a results set as
if it would come from =stdin=.

* Code

For the sake of clarity, a real-life example that graph dependencies between
files (based on their /basename/).

** List all files

Simple file command, ignoring =.svn= directories.

#+srcname: file-tree
#+begin_src sh :results output
find . -not \( -name .svn -prune \) -type f -print | head -n 5
#+end_src

#+results: file-tree
#+begin_example
./digraph.dot
./full-code.sh
./graph-circo.pdf
./graph-dot.pdf
./graph-fdp.pdf
#+end_example

** Search recursively for anything about a file

Grep-search through files, ignoring =.svn= directories.

#+srcname: search-files-pointing-to-this-file
#+begin_src sh :results output :var toname=charge_dim
find . -not \( -name .svn -prune \) -type f -print0 |\
xargs -0 grep -i --files-with-matches $toname
#+end_src

#+results: search-files-pointing-to-this-file
: ./graph-file-dependencies.txt

** Convert to DOT

In real life, the following block of code must read its input from =stdin=.

For /in situ execution/, I should be able to say that =stdin= is equal to any
results set (here: =search-files-pointing-to-this-file=).

#+srcname: make-dot-arrow-for-files-pointing-to-this-file
#+begin_src sh :results output :var toname=charge_dim
while read -r fromname
do
echo \${fromname##*/}\ - \$toname\
done
#+end_src

#+results: make-dot-arrow-for-files-pointing-to-this-file

** Full code: generate the DOT file

#+begin_src sh :results output :file digraph.dot :noweb yes :tangle full-code.sh
echo 'digraph G {'
echo 'node [shape=diamond,style=filled,color=lightgrey]; .cvsignore;'
echo 'node [shape=box,color=yellow];'
echo ''

file-tree |\
while read -r fname
do
toname=${fname##*/} # basename of fname
echo # Files pointing to \$toname\...
search-files-pointing-to-this-file |\
make-dot-arrow-for-files-pointing-to-this-file
echo 
done

echo '}'
#+end_src

#+results:
[[file:digraph.dot]]

** Draw multiple graphs

#+srcname: draw-graphs
#+begin_src sh :dir ~/Projects :var infile=digraph.dot :var 
outfileprefix=digraph
for cmd in dot neato twopi circo fdp sfdp;
do
echo $cmd...
time $cmd -Gcharset=latin1 -Tpdf -o$outfileprefix-$cmd.pdf $infile
echo 
done
#+end_src

Best regards,
  Seb

-- 
Sébastien Vauban


___
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: Fontification of blocks

2011-02-07 Thread Sébastien Vauban
Hi Dan,

Dan Davison wrote:
 Sébastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org 
 writes:
 Dan Davison wrote:
 Just quickly, one thing I noticed is that the begin/end lines were visible
 even inside folded trees. I.e., in a folded org file, containing many src
 blocks, I could see the coloured backgrounds poking out of the folded
 sections, extending to the right of the screen. Do you see that?

 Yes, but that's already the current situation today, *when using faces with
 background*. My (future) patch does not change that, and I'm not sure
 whether it should or not. In a way, I find this better: it makes it very
 clear there is a code block folded at that point in the document. Yes, I
 definitively prefer it that way -- if you don't mind.

 Hi Seb, hmm, maybe we're talking about different things.

I think so as well. I was thinking you were talking about the delimiter line
(begin_src and end_src) going up to the right end of the screen if the fully
expanded view.

Your picture shows it when folded.

 I would say this is a bug.

Indeed, that's definitely a bug.

 A key part of Org's visual model is that folding hides content. Imo. I'm not
 saying I know how to fix it, but that's a separate issue. Here are three
 screenshots:

 org-overview:
 org-content:
 show-all:

Can you send me your file, for me to test if I have the same problem?

FYI, I've seen that once when working on my patch[1], but never ever since the
last versions. Hence, just checking (plizz don't mind), are you really using
the version committed in the trunk, or some older version I may have sent on
this list?

 (Btw, that's with the box face attribute set with your patch. Just
 playing with it to see if I like it.)

Maybe make a try with underline and overline -- discovered not that long ago.
I find that the nicest combination... As well for headings 1 and 2. I'll send
my newest color theme very soon for you to see this, if you're interested.
Nope: correction, I'll put it directly on Worg. I'll ask for access, and try
being autonomous for such things.

Best regards,
  Seb

Footnotes:
[1] IIRC, Eric Fraga did see that as well, at some point in time.

-- 
Sébastien Vauban


___
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: Back from FOSDEM

2011-02-07 Thread suvayu ali
On Mon, Feb 7, 2011 at 7:13 AM, Bastien bastien.gue...@wikimedia.fr wrote:
 Also something to popup the keys (is there anything like growl for
 linux) would be very useful in this kind of presentation

 I tested key-mon (https://code.google.com/p/key-mon/) which looks nice
 at first glance, but modifiers keys are only displayed for a limited
 time.  E.g. when you keep the control key pressed for C-c C-x C-c, it
 will only display Control + c -- then x then c, which might be a bit
 confusing.

 I would love to hear about other tools for GNU/Linux.


Screenkey[1] might help. There is a very good demo[2] by a youtube user too.


[1] https://launchpad.net/screenkey
[2] http://www.youtube.com/watch?v=L8Wa2BR-9YU

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


[Orgmode] Re: crypt entries and journal

2011-02-07 Thread Richard Riley
Richard Riley rile...@googlemail.com writes:

 crypt tagged entries are not showing up in the journal. Is it because the 
 properties
 are being encrypted too?

 ,
 |  vodafone new pin   
 :pin:vodafone:superpin:sim:crypt:
 |:PROPERTIES:
 |:DateCreated: 2011-02-07 Mo 14:48
 |:END:
 | sim : 
 | superpin : 5471
 `

 when saved becomes

 ,
 |  vodafone new pin   
 :pin:vodafone:superpin:sim:crypt:
 | -BEGIN PGP MESSAGE-
 | Version: GnuPG v1.4.10 (GNU/Linux)
 | 
 | hQEMA7IjL5SkHG4iAQgAhuR4Da6ErKs8g8wFiLDePgGk/sYo839h6Ew0W40qmUho
 | pwkIJQf8qv4fLKv7WxeXzLSonuIyIhdYVeH/l4l4Vvb1AMp2GV1279CMqq0Zv2Cu
 | KkWsK1rg3D/gJBE+LBRQRh/NlBAn/oAkkAYWrE7wKoW03T7iDJTDfjR9szW3S177
 | CsHx6H5Q89r5XBCGu8USUmJLIZaSLsgiDe58W7It1qGOKtbisYF+HJn/hF91HmeO
 | mPpdAhKg0N8nsQ0UKEDkOSGqBxDm2oD8S+ky6jex/Ycj3VIArQK02zCvjvRBp57O
 | VCQ2EBp7zDl3LVX8xz2O75GNCFo+4rohtZYDpX1TS9KTASkIWa+Sa6Jo+rNoFcFP
 | bfRxtyR/a+my0tAKq6QgzQLMGtSmXKr6ypkDcVCcEWDe6K3d3u0PwlVvRHZ1CQRV
 | 3DI58LLJky7LUDBIdYpmi8xU9c/wwtbcu9WtRIKuiW+V/H5IZ5180eJnqcFMvtYI
 | v1ZBC8BxUgFm6x3f+ih0wVny0Ysqo1qmRXmD4PF1qx+YMcmU
 | =36UC
 | -END PGP MESSAGE-
 `

 And doesnt appear as a journal log in my agenda.

 I wouldnt swear to it but I thought they used to show up in the journal.

 I would like them to. Best way?


ugh. A while away.

I had moved the timestamp into the properties which are
encrypted. Adding %T to me org entry heading solves the issue.

I think I would prefer to have the logged properties unencrypted
though.

e.g my journal capture template is contained in 

,
|  '(org-capture-templates (quote ((t Todo entry (file+headline  Tasks 
To Refile) * TODO %?
| :PROPERTIES:
|  :DateCreated: %T
| :END:
| %i
| %a) (j Journal entry (file+datetree journal.org) * %?
| :PROPERTIES:
|  :DateCreated: %T
| :END:
| 
| #+begin_src emacs-lisp
| %i
| #+end_src
| %a) (n Quick note to refile later entry (file+headline  Notes To 
Refile) * %?
| :PROPERTIES:
|  :DateCreated: %T
| :END:
| #+being_src
| %i
| #+end_src
| 
| %a) (w web capture entry (file refile.org) * %a %?\\n:PROPERTIES:
|  :DateCreated: %T
| :END:n
| %i))) t)
`

I would like that date created to be visible in my agenda despite the
entry being encrypted - it just keeps the heading cleaner without the
datestamp. Any way of doing 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


Re: Warm thanks! (was: [Orgmode] IMPORTANT: let's make the biggest gift of FLOSS history!)

2011-02-07 Thread Carsten Dominik


On Feb 7, 2011, at 1:07 AM, Bastien wrote:


Dear Carsten,

more than 20 generous Orgers gathered 517€ as a gift for Org.


You've got to be kidding me.  Wow.  You guys (any girls?) are
great, thanks so much.  Now I will thing of something really nice
to do with this.



I didn't check, but I guess we're not far from the biggest
gift in FLOSS history :)


It must be.



Thanks to everyone!


An to you!

- Carsten



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



___
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] [BABEL] unset :var definitions for subtree

2011-02-07 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

For one project, I am usinr org to write submit scripte to a cluster
runing torqu. The important bit in this is, that between the shebang and
the code, no other executable line must occur. As I am using variables
in org (:var) they will occur just after the shebang, which causes a
problem for torque. So, my question is, is there a way to unset
variables defined by using :var for a subtree?

#+BABEL: :session *R* :results output :exports both :tangle
Analysis_sensitivity.R :var RESULTSDIR=/media/Results/ :var
ANALYSISDIR=~/Documents/Projects/analysis/


* submit script (SA.sub)
:PROPERTIES:
:tangle:   ./SA.sub
:exports: code
:END:
#+begin_src sh
  #PBS -j y
  #PBS -M rai...@krugs.de
  #PBS -V
  #PBS -l nodes=1:mem=4gb
  ##
  cd $PBS_O_WORKDIR
#+end_src

I would need the tangled code to be :

#!/bin/bash
#PBS -j y
#PBS -M rai...@krugs.de
#PBS -V
#PBS -l nodes=1:mem=4gb
##
cd $PBS_O_WORKDIR

But it is

#!/bin/bash
RESULTSDIR=/media/Results/
ANALYSISDIR=~/Documents/Projects/analysis/
#PBS -j y
#PBS -M rai...@krugs.de
#PBS -V
#PBS -l nodes=1:mem=4gb
##
cd $PBS_O_WORKDIR


But RESULTSDIR and ANALYSISDIR is used in the remainder of the document
(several other subtrees)

Any help appreciated,

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

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

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

iEYEARECAAYFAk1QC+wACgkQoYgNqgF2egramwCeKbj6CbfK0ZBF03ZkfJBTbhc5
9pQAniXZum0sK3GX4ZxEzIAGRPu3fMxM
=zO07
-END PGP SIGNATURE-

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


[Orgmode] Re: Back from FOSDEM

2011-02-07 Thread Andrea Crotti
Bastien bastien.gue...@wikimedia.fr writes:

 Hi all,

 we have had a good time at FOSDEM.  It was great to meet Carsten, Stefan
 Vollmar, Sebastien Vauban, Jose E. Marchesi, Brian Gough and others.

 Special thanks to Stefan, who presented a very nice use cas at his lab,
 and to Sébastien who presented a few Org Babel examples.  Org cannot be
 presented without Org Babel.

 The devroom was fully packed, which is about 100 people.  I expected to
 introduce Org and to try to convert some people, but about 70% of the
 audience was already using Org!  So the presentation was really a mix of
 generalities and a live demo of some features (to be honest: I was a bit
 stressful and tired, I wish I did a better job.)

I was there and you all did a great job, thanks!

The only things that could be made better imho is the readability.
The font was too small for all three presenters, and the minibuffer
unreadable already from the middle of the room.

Also something to popup the keys (is there anything like growl for
linux) would be very useful in this kind of presentation


 Note for later: when talking to hackers, forget about the slides and
 have direct fun with an Org-mode buffer, display the *magic* of with no
 taboo -- questions will come along as you hit some neat feature.

Not totally sure, some slides for giving the same background to everyone
are always useful, and they increase the hype and curiousity to see the
tool in practice.

I think that in general hackers always don't stand very well magic, they
would always like to know what key was pressed, what command given and
so on to do them by themselves.


 I've put my slides here:

   http://lumiere.ens.fr/~guerry/u/org-fosdem-presentation-beamer.pdf

 One point I made : what's special about Org is that it's a reflexive
 tool, one that lets you discover the way you work and the way you want
 to work.  Forget about getting disciplined by some external digital
 secretary, start by having fun discovering yourself with a tool that 
 has virtually no learning curve (or just that of Emacs itself...) 


Yes that was a very nice point, might steal it in the future ;)


___
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: (org-display-inline-images)

2011-02-07 Thread Bastien
Hi Tassilo,

Tassilo Horn tass...@member.fsf.org writes:

 If the imagemagick backend is used for displaying the image in question,
 then resizing is possible by providing a :width or/and :height spec.

 ,
 |Images loaded with ImageMagick support a few new display
 | specifications:
 | 
 | `:width, :height'
 |  The `:width' and `:height' keywords are used for scaling the
 |  image.  If only one of them is specified, the other one will be
 |  calculated so as to preserve the aspect ratio.  If both are
 |  specified, aspect ratio may not be preserved.
 `

Thanks for the information.  In the meantime, I tested Vladimir's 
patch, which also relies on ImageMagick support.   I couldn't test
this patch very far as 

  M-: (imagemagick-register-types) RET 

crashed my emacs (24.0.50.2).  Will update my emacs and try this again.
Would be a nice thing to have rescaling/slicing of images in org.

-- 
 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] export weekly completed/late items

2011-02-07 Thread Kyle Farrell
I'm trying to create a weekly report of items completed or
outstanding.  I'd like to bucket these by status.  I've got my entries
with a DEADLINE calendar date set.

For example given the org input:

* TODO Fix bug for software project X
   DEADLINE: 2011-02-07 Mon
* DONE Update documentation for feature Y
   DEADLINE: 2011-02-09 Wed
* DONE Scope out new version of Z
   DEADLINE: 2011-02-09 Wed
* TODO Code new version of Z
   DEADLINE: 2011-02-17 Thu

I'd like to bucketize these based on the current date TODO status.  If
the date is 2/11/2011, based on the deadline and the status I'd like
to see:

  Missed:
  2011-02-07: Fix bug for software project X

  Completed:
  2011-02-09: Update documentation for feature Y
  2011-02-09: Scope out new version of Z

  Coming up:
  2011-02-17: Code new version of Z


Am I best using an agenda view to create this?  Or would this be in a
custom exporter?

thanks!
-Kyle

___
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: [PATCH] org-display-inline-images to reduce image size

2011-02-07 Thread Bastien
Hi Vladimir,

Vladimir Alexiev vladi...@sirma.bg writes:

 How to avoid line breakage in the patch? 

Better to use plain text emails from your client - sending from gmane
will result in messing up long lines.

 Some source lines are naturally 80 chars and I wouldn't like to shorten them.
 I posted from the web 
 (http://post.gmane.org/post.php?group=gmane.emacs.orgmode)
 I guess I should get an account and post from a real mail client?

 Furthermore, the Comments at the patchwork server 
 (http://patchwork.newartisans.com/patch/526/)
 mess up the patch, though the patch itself is ok
 (http://patchwork.newartisans.com/patch/526/raw/)

I downloaded the patch and lines are not well wrapped - they are wrapped
the way patchwork displays it.

Could you resubmit your patch?  I'm willing to test it.

Thanks!

-- 
 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-mhe-store-link alters window layout

2011-02-07 Thread Stephen Eglen
If I run M-x org-store-link when my current emacs frame is just showing
one MH-E window (and nothing else in the frame), e.g. the show-+inbox
buffer, then the link to that email is created okay, but the window
frames are altered so that the +inbox summary window is also shown.
In general, the previous window contents are forgotten.  I suggest
adding a 'save-window-excursion' into org-mhe-store-link so that the
window arrangement is preserved on exit from the function.

Patch below is long just because of the extra indentation.

Stephen

diff --git a/lisp/org-mhe.el b/lisp/org-mhe.el
index c384062..c9b0481 100644
--- a/lisp/org-mhe.el
+++ b/lisp/org-mhe.el
@@ -83,27 +83,28 @@ supported by MH-E.
   Store a link to an MH-E folder or message.
   (when (or (equal major-mode 'mh-folder-mode)
(equal major-mode 'mh-show-mode))
-(let* ((from (org-mhe-get-header From:))
-  (to (org-mhe-get-header To:))
-  (message-id (org-mhe-get-header Message-Id:))
-  (subject (org-mhe-get-header Subject:))
-  (date (org-mhe-get-header Date:))
-  (date-ts (and date (format-time-string
-  (org-time-stamp-format t) (date-to-time date
-  (date-ts-ia (and date (format-time-string
- (org-time-stamp-format t t)
- (date-to-time date
-  link desc)
-  (org-store-link-props :type mh :from from :to to
-   :subject subject :message-id message-id)
-  (when date
-   (org-add-link-props :date date :date-timestamp date-ts
-   :date-timestamp-inactive date-ts-ia))
-  (setq desc (org-email-link-description))
-  (setq link (org-make-link mhe: (org-mhe-get-message-real-folder) #
-   (org-remove-angle-brackets message-id)))
-  (org-add-link-props :link link :description desc)
-  link)))
+(save-window-excursion
+  (let* ((from (org-mhe-get-header From:))
+(to (org-mhe-get-header To:))
+(message-id (org-mhe-get-header Message-Id:))
+(subject (org-mhe-get-header Subject:))
+(date (org-mhe-get-header Date:))
+(date-ts (and date (format-time-string
+(org-time-stamp-format t) (date-to-time 
date
+(date-ts-ia (and date (format-time-string
+   (org-time-stamp-format t t)
+   (date-to-time date
+link desc)
+   (org-store-link-props :type mh :from from :to to
+ :subject subject :message-id message-id)
+   (when date
+ (org-add-link-props :date date :date-timestamp date-ts
+ :date-timestamp-inactive date-ts-ia))
+   (setq desc (org-email-link-description))
+   (setq link (org-make-link mhe: (org-mhe-get-message-real-folder) #
+ (org-remove-angle-brackets message-id)))
+   (org-add-link-props :link link :description desc)
+   link
 
 (defun org-mhe-open (path)
   Follow an MH-E message link specified by PATH.



___
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] [OT] Taskwarrior, nice GTD-oriented CLI thing

2011-02-07 Thread Eric S Fraga
Dirk-Jan C. Binnema d...@djcbsoftware.nl writes:

[...]

   ESF However, it's the first step towards the original specification.  We
   ESF want to be able to simply have the note saved -- that is, no 
 interaction
   ESF with emacs directly.  Can this be done as well?

 Sure, there is the immediate-finish property:

   (x store snippet entry ;; 's' for 'org-protocol'
(file+headline todo.org Notes)
* TODO %i\n\t%u :immediate-finish t)

 Best wishes,
 Dirk.

Sigh... I knew that blush.  Thanks for reminding me!

However, although it works just fine, each time I use it, the
mini-buffer on any Emacs frame display the message Org-mode not
loaded.?  org is very much loaded and, in fact, the same message
appears even if I have the agenda visible!

Anyway, this is just curiosity.  The capture works very well indeed.

Thanks again,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.317.gca220.dirty)

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


[Orgmode] Re: (org-display-inline-images)

2011-02-07 Thread Tassilo Horn
Bastien bastien.gue...@wikimedia.fr writes:

Hi Bastien,

 Another nice thing would be a way to reduce the image size, just like
 thumbnails. Do you think it can be done ?

 Not currently -- see the docstring of the create-image function in
 Emacs.  I have vague memory of work beeing done in this area in Emacs,
 but AFAIK this is not yet implemented.

If the imagemagick backend is used for displaying the image in question,
then resizing is possible by providing a :width or/and :height spec.

,
|Images loaded with ImageMagick support a few new display
| specifications:
| 
| `:width, :height'
|  The `:width' and `:height' keywords are used for scaling the
|  image.  If only one of them is specified, the other one will be
|  calculated so as to preserve the aspect ratio.  If both are
|  specified, aspect ratio may not be preserved.
`

But that new feature is only present in the current bzr trunk.  You
might want to have a look at the included `doc-view.el', which uses that
facility to zoom images if imagemagick support is present:
`doc-view-enlarge' and `doc-view-shrink'.

The git version of Gnus (and the version included in the emacs bzr
trunk) also use that feature in `shr.el' to render inline images with an
appropriate size in HTML mails.

Bye,
Tassilo


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


Re: [Orgmode] [OT] Taskwarrior, nice GTD-oriented CLI thing

2011-02-07 Thread Dirk-Jan C . Binnema
Hi,

 On Sat, 5 Feb 2011 20:52:25 +, Eric S Fraga (ESF) wrote:

   What about using org-protocol? If you have a capture template like:
   
   (x store todo item from command line entry
   (file+headline todo.org Tasks)
   * TODO %i\n\t%u)
   
   You can use something like:   
   
   $ emacsclient org-protocol:/capture:/x/a/b/buy milk

  ESF Yes, this works nicely.  Thanks!

  ESF However, it's the first step towards the original specification.  We
  ESF want to be able to simply have the note saved -- that is, no interaction
  ESF with emacs directly.  Can this be done as well?

Sure, there is the immediate-finish property:

  (x store snippet entry ;; 's' for 'org-protocol'
   (file+headline todo.org Notes)
   * TODO %i\n\t%u :immediate-finish t)

Best wishes,
Dirk.

-- 
Dirk-Jan C. Binnema  Helsinki, Finland
e:d...@djcbsoftware.nl   w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C

___
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: let's make the biggest gift of FLOSS history!

2011-02-07 Thread Jeff Horn
I don't see the Flattr button. Maybe I have to wait for the next publishing?

On Mon, Feb 7, 2011 at 9:46 AM, Bastien bastien.gue...@wikimedia.fr wrote:
 Hi folks,

 I've been aware of Flattr since it was out.  After careful thinking, I
 placed a flattr button on Org's landing page, near the paypal button:

  http://orgmode.org

 The nice thing about flattr is that it's more than a donation button,
 it's also an ecology of projects helping each others.  Depending on the
 amounts collected there, maybe Org-mode's community can take ownership
 on this flattr account and decide what projects she wants to help.

 For example, let's say that we've been flattr'ed by people active in
 taskwarrior and in taskjuggler, then we could decide to flattr them
 back.

 Let's see how it goes!

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




-- 
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: Merging .org files

2011-02-07 Thread Pere Quintana Seguí
Al 31/01/11 21:45, En/na Michael Welle ha escrit:
 it depends on so many factors, disk speed vs. cpu speed for
 instance. Maybe you could experiment with your data set and post some
 numbers ;).

At the end, I did my experiment, but not in a scientific manner. I did
no measurements. Nevertheless, qualitatively, I can now say that I
reduced the number of org files from ~200 to 8 and the agenda builds
much faster, specially on my netbook which was very slow and now it is
just slow. On my Desktop computer, building the agenda was fast and now
it is very fast. But, what is better, now MobileOrg works fine on my
iPhone, before it was useless. Sorry for not being able to provide
quantitative details.

At the end, I did the merging of the files manually. Inspecting the
files, one by one, was very useful, as it allowed me to delete some
useless information and better organise the rest.

Now I have to learn to better navigate within my much longer org files.
Before, I used ido-mode to jump from buffer to buffer, now I guess I
have to practise more sparse trees to jump from headline to headline.

-- 
Dr. Pere Quintana Seguí
Observatori de l'Ebre (Universitat Ramon Llull - CSIC)
Horta Alta, 38. 43520 Roquetes (Tarragona), Spain.
T. (+34) 977 500 511 - F. (+34) 977 504 660
http://www.obsebre.es - http://pere.quintanasegui.com
GnuPG:2CAB4330
http://pere.quintanasegui.com/coses/key-transition.txt



signature.asc
Description: OpenPGP digital 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] (org-display-inline-images)

2011-02-07 Thread Bastien
Hi Jonathan,

Jonathan BISSON bissonjonat...@gmail.com writes:

 I'm using inline images a lot in my org-files, but sometimes, the inline
 image disappears and I need to do a  (org-display-inline-images) again.
 I need to look in more details when does this really happen.

Ok, let us know.

 But what annoys me is that I added a : #+STARTUP: inlineimages, and it
 doesn't seems to work…

 Any ideas ?

I cannot reproduce it.

What version of Emacs/Org are you using?  

 Another nice thing would be a way to reduce the image size, just like
 thumbnails. Do you think it can be done ?

Not currently -- see the docstring of the create-image function in
Emacs.  I have vague memory of work beeing done in this area in Emacs,
but AFAIK this is not yet implemented.

-- 
 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] [PATCH] org-crypt: cache encrypted text

2011-02-07 Thread Julien Danjou
* lisp/org-crypt.el (org-encrypt-string): New function.
(org-encrypt-entry): Use org-encrypt-string to encrypt, so we use cached
crypted values.
(org-decrypt-entry): Store crypted text in decrypted text.

Signed-off-by: Julien Danjou jul...@danjou.info
---
 lisp/org-crypt.el |   26 --
 1 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/lisp/org-crypt.el b/lisp/org-crypt.el
index 7c28d70..291c540 100644
--- a/lisp/org-crypt.el
+++ b/lisp/org-crypt.el
@@ -103,6 +103,15 @@ This setting can also be overridden in the CRYPTKEY 
property.
 (and (boundp 'epa-file-encrypt-to) epa-file-encrypt-to)
 (message No crypt key set, using symmetric encryption.
 
+(defun org-encrypt-string (str crypt-key)
+  Return STR encrypted with CRYPT-KEY.
+  ;; Text and key have to be identical, otherwise we re-crypt.
+  (if (and (string= crypt-key (get-text-property 0 'org-crypt-key str))
+  (string= (sha1 str) (get-text-property 0 'org-crypt-checksum str)))
+  (get-text-property 0 'org-crypt-text str)
+(let ((epg-context (epg-make-context nil t t)))
+  (epg-encrypt-string epg-context str (epg-list-keys epg-context 
crypt-key)
+
 (defun org-encrypt-entry ()
   Encrypt the content of the current headline.
   (interactive)
@@ -122,10 +131,7 @@ This setting can also be overridden in the CRYPTKEY 
property.
   (org-back-over-empty-lines)
   (setq end (point)
 encrypted-text
-(epg-encrypt-string
- epg-context
- (buffer-substring-no-properties beg end)
- (epg-list-keys epg-context crypt-key)))
+   (org-encrypt-string (buffer-substring beg end) crypt-key))
   (delete-region beg end)
   (insert encrypted-text)
   (when folded
@@ -152,16 +158,24 @@ This setting can also be overridden in the CRYPTKEY 
property.
(forward-line)
(point)))
 (epg-context (epg-make-context nil t t))
+(encrypted-text (buffer-substring-no-properties (point) end))
 (decrypted-text
  (decode-coding-string
   (epg-decrypt-string
epg-context
-   (buffer-substring-no-properties (point) end))
+   encrypted-text)
   'utf-8)))
;; Delete region starting just before point, because the
;; outline property starts at the \n of the heading.
(delete-region (1- (point)) end)
-   (insert \n decrypted-text)
+   ;; Store a checksum of the decrypted and the encrypted
+   ;; text value. This allow to reuse the same encrypted text
+   ;; if the text does not change, and therefore avoid a
+   ;; re-encryption process.
+   (insert \n (propertize decrypted-text
+'org-crypt-checksum (sha1 decrypted-text)
+'org-crypt-key (org-crypt-key-for-heading)
+'org-crypt-text encrypted-text))
(when heading-was-invisible-p
  (goto-char heading-point)
  (org-flag-subtree t))
-- 
1.7.2.3


___
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 HTML export variables in subtrees

2011-02-07 Thread Bastien
Jeff Horn jrhorn...@gmail.com writes:

 Is there a way to turn off the automatic post-amble for HTML export
 without adding a publishing project? 

Does `org-export-html-postamble' helps?

,
| Postamble, to be inserted just before /body.  Set by publishing
| functions.  This may also be a function, building and inserting the
| postamble.
`

-- 
 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] [PATCH] Preserve trailing blank lines

2011-02-07 Thread Bastien
Hi Jason,

Jason Dunsmore emacs-orgm...@dunsmor.com writes:

 Convention 1: Newline above headings
 Convention 2: Newline after bodies

 I just tested these configurations and Org examples out with the patch
 and it seems to work well.  I've been using the patch on my systems for
 a while now and haven't noticed any bad side-effects.

I'm back to this patch -- thanks for the clear explanations.

However, with your patch, I get a weird behavior.

Config:

,
| (setq org-blank-before-new-entry '((heading . nil)
|(plain-list-item . nil)))
`

Test file:

,
| * Section
| 
| ** Subsection 1
| Body
| 
| ** Subsection 2
| Body
`

Trying to move Subsection 1 down (with org-metadown):

,
| * Section
| Body   ??
| 
| ** Subsection 2
| 
| ** Subsection 1
| Body
`

Are you able to reproduce 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


[Orgmode] CV with org?

2011-02-07 Thread Andrea Crotti
Long time ago I wrote my CV with latex and the currvita package.

Now before I just modify that maybe some of you has a better option to
create it in org-mode.

I can still use currvita in orgmode of course, but if there is a better
option I would be glad to hear it :)
Thanks


___
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 HTML export variables in subtrees

2011-02-07 Thread Jeff Horn
On Sun, Feb 6, 2011 at 7:13 PM, Bastien bastien.gue...@wikimedia.fr wrote:
 Is there a way to turn off the automatic post-amble for HTML export
 without adding a publishing project?

 Does `org-export-html-postamble' helps?

 ,
 | Postamble, to be inserted just before /body.  Set by publishing
 | functions.  This may also be a function, building and inserting the
 | postamble.
 `

Thanks, Bastien. I ended up BINDing the variable to nil in the file.
This is fine for a file-level change, but I was hoping for something
that could be used in the subtree. But, for now I have a workaround.

One thing that isn't clear to me: is it OK to set these in
initialization files? They do not have customization entries, and are
usually controlled through org-publish projects.

-- 
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] [ANN] Changes to lists

2011-02-07 Thread Nicolas Goaziou
 Eric S Fraga writes:

 I cannot because your changes do not seem to have propagated
 through...

Commit looks ok on github, so it should be available. Did you try
pull -f? I rebased against master a few days ago.

Regards,

--
Nicolas

___
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


Warm thanks! (was: [Orgmode] IMPORTANT: let's make the biggest gift of FLOSS history!)

2011-02-07 Thread Bastien
Dear Carsten,

more than 20 generous Orgers gathered 517€ as a gift for Org.

I didn't check, but I guess we're not far from the biggest 
gift in FLOSS history :)

Thanks to everyone!

-- 
 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] CV with org?

2011-02-07 Thread Jeff Horn
I asked about this a few months ago. I think org is great for a CV,
but I'm thinking of just going with LaTeX for this in the future.

http://thread.gmane.org/gmane.emacs.orgmode/35201

I have about 100 lines of LaTeX source that takes care of everything
except the plain lists that populate the section headings. I ended up
using a template I found online, which is the reason for all the LaTeX
in my source file.

http://jblevins.org/projects/cv-template/



On Mon, Feb 7, 2011 at 11:06 AM, Andrea Crotti
andrea.crott...@gmail.com wrote:
 Long time ago I wrote my CV with latex and the currvita package.

 Now before I just modify that maybe some of you has a better option to
 create it in org-mode.

 I can still use currvita in orgmode of course, but if there is a better
 option I would be glad to hear it :)
 Thanks


 ___
 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] [OT] Taskwarrior, nice GTD-oriented CLI thing

2011-02-07 Thread Dirk-Jan C . Binnema
Hi,

 On Sat, 5 Feb 2011 20:52:25 +, Eric S Fraga (ESF) wrote:

   What about using org-protocol? If you have a capture template like:
   
   (x store todo item from command line entry
   (file+headline todo.org Tasks)
   * TODO %i\n\t%u)
   
   You can use something like:   
   
   $ emacsclient org-protocol:/capture:/x/a/b/buy milk

  ESF Yes, this works nicely.  Thanks!

  ESF However, it's the first step towards the original specification.  We
  ESF want to be able to simply have the note saved -- that is, no interaction
  ESF with emacs directly.  Can this be done as well?

Sure, there is the immediate-finish property:

  (x store snippet entry ;; 's' for 'org-protocol'
   (file+headline todo.org Notes)
   * TODO %i\n\t%u :immediate-finish t)

Best wishes,
Dirk.

-- 
Dirk-Jan C. Binnema  Helsinki, Finland
e:d...@djcbsoftware.nl   w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C

___
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] Call org-map-entries just on children?

2011-02-07 Thread Richard Lawrence
Hi all,

I'm sure I'm just being thick here, but any help would be appreciated...

I want to call org-map-entries in a way that calls a function at each
*child* of the current tree, but not at the current tree itself.  That
is, for some function f, if my Org file looks like this:

* Paper 1
** Student 1
** Student 2
...

I want to call f at Student 1, Student 2, etc. but not at Paper 1.
But if point is positioned at Paper 1, then

(org-map-entries 'f nil 'tree)

first calls f at the Paper 1 entry, not the Student 1 entry.  How
can I apply f just to the *children* of Paper 1?

(The reason I need to do this is that f needs to enforce that each of
the children has a value for a certain property, but the parent entry
should not have this property.)

Thanks!

Richard


___
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] [ANN] Changes to lists

2011-02-07 Thread Eric S Fraga
Nicolas Goaziou n.goaz...@gmail.com writes:

 Hello,

 Eric S Fraga writes:

 Any suggestions? I cannot see why latex, html and babel should be
 handled any differently... I guess I could move from using
 begin_latex to begin_src latex instead?

 Function replacing blocks was not setting `original-indentation'
 property.

 This should be fixed now. Could you confirm this?

I cannot because your changes do not seem to have propagated
through... =git pull= tells me Already up-to-date and =git log= tells
me that the most recent commit was

,
| commit ca220e9c40e4467f436a0a1501fb1fd730093cec
| Merge: 68cf793 73be48b
| Author: Carsten Dominik carsten.domi...@gmail.com
| Date:   Sun Feb 6 08:14:58 2011 +0100
| 
| Merge branch 'fix-todo-list-with-extended-today'
`

I'm eager to try your fix, mind you!

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.317.gca220.dirty)

___
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] Back from FOSDEM

2011-02-07 Thread Bastien
Hi all,

we have had a good time at FOSDEM.  It was great to meet Carsten, Stefan
Vollmar, Sebastien Vauban, Jose E. Marchesi, Brian Gough and others.

Special thanks to Stefan, who presented a very nice use cas at his lab,
and to Sébastien who presented a few Org Babel examples.  Org cannot be
presented without Org Babel.

The devroom was fully packed, which is about 100 people.  I expected to
introduce Org and to try to convert some people, but about 70% of the
audience was already using Org!  So the presentation was really a mix of
generalities and a live demo of some features (to be honest: I was a bit
stressful and tired, I wish I did a better job.)

Note for later: when talking to hackers, forget about the slides and
have direct fun with an Org-mode buffer, display the *magic* of with no
taboo -- questions will come along as you hit some neat feature.

I've put my slides here:

  http://lumiere.ens.fr/~guerry/u/org-fosdem-presentation-beamer.pdf

One point I made : what's special about Org is that it's a reflexive
tool, one that lets you discover the way you work and the way you want
to work.  Forget about getting disciplined by some external digital
secretary, start by having fun discovering yourself with a tool that 
has virtually no learning curve (or just that of Emacs itself...) 

One surprising discovery: we never had and we don't have a roadmap.  
I'm fine with this and I don't plan to set up one.  Better to do things
rather than planning to do them.

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] Bug: startup hidestars also hides the point (square at point) [6.33x]

2011-02-07 Thread Arne Babenhauserheide
Hi Bastien, 

On Friday 04 February 2011 20:10:44 Bastien wrote:
 Arne Babenhauserheide arne_...@yahoo.de writes:
  Thanks for doublechecking. I now tested it again, and this only happens
  when used in a shell (i.e. in a KDE Konsole) where the point does not
  blink.
 
 Well, I had this problem before but I don't know how to handle it.

I don’t know it either… 

Is it possible to disable the blinking statically and set the point to 
visible? 

Bist wishes, 
Arne

___
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: let's make the biggest gift of FLOSS history!

2011-02-07 Thread suvayu ali
On Mon, Feb 7, 2011 at 10:13 AM, Jeff Horn jrhorn...@gmail.com wrote:
 I don't see the Flattr button. Maybe I have to wait for the next publishing?

I can see it, so maybe all you need is a forced refresh? (C-S-r for firefox)

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


[Orgmode] Table cells containing more than one line

2011-02-07 Thread mwnn
Hi all,

I am trying to create a table with cells that hold two or more lines. 
On 
exporting the document to HTML, all the lines (starting from the 2nd line) are 
put in cell of their own. Is there a solution to this problem.

Regards,
mwnn.


___
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] crypt entries and journal

2011-02-07 Thread Richard Riley

crypt tagged entries are not showing up in the journal. Is it because the 
properties
are being encrypted too?

,
|  vodafone new pin 
:pin:vodafone:superpin:sim:crypt:
|:PROPERTIES:
|:DateCreated: 2011-02-07 Mo 14:48
|:END:
| sim : 
| superpin : 5471
`

when saved becomes

,
|  vodafone new pin 
:pin:vodafone:superpin:sim:crypt:
| -BEGIN PGP MESSAGE-
| Version: GnuPG v1.4.10 (GNU/Linux)
| 
| hQEMA7IjL5SkHG4iAQgAhuR4Da6ErKs8g8wFiLDePgGk/sYo839h6Ew0W40qmUho
| pwkIJQf8qv4fLKv7WxeXzLSonuIyIhdYVeH/l4l4Vvb1AMp2GV1279CMqq0Zv2Cu
| KkWsK1rg3D/gJBE+LBRQRh/NlBAn/oAkkAYWrE7wKoW03T7iDJTDfjR9szW3S177
| CsHx6H5Q89r5XBCGu8USUmJLIZaSLsgiDe58W7It1qGOKtbisYF+HJn/hF91HmeO
| mPpdAhKg0N8nsQ0UKEDkOSGqBxDm2oD8S+ky6jex/Ycj3VIArQK02zCvjvRBp57O
| VCQ2EBp7zDl3LVX8xz2O75GNCFo+4rohtZYDpX1TS9KTASkIWa+Sa6Jo+rNoFcFP
| bfRxtyR/a+my0tAKq6QgzQLMGtSmXKr6ypkDcVCcEWDe6K3d3u0PwlVvRHZ1CQRV
| 3DI58LLJky7LUDBIdYpmi8xU9c/wwtbcu9WtRIKuiW+V/H5IZ5180eJnqcFMvtYI
| v1ZBC8BxUgFm6x3f+ih0wVny0Ysqo1qmRXmD4PF1qx+YMcmU
| =36UC
| -END PGP MESSAGE-
`

And doesnt appear as a journal log in my agenda.

I wouldnt swear to it but I thought they used to show up in the journal.

I would like them to. Best way?

___
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: let's make the biggest gift of FLOSS history!

2011-02-07 Thread Bastien
Hi folks,

I've been aware of Flattr since it was out.  After careful thinking, I
placed a flattr button on Org's landing page, near the paypal button:

  http://orgmode.org

The nice thing about flattr is that it's more than a donation button,
it's also an ecology of projects helping each others.  Depending on the
amounts collected there, maybe Org-mode's community can take ownership
on this flattr account and decide what projects she wants to help.

For example, let's say that we've been flattr'ed by people active in
taskwarrior and in taskjuggler, then we could decide to flattr them
back.

Let's see how it goes!

-- 
 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] [ANN] Changes to lists

2011-02-07 Thread Nicolas Goaziou
Hello,

 Eric S Fraga writes:

 Any suggestions? I cannot see why latex, html and babel should be
 handled any differently... I guess I could move from using
 begin_latex to begin_src latex instead?

Function replacing blocks was not setting `original-indentation'
property.

This should be fixed now. Could you confirm this?

Regards,

--
Nicolas

___
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: [ANN] Changes to lists

2011-02-07 Thread Nicolas Goaziou
Hello,

 David Maus writes:

 The non-breaking space in an unchecked item would not (necessarily)
 be as wide as the X in a checked item. But a checkbox list that does
 not align is in my eyes far better than unchecked items that appear
 as checked when viewed w/o CSS.

I've pushed a change in that direction. Unchecked boxes do not rely
anymore on visibility:hidden style property.

Regards,

--
Nicolas

___
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: [Accepted] Re: Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)]

2011-02-07 Thread Julien Danjou
On Sat, Feb 05 2011, Matt Lundin wrote:

 This results in only a day view because org-agenda-current-span is still
 'day.

Here's a proposal fix.

I could have setq org-agenda-current-span to nil as a work around, but
it seems more logical to just kill all the local variables. That is, a
custom agenda view would not keep any of the local variable of the
previous agenda, which seems logical to me.

From b48fc7c395dffea60df20c23b26e362ac0354b01 Mon Sep 17 00:00:00 2001
From: Julien Danjou jul...@danjou.info
Date: Mon, 7 Feb 2011 12:36:42 +0100
Subject: [PATCH] org-agenda: kill local variables in agenda view

* org-agenda.el (org-agenda): Kill all local variables. This
assures we are not keeping buffer variable from an old agenda view
when switching to a new custom agenda.

Signed-off-by: Julien Danjou jul...@danjou.info
---
 lisp/org-agenda.el |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index d146f83..9a3d953 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -2161,6 +2161,8 @@ Pressing `' twice means to restrict to the current subtree or region
   (put 'org-agenda-redo-command 'org-lprops nil)
   ;; Remember where this call originated
   (setq org-agenda-last-dispatch-buffer (current-buffer))
+  ;; Remove all local variables
+  (kill-all-local-variables)
   (unless keys
 	(setq ans (org-agenda-get-restriction-and-command prefix-descriptions)
 	  keys (car ans)
-- 
1.7.2.3


-- 
Julien Danjou
❱ http://julien.danjou.info


pgp5f0MLiuj3S.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] IMPORTANT: let's make the biggest gift of FLOSS history!

2011-02-07 Thread Bastien
suvayu ali fatkasuvayu+li...@gmail.com writes:

 On Mon, Feb 7, 2011 at 10:13 AM, Jeff Horn jrhorn...@gmail.com wrote:
 I don't see the Flattr button. Maybe I have to wait for the next
 publishing?

 I can see it, so maybe all you need is a forced refresh? (C-S-r for
 firefox)

Yes it's there -- just under the donation button.

And yes, orgmode.org needs a design refresh...  :)

-- 
 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] [PATCH] org-bbdb: allow anniversaries with unknown years

2011-02-07 Thread Christoph Groth
Anniversaries in BBDB can be now also specified in the format MM-DD
next to -MM-DD.
---
 doc/org.texi |   11 ++-
 lisp/org-bbdb.el |   27 ++-
 2 files changed, 24 insertions(+), 14 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index b406d29..bfcef06 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -7098,14 +7098,15 @@ following to one your your agenda files:
 
 You can then go ahead and define anniversaries for a BBDB record.  Basically,
 you need to press @kbd{C-o anniversary @key{RET}} with the cursor in a BBDB
-record and then add the date in the format @code{-MM-DD}, followed by a
-space and the class of the anniversary (@samp{birthday} or @samp{wedding}, or
-a format string).  If you omit the class, it will default to @samp{birthday}.
-Here are a few examples, the header for the file @file{org-bbdb.el} contains
-more detailed information.
+record and then add the date in the format @code{-MM-DD} or @code{MM-DD},
+followed by a space and the class of the anniversary (@samp{birthday} or
+@samp{wedding}, or a format string).  If you omit the class, it will default to
+@samp{birthday}. Here are a few examples, the header for the file
+@file{org-bbdb.el} contains more detailed information.
 
 @example
 1973-06-22
+06-22
 1955-08-02 wedding
 2008-04-14 %s released version 6.01 of org-mode, %d years ago
 @end example
diff --git a/lisp/org-bbdb.el b/lisp/org-bbdb.el
index 4155f58..c04b7ff 100644
--- a/lisp/org-bbdb.el
+++ b/lisp/org-bbdb.el
@@ -136,12 +136,12 @@
   '((birthday lambda
  (name years suffix)
  (concat Birthday: [[bbdb: name ][ name  (
-(number-to-string years)
+(format %s years); handles numbers as well as strings
 suffix )]]))
 (wedding lambda
  (name years suffix)
  (concat [[bbdb: name ][ name 's 
-(number-to-string years)
+(format %s years)
 suffix  wedding anniversary]])))
   How different types of anniversaries should be formatted.
 An alist of elements (STRING . FORMAT) where STRING is the name of an
@@ -239,11 +239,16 @@ italicized, in all other cases it is left unchanged.
 
 (defun org-bbdb-anniv-extract-date (time-str)
   Convert -MM-DD to (month date year).
-Argument TIME-STR is the value retrieved from BBDB.
-  (multiple-value-bind (y m d) (values-list (bbdb-split time-str -))
-(list (string-to-number m)
- (string-to-number d)
- (string-to-number y
+Argument TIME-STR is the value retrieved from BBDB.  If - is omitted
+it will be considered unknown.
+  (multiple-value-bind (a b c) (values-list (bbdb-split time-str -))
+(if (eq c nil)
+(list (string-to-number a)
+  (string-to-number b)
+  nil)
+  (list (string-to-number b)
+(string-to-number c)
+(string-to-number a)
 
 (defun org-bbdb-anniv-split (str)
   Split multiple entries in the BBDB anniversary field.
@@ -326,8 +331,12 @@ This is used by Org to re-create the anniversary hash 
table.
 class org-bbdb-anniversary-format-alist t))
class)) ; (as format string)
  (name (nth 1 rec))
- (years (- y (car rec)))
- (suffix (diary-ordinal-suffix years))
+ (years (if (eq (car rec) nil)
+unknown
+  (- y (car rec
+ (suffix (if (eq (car rec) nil)
+ 
+   (diary-ordinal-suffix years)))
  (tmp (cond
((functionp form)
 (funcall form name years suffix))
-- 
1.7.2.3


___
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] Using HTML export variables in subtrees

2011-02-07 Thread Jeff Horn
Is there a way to turn off the automatic post-amble for HTML export
without adding a publishing project? I am making extensive use of
subtree exporting, and I'd like to turn off the automatic postamble
for some some of these subtrees.

Adding a file local variable didn't work (I suspect) because the
variables are used by publishing functions and those functions are
looking somewhere else. In any case, `org-export-html-auto-postamble`
doesn't seem exposed to user customization.

-- 
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: let's make the biggest gift of FLOSS history!

2011-02-07 Thread Jeff Horn
Great! Looks like I was the first. Consider yourself flattr'd.

On Mon, Feb 7, 2011 at 6:31 PM, Bastien bastien.gue...@wikimedia.fr wrote:
 suvayu ali fatkasuvayu+li...@gmail.com writes:

 On Mon, Feb 7, 2011 at 10:13 AM, Jeff Horn jrhorn...@gmail.com wrote:
 I don't see the Flattr button. Maybe I have to wait for the next
 publishing?

 I can see it, so maybe all you need is a forced refresh? (C-S-r for
 firefox)

 Yes it's there -- just under the donation button.

 And yes, orgmode.org needs a design refresh...  :)

 --
  Bastien




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