Re: [Orgmode] Any way to limit which subtrees to export based on TODO keywords?

2010-09-16 Thread Scot Becker
Thanks Jeff,

:noexport: does what I want, but I want to send org the same no
export signal without tags, but using TODO keywords (since I'm using
tags for tagging the content of the notes, since TODO words are unused
in this document, and since they have a nice workflow oriented
interface, which is perfect for this application.

Scot


On Thu, Sep 16, 2010 at 2:59 AM, Jeff Horn jrhorn...@gmail.com wrote:
 I'm not sure I understand the use case, but you can set which tags
 export on a per-file basis.

 http://orgmode.org/manual/Selective-export.html#Selective-export

 I read somewhere that :noexport: will prevent a subtree from being
 exported automatically, and I've used that to tag some notes, export
 to PDF, and print.

 On Wed, Sep 15, 2010 at 6:19 PM, Scot Becker scot.bec...@gmail.com wrote:
 I'm working up a way to print out my org-mode reading notes to
 individual half-sheets of paper.  I'm using tags for content-related
 things, so I'd love to sort those notes which need to be printed from
 those notes which have been printed already by using TODO keywords.  I
 don't think there is an inbuilt mechanism to do this.  Can anyone
 suggest a mechanisim by which I might achieve a similar effect using
 TODO keywords (or, failing that, inheritable properties)?

 Scot

 ___
 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
 PhD Student in Economics
 George Mason University

 (704) 271-4797
 jh...@gmu.edu
 jrhorn...@gmail.com


___
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-babel matlab example

2010-09-16 Thread Dan Davison
etimecowboy etimecow...@googlemail.com writes:

 Hi everyone,

 It seems that my org used the Octave program to evaluate my Matlab
 code block/generate figures, not Matlab itself.

Hmm, shouldn't do. Could you post your example? Have you activated both
octave and matlab? What is the value of your org-babel-load-languages?

For me C-c C-c and C-c C-v e on

#+begin_src matlab
1+1
#+end_src

result in

/bin/bash: matlab: command not found

You can confirm which language is running by using the version
command. Here's what I get (note I have to run matlab on a remote
computer because I don't have it on my laptop).

--8---cut here---start-8---
#+begin_src octave :results output
version
#+end_src

#+results:
: ans = 3.2.4

#+begin_src matlab :dir /ddavi...@tombstone.princeton.edu:/ :results output
version
#+end_src

#+results:
#+begin_example

The default version of Matlab in /usr/licensed/bin is matlab-R2009b

The following versions are available in /usr/licensed/bin:
 matlab-R2009b
   matlab-R2009a
   matlab-R2008b
Warning: No display specified.  You will not be able to display graphics on the 
screen.

 M A T L A B (R) 
  Copyright 1984-2009 The MathWorks, Inc.
 Version 7.9.0.529 (R2009b) 64-bit (sol64)
  August 12, 2009

 
  To get started, type one of these: helpwin, helpdesk, or demo.
  For product information, visit www.mathworks.com.
 
  
ans =

7.9.0.529 (R2009b)

  
#+end_example
--8---cut here---end---8---



 I found this when comparing the exported figure by org with the figure 
 generated by Matlab. I also found that I cannot use org-babel on an Windows 
 PC which has Matlab installed, but not Octave.

In general we would appreciate any notes on problems encountered when
running Org-babel on Windows.

dan


 Could someone show me how to use Matlab program to evaluate Matlab code 
 blocks in org files in both Linux and Windows OS? Maybe it should be some 
 settings in my .emacs file?

 Thanks again.
   
 -

 etimecow...@gmail.com

   _.,,._
 .:'`:.
   .'  `.
  .'`.
  :  :
  `.'`':'`'`/'
   `.   \  |   /   ,'
 \   \ |  /   /
  `\_..,,.._/'
   {`'-,_`'-}
   {`'-,_`'-}
   {`'-,_`'-}
`YY'
  ~^^~

 ___
 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] Emacs version

2010-09-16 Thread Scot Becker
I also update from the git repo, about weekly and install to the new
Emacs to the default location in /usr/local, that way (1) the
development version loads by default, so long as /usr/local/bin is
earlier in your path, and (2) you keep your default ubuntu Emacs
packages intact, and can go back to them if you ever want to, by
running /usr/bin/emacs

Scot


On Thu, Sep 16, 2010 at 4:16 AM, suvayu ali fatkasuvayu+li...@gmail.com wrote:
 On 15 September 2010 15:31, Sebastian Rose sebastian_r...@gmx.de wrote:
 highly recommended, git:

  http://repo.or.cz/w/emacs.git

 I wasn't aware of the git repo! thanks a lot. :)

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


___
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: Any way to limit which subtrees to export based on TODO keywords?

2010-09-16 Thread Sébastien Vauban
Hi Scot,

Scot Becker wrote:
 :noexport: does what I want, but I want to send org the same no
 export signal without tags, but using TODO keywords

The TODO keyword COMMENT should do what you're after.

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


Re: [Orgmode] Re: Customizing agenda line format

2010-09-16 Thread Carsten Dominik


On Sep 16, 2010, at 6:52 AM, Matt Lundin wrote:


Norbert Zeh n...@cs.dal.ca writes:


Here's what I found out by tinkering around with settings a little.
Setting org-agenda-prefix-format to  (as I already did before)
correctly removes the prefix *before* the TODO keyword. The  
formatting
function for everything starting with the TODO keyword, however,  
seems

to unconditionally insert a space between the TODO keyword and the
rest of the line. Thus, even if the TODO keyword is empty (by setting
org-agenda-todo-keyword-format to ), there is still a space after
the now empty TODO keyword. Hence, the extra space at the beginning  
of

the line. To me it seems like there's no way around this with the
standard org mode settings.


After experimenting a bit, I've also come to conclusion that the  
initial

space is hard-coded.


It is also used by some day-to-day motion commands, so it should  
remain there


- Carsten



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


- 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


[Orgmode] extremely weird bad sexp errors with org-google-weather [was: extremely weird bad sexp errors]

2010-09-16 Thread Friedrich Delgado
It just occured to me, that I could have include org-google-weather in
the subject.

*bump*

Friedrich Delgado Friedrichs schrieb:
 For some strange reason, as of today, the combination
 
 %%(org-google-weather Hamburg DE)
 
 seems to be deeply offending, as I get a bad sexp error for it.
[...]

-- 
Friedrich Delgado Friedrichs frie...@nomaden.org
Laziness led to the invention of the most useful tools.

___
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: Any way to limit which subtrees to export based on TODO keywords?

2010-09-16 Thread Scot Becker
 The TODO keyword COMMENT should do what you're after.

I can't believe I didn't think of that.  I even use that one already
in other files.  Thanks,

Scot

___
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: extremely weird bad sexp errors with org-google-weather [was: extremely weird bad sexp errors]

2010-09-16 Thread Friedrich Delgado
Oh... and I just tried to set the language back to DE and the
problem disappeared.

It can only guess that there might have been some problem going on
behind the curtain (e.g. on the google servers?), which has now been
resolved.

I'd appreciate if Org/org-google-weather could handle such conditions
more gracefully, and/or some instructions how to provide debug
information for those cases.

Friedrich Delgado Friedrichs schrieb:
 It just occured to me, that I could have include org-google-weather in
 the subject.
 
 *bump*
 
 Friedrich Delgado Friedrichs schrieb:
  For some strange reason, as of today, the combination
  
  %%(org-google-weather Hamburg DE)
  
  seems to be deeply offending, as I get a bad sexp error for it.
 [...]
 
---Zitatende---

-- 
Friedrich Delgado frie...@nomaden.org
 TauPan on Ircnet and Freenode ;)

___
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-auto-repeat-maybe only updates first timestamp [7.01trans]

2010-09-16 Thread Bernt Hansen
Andrew J. Korty a...@iu.edu writes:

 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.
 

 If I have multiple timestamps in a TODO item, org-auto-repeat-maybe
 only advances the first one.  In the following example, I'd like both
 the SCHEDULED and DEADLINE timestamps to advance when the item is
 marked DONE, but only the SCHEDULED timestamp advances.

 * TODO do something by Sunday but not until Friday
   SCHEDULED: 2010-09-17 Fri ++1w DEADLINE: 2010-09-19 Sun ++1w

Why not just drop the SCHEDULED: tag and change the DEADLINE task to 

DEADLINE: 2010-09-19 Sun ++1w -2d

This way it won't show up in your agenda until Friday -- 2 days before
it's due.

-Bernt


 This behavior exists in HEAD as well as previous releases, including
 7.01h.

 Emacs  : GNU Emacs 23.1.50.1 (x86_64-apple-darwin10.0.0, NS 
 apple-appkit-1038.11)
 of 2009-11-10
 Package: Org-mode version 7.01trans

 ___
 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: inline images in org-mode

2010-09-16 Thread Dan Davison
Robert Goldman rpgold...@sift.info writes:

 I was looking for a way to put illustrations in my org-mode files so
 that I could actually look at them while editing the org stuff.  I found
 a post a while ago suggesting using iimage mode (which is included with
 the Aquamacs that I use, and is readily available if you don't have it
 with your emacs).

Hi Robert,

There's already org-display-inline-images, which iIrc uses overlays
rather than the text properties used by iimage. Does your route offer
advantages over this?

Dan


 I found I needed to do a little customization to make iimage work for
 me, so I thought I would post the details in case they were useful to
 anyone else.

 Here's the bit I added to my org configuration to make this work:

 (add-hook 'org-mode-hook
   '(lambda ()
 ;; unnecessary
 ;; (make-variable-buffer-local
 'iimage-mode-image-filename-regex)
 (let ((file-extension-regex
(regexp-opt (nconc (mapcar #'upcase
   image-file-name-extensions)
   image-file-name-extensions)
t)))
   (setq iimage-mode-image-regex-alist
 (list
  (cons
   (concat
\\[\\[
(regexp-quote file:)
\\([^]]+\. file-extension-regex \\)
\\]
\\(\\[ \\([^]]+\\) \\]\\)?
\\])
   1))

 Note that this /only/ displays inline local (file) links, not http
 images.  It wouldn't be hard to add that --- I built the above by
 copying and modifying the org-bracket-link-analytic-regexp variable
 initialization.  If one wanted to put this more generally into org-mode,
 it would probably be right to make the iimage-mode-image-regex-alist be
 under control of some org customization (to handle local versus all
 images, etc.).

 I don't generally want iimage mode on in all of my org-mode buffers, so
 I use the file variables block to engage iimage mode where I want it.
 If you'd like it always to be on, then you can just add iimage-mode
 (it's a minor mode) to your org-mode-hook.

 Hope that's of interest to someone...

 Cheers,
 r


 ___
 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] [Patch] Re: Bug? Inconsistency with org-publish-attachment

2010-09-16 Thread Sebastian Rose
Aidan Gauland aidal...@no8wireless.co.nz writes:
 On Thu, Sep 16, 2010 at 12:40:34AM +0200, Sebastian Rose wrote:
 Aidan Gauland aidal...@no8wireless.co.nz writes:
  Sebastian Rose sebastian_rose at gmx.de writes:
  It would be a bug.
 
  But I cannot reproduce it (current Org mode from git, emacs24).
 
  I just figured out why: I store all my images in ~/images/ and just
  have symbolic links to them in my Org website directory.
 
  Can you reproduce it now that you have this piece of information?


 Ah, OK.  That might be because of some call to

   (file-truename file...)

 or similar.  `file-truename' removes symbolic links in filenames.

 Functions like this are called to make sure, the file is published only
 if needed (i.e. the file has changed since last export).

 I'm not sure currently if it's clever to remove such calls (see
 lisp/org-publish.el and search `file-truename').

 What if `file-truename' was used only to get the path of the actual
 file to copy, but the (relative) path of the link is used as the
 destination?

 --Aidan

Hi Aidan,



`org-publish-attachment' is wrong or called with wrong arguments.


This patch fixes it.

As always, there might be a better way to fix it,
but this way the function `org-publish-attachment' will work regardless
of parameters.  Someone will always call this function with the wrong
`PUB-DIR' parameter...


Aidan, would like to apply the patch and verify it works for you?



Best wishes,


  Sebastian



diff --git a/lisp/org-publish.el b/lisp/org-publish.el
index de52410..f32aa94 100644
--- a/lisp/org-publish.el
+++ b/lisp/org-publish.el
@@ -578,13 +578,18 @@ See `org-publish-org-to' to the list of arguments.
   Publish a file with no transformation of any kind.
 See `org-publish-org-to' to the list of arguments.
   ;; make sure eshell/cp code is loaded
+(let* ((rel-dir
+	(file-relative-name
+	 (file-name-directory filename)
+	 (plist-get plist :base-directory)))
+   (pub-dir
+	(expand-file-name
+	 (concat (file-name-as-directory pub-dir) rel-dir
   (unless (file-directory-p pub-dir)
 (make-directory pub-dir t))
   (or (equal (expand-file-name (file-name-directory filename))
 	 (file-name-as-directory (expand-file-name pub-dir)))
-  (copy-file filename
-		 (expand-file-name (file-name-nondirectory filename) pub-dir)
-		 t)))
+  (copy-file filename pub-dir t
 
 
 ;;; Publishing files, sets of files, and indices
___
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] inline images in org-mode

2010-09-16 Thread Sebastian Rose
Robert Goldman rpgold...@sift.info writes:
 I was looking for a way to put illustrations in my org-mode files so
 that I could actually look at them while editing the org stuff.  I found
 a post a while ago suggesting using iimage mode (which is included with
 the Aquamacs that I use, and is readily available if you don't have it
 with your emacs).

 I found I needed to do a little customization to make iimage work for
 me, so I thought I would post the details in case they were useful to
 anyone else.


Hi Robert,


just use `org-display-inline-images' or `org-toggle-inline-images'.
Not sure if it works with Aquamacs.


HTH

  Sebastian

___
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: Any way to limit which subtrees to export based on TODO keywords?

2010-09-16 Thread Sebastian Rose
Scot Becker scot.bec...@gmail.com writes:
 The TODO keyword COMMENT should do what you're after.

And toggle it with `C-c ;'

 I can't believe I didn't think of that.  I even use that one already
 in other files.  Thanks,

 Scot


Sebastian

___
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: inline images in org-mode

2010-09-16 Thread Robert Goldman
On 9/16/10 Sep 16 -7:11 AM, Dan Davison wrote:
 Robert Goldman rpgold...@sift.info writes:
 
 I was looking for a way to put illustrations in my org-mode files so
 that I could actually look at them while editing the org stuff.  I found
 a post a while ago suggesting using iimage mode (which is included with
 the Aquamacs that I use, and is readily available if you don't have it
 with your emacs).
 
 Hi Robert,
 
 There's already org-display-inline-images, which iIrc uses overlays
 rather than the text properties used by iimage. Does your route offer
 advantages over this?

Nope.  Just didn't know it was there.  It's not in the manual (if I get
a chance, I'll try to write up a patch, or maybe someone else can); the
only thing I found on inline images was about export to HTML.  So then I
googled, and found the material on iimage only, not o-d-i-i.

Actually, having said that, on Aquamacs, o-d-i-i doesn't seem to work
well.  For reasons I'm too ignorant to explain, o-d-i-i causes the
images to flash repeatedly, instead of simply being displayed

___
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] inline images in org-mode

2010-09-16 Thread Robert Goldman
On 9/16/10 Sep 16 -7:32 AM, Sebastian Rose wrote:
 Robert Goldman rpgold...@sift.info writes:
 I was looking for a way to put illustrations in my org-mode files so
 that I could actually look at them while editing the org stuff.  I found
 a post a while ago suggesting using iimage mode (which is included with
 the Aquamacs that I use, and is readily available if you don't have it
 with your emacs).

 I found I needed to do a little customization to make iimage work for
 me, so I thought I would post the details in case they were useful to
 anyone else.
 
 
 Hi Robert,
 
 
 just use `org-display-inline-images' or `org-toggle-inline-images'.
 Not sure if it works with Aquamacs.

Doesn't seem to (see earlier response).

Suggestion: add documentation of this to MarkupImages and tables in the
org manual?  I'm still not entirely sure how to use it.  Is there some
magic I can put in the Local Variables block that will cause the images
to be displayed on startup?

# org-display-inline-images: t

doesn't seem to do this --- I still needed to call o-d-i-i or o-t-i-i
even with that in the block.

I'm willing to write up the manual patch; I'm just not entirely sure
what it should say (and whether my proposed location is the right one).

best,
r

___
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: inline images in org-mode

2010-09-16 Thread Dan Davison
Robert Goldman rpgold...@sift.info writes:

 On 9/16/10 Sep 16 -7:11 AM, Dan Davison wrote:
 Robert Goldman rpgold...@sift.info writes:
 
 I was looking for a way to put illustrations in my org-mode files so
 that I could actually look at them while editing the org stuff.  I found
 a post a while ago suggesting using iimage mode (which is included with
 the Aquamacs that I use, and is readily available if you don't have it
 with your emacs).
 
 Hi Robert,
 
 There's already org-display-inline-images, which iIrc uses overlays
 rather than the text properties used by iimage. Does your route offer
 advantages over this?

 Nope.  Just didn't know it was there.  It's not in the manual (if I get
 a chance, I'll try to write up a patch, or maybe someone else can);

Right, good catch. Someone needs to add it.

 the
 only thing I found on inline images was about export to HTML.  So then I
 googled, and found the material on iimage only, not o-d-i-i.

 Actually, having said that, on Aquamacs, o-d-i-i doesn't seem to work
 well.  For reasons I'm too ignorant to explain, o-d-i-i causes the
 images to flash repeatedly, instead of simply being displayed

Hmm, I don't think this is a good guess, but if you're using
org-indent-mode does turning it off help?

___
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] Worg link broken

2010-09-16 Thread Giovanni Ridolfi
Thomas S. Dye t...@tsdye.com writes:

 Aloha all,


  in http://orgmode.org/worg/org-contrib/babel/uses.php 
 the link to
 http://orgmode.org/worg/org-contrib/babel/examples/article-class.php

 [is] broken.  
Also this is broken:

Tracking finances

http://orgmode.org/worg/org-contrib/babel/examples/finances.php

Giovanni

___
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] Exporting BEAMER_HEADER_EXTRA

2010-09-16 Thread Francesco Pizzolante
Hi,

I have noticed a small problem with the export of the #+BEAMER_HEADER_EXTRA
content (containing, as described in the documentation, the \usetheme{MyTheme}
command).

As of now, it is generated just before the \begin{document} command and after
the export of \title{}, \author{} and \date{} commands.

This means that if any of these commands (title, author, date) are
customized/overridden in the theme, we don't get the customizations as they
are called before the \usetheme{} command.

Thus, the #+BEAMER_HEADER_EXTRA content should be exported before the export
of \title{}, \author{} and \date{} command; hence, the right order would be:

- \documentclass{}
- block =def-packages=
- block =packages=
- block =LATEX_EXTRA=
- block =LATEX_BEAMER_EXTRA=  NEW position (instead of after \title...)
- \title{}, \author{}, \date{}

A simple workaround is to use #+LATEX_HEADER instead of #+BEAMER_HEADER_EXTRA
to call the \usetheme{} command.

Thanks,
Francesco

___
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] inline images in org-mode

2010-09-16 Thread Sebastian Rose
Robert Goldman rpgold...@sift.info writes:
 ... Is there some
 magic I can put in the Local Variables block that will cause the images
 to be displayed on startup?

 # org-display-inline-images: t



# Local Variables:
# mode: Org
# eval: (org-display-inline-images)
# End:


  Sebastian

___
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] Relative dates with sexep

2010-09-16 Thread julien cubizolles
I'm trying to specify a date relative to another date in an org file.
I've tried to adapt one of the examples from worg, with :

 %%(= 7 (- (calendar-absolute-from-gregorian date)
(calendar-absolute-from-gregorian (02 02 2010

to get the date one week after the 2nd of february 2010. Bad sexp...

What should I use ?

Julien.





___
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] message not present in default value of org-link-types

2010-09-16 Thread Jules Bean
The link-type message is one of the ones org handles by default, it
is an explicit case in org-open-at-point, much like http and it is
handled by the following code:

((member type '(message))
   (browse-url (concat type : path)))

However it is not included in the default value of org-link-types:

(defvar org-link-types '(http https ftp mailto file news
   shell elisp doi))

...and therefore it doesn't work when clicked/followed.

Manually adding it to org-link-types makes it work correctly. For me,
anyway.

Jules

___
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: Question: Repeating Items?

2010-09-16 Thread Matt Lundin
Hi Ken,

Kenneth Miller kenn...@erdosmiller.com writes:

 I fired up org-mode on my new machine, pulled my org files from source
 control, set my agenda files and agenda-key, attempted to view my
 agenda, and got the following. I've replaced some of the names with
 random characters for privacy, but events and todos are repeating
 themselves over and over and I can't seem to figure out why.

I've never encountered this problem. Could you please provide a test
case org file (along with the relevant portions of your .emacs)?

Also, could you please report what version of org-mode you are using
(M-x org-version).

Best,
Matt


 Example:

 Tuesday    14 September 2010
   em:         Sched.11x:  TODO Schedule Detectachem Monthly Review
   em:         Sched.11x:  TODO Detectachem Monthly Documentation
   em:         Sched.11x:  TODO Detectachem Monthly Billing
   em:         Sched.11x:  TODO Schedule Detectachem Monthly Review
   em:         Sched.11x:  TODO Detectachem Monthly Documentation
   em:         Sched.11x:  TODO Detectachem Monthly Billing
   em:         Sched.11x:  TODO Schedule Detectachem Monthly Review
   em:         Sched.11x:  TODO Detectachem Monthly Documentation
   em:         Sched.11x:  TODO Detectachem Monthly Billing
   em:         Sched.11x:  TODO Schedule Detectachem Monthly Review
   em:         Sched.11x:  TODO Detectachem Monthly Documentation
   em:         Sched.11x:  TODO Detectachem Monthly Billing
   em:         Sched.11x:  TODO Schedule Detectachem Monthly Review
   em:         Sched.11x:  TODO Detectachem Monthly Documentation
   em:         Sched.11x:  TODO Detectachem Monthly Billing
   em:         Sched.10x:  TODO Payroll
   em:         Sched.10x:  TODO Payroll
   em:         Sched.10x:  TODO Payroll
   em:         Sched.10x:  TODO Payroll
   em:         Sched.10x:  TODO Payroll
   pipe:       In -31 d.:  TODO Research wireless security for credit
 card transactions.
   pipe:       In -31 d.:  TODO Research wireless security for credit
 card transactions.
   pipe:       In -31 d.:  TODO Research wireless security for credit
 card transactions.
   pipe:       In -31 d.:  TODO Research wireless security for credit
 card transactions.
   pipe:       In -31 d.:  TODO Research wireless security for credit
 card transactions.

 ___
 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] Worg link broken

2010-09-16 Thread suvayu ali
On 16 September 2010 06:15, Giovanni Ridolfi giovanni.rido...@yahoo.it wrote:
 Thomas S. Dye t...@tsdye.com writes:

 Aloha all,


  in http://orgmode.org/worg/org-contrib/babel/uses.php
 the link to
 http://orgmode.org/worg/org-contrib/babel/examples/article-class.php

 [is] broken.
 Also this is broken:

 Tracking finances

 http://orgmode.org/worg/org-contrib/babel/examples/finances.php


I found quite a  few internal links are broken. For example this one,

http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.php#*Column==view==for==slide==and==block==customisation

 Giovanni


-- 
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] Problem in org + beamer on B_frame BEAMER_env for subsections with BEAMER_FRAME_LEVEL: 0

2010-09-16 Thread Olivier Berger
Hi.

It seems to me it's currently impossible to use a custom frames
sequencing in org + beamer, as only positive values of
BEAMER_FRAME_LEVEL seem to be working here.

I'm trying to use the following simple slides document below, but it
fails with :
! You can't use `\end' in internal vertical mode.
\enddocument ... \endgroup \deadcycles \z@ \@@end 
  
l.60 \end{document}
   

! LaTeX Error: \begin{bea...@framepauses} on input line 58 ended by 
\end{document}.

I guess it's because of the latex generated being :
\begin{frame}
\frametitle{Introduction}
\label{sec-1}

hehe\footnote{hehe }
coin
\begin{frame}
[SNIP]
\end{frame}
\end{frame}


being generated instead of :
\begin{frame}
\frametitle{Introduction}
\label{sec-1}

hehe\footnote{hehe }
coin
\end{frame}
\begin{frame}
[SNIP]
\end{frame}

Is this a known bug, or maybe linked to my latex beamer version
somehow ?
(org-mode being 7.01h-1 unstable Debian package)

Couldn't find a mention of this problem by googling, but may have missed
it.

Thanks in advance.

Best regards,

-
#+TITLE:Example presentation with org and beamer
#+AUTHOR:Your name
#+DATE:  Your date
#+DESCRIPTION: 
#+KEYWORDS: 
#+LANGUAGE:  en
#+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t :t
#+OPTIONS:   TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 
path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:   
#+LINK_HOME: 
#+XSLT: 
#+startup: beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [presentation]
#+BEAMER_FRAME_LEVEL: 0

#+BEAMER_HEADER_EXTRA: \usetheme{default}\usecolortheme{default}
#+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args) 
%4BEAMER_col(Col) %8BEAMER_extra(Extra)
#+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 :ETC

* Introduction  :B_frame:
:PROPERTIES:
:BEAMER_env: frame
:END:
hehe[fn:1]
coin

** Coin :B_frame:
:PROPERTIES:
:BEAMER_env: frame
:END:
** Example subsection 1 :B_frame:
:PROPERTIES:
:BEAMER_env: frame
:END:
*** Subection 1 text
*** coin

* Footnotes
[fn:1] hehe

-- 
Olivier BERGER olivier.ber...@it-sudparis.eu
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingénieur Recherche - Dept INF
Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)


___
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] inline images in org-mode

2010-09-16 Thread Robert Goldman
On 9/16/10 Sep 16 -8:46 AM, Sebastian Rose wrote:
 Robert Goldman rpgold...@sift.info writes:
 ... Is there some
 magic I can put in the Local Variables block that will cause the images
 to be displayed on startup?

 # org-display-inline-images: t
 
 
 
 # Local Variables:
 # mode: Org
 # eval: (org-display-inline-images)
 # End:
 
 
   Sebastian

Would it be reasonable to augment org's processing of #+ directives so
that an org user can specify there instead of using the local variables,
which is less user-friendly?

best,
r


___
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-auto-repeat-maybe only updates first timestamp [7.01trans]

2010-09-16 Thread Andrew J. Korty

Andrew J. Korty a...@iu.edu wrote:


Bernt Hansen be...@norang.ca wrote:

  If I have multiple timestamps in a TODO item, org-auto-repeat-maybe
  only advances the first one.  In the following example, I'd like both
  the SCHEDULED and DEADLINE timestamps to advance when the item is
  marked DONE, but only the SCHEDULED timestamp advances.
 
  * TODO do something by Sunday but not until Friday
SCHEDULED: 2010-09-17 Fri ++1w DEADLINE: 2010-09-19 Sun ++1w
 
 Why not just drop the SCHEDULED: tag and change the DEADLINE task to 
 
 DEADLINE: 2010-09-19 Sun ++1w -2d
 
 This way it won't show up in your agenda until Friday -- 2 days before

 it's due.

Right, but then it will show up in tags-todo lists before I want it 
to.  An example is renewing my driver's license, for which I could use


DEADLINE: 2011-10-12 Wed ++4y -2w

but it would show up in tags-todo lists way before it would make sense 
to renew.  Although I suppose I could set org-agenda-ignore-deadlines 
to 'all and just rely on the daily/weekly agenda to show them to me ...


Oops, frobbing org-agenda-ignore-deadlines won't help.  It works in 
the case of driver's license renewal, but it breaks a different case.  
Say I've been asked to review a document by October 31.  So I set a 
deadline of 2010-12-31.  But I do want to see it on my tags-todo list 
now because if I had time now, I could review the documents and submit 
my comments well before the deadline.


So that's why I use both SCHEDULE and DEADLINE: for tasks I want to 
hide from the daily/weekly agenda *and* tags-todo lists until a 
certain date without removing unscheduled items with deadlines from 
tags-todo lists.


ajk

___
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-auto-repeat-maybe only updates first timestamp [7.01trans]

2010-09-16 Thread Andrew J. Korty

Bernt Hansen be...@norang.ca wrote:


 If I have multiple timestamps in a TODO item, org-auto-repeat-maybe
 only advances the first one.  In the following example, I'd like both
 the SCHEDULED and DEADLINE timestamps to advance when the item is
 marked DONE, but only the SCHEDULED timestamp advances.

 * TODO do something by Sunday but not until Friday
   SCHEDULED: 2010-09-17 Fri ++1w DEADLINE: 2010-09-19 Sun ++1w

Why not just drop the SCHEDULED: tag and change the DEADLINE task to 


DEADLINE: 2010-09-19 Sun ++1w -2d

This way it won't show up in your agenda until Friday -- 2 days before
it's due.


Right, but then it will show up in tags-todo lists before I want it 
to.  An example is renewing my driver's license, for which I could use


   DEADLINE: 2011-10-12 Wed ++4y -2w

but it would show up in tags-todo lists way before it would make sense 
to renew.  Although I suppose I could set org-agenda-ignore-deadlines 
to 'all and just rely on the daily/weekly agenda to show them to me ...


ajk

___
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] Bibtex and latex export

2010-09-16 Thread Rafael Calsaverini
Hi there,

I'm trying to use org-mode to compose latex documents and I'm having a
problem with bibtex. When I export to pdf with C-c C-e p, pdflatex runs and
everything works gracefully with respect to the latex code (the output is
even prettier than I used to have patience to do only with latex), but
bibtex isn't called.

I tried to fiddle with org-exp-bibtex, which is nice, but apparently it
don't call bibtex either.

I tried to edit the function that calls pdflatex to include a call to
bibtex, but to be honest I know zero about lisp, so I couldn't even edit a
simple list of commands. :P (I must be the only emacs user in the world that
can't write or read lisp... it would be swell if I could use haskell to
extend emacs instead of lisp :P).

How should I go about automatically including a call to bibtex whenever I
want to export my org document as a pdf?

Thanks for your time, and sorry to bore you with simple questions...
---
Rafael Calsaverini
Dep. de Física Geral, Sala 336
Instituto de Física - Universidade de São Paulo

rafael.calsaver...@gmail.com
http://stoa.usp.br/calsaverini/weblog
CEL: (11) 7525-6222
USP: (11) 3091-6803
___
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] Emacs version

2010-09-16 Thread A. Ryan Reynolds
On Wed, Sep 15, 2010 at 3:11 PM, Henri-Paul Indiogine
hindiog...@gmail.com wrote:
 I have added the following to my /etc/apt/sources.list

 ## Emacs snapshot
 deb http://ppa.launchpad.net/portis25/emacs/ubuntu lucid main
 deb-src http://ppa.launchpad.net/portis25/emacs/ubuntu lucid main

Is there a similar repository for Debian?
-- 
A. Ryan Reynolds

___
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] Problem when previewing latex fragments

2010-09-16 Thread Darlan Cavalcante Moreira

Hello list,

When I run org-preview-latex-fragment (C-c C-x C-l) I get the error
,
! org-create-formula-image: Symbol's function definition is void:
! org-export-latex-fix-inputenc
`

However, I run org-reload it works (until I close my gtd.org file and open
it again). I'm running the latest version of org and the variable
org-export-with-LaTeX-fragments is set to nil (but as I understand it is
only used for exporting and not for previewing).

To test if this is due to some configuration, I run emacs with the -q
option and executed in the scratch buffer only the code below to load the
new version
--8---cut here---start-8---
(progn (cd ~/Org-mode-dev/) (normal-top-level-add-subdirs-to-load-path))
(org-reload)
--8---cut here---end---8---
Then I oppened my gtd.org file and tryed C-c C-x C-l, but I got the same
error.

Does anyone else has this problem?

--
Darlan

ps: Emacs version is 23.1.50.1 (emacs-snapshot in Ubuntu 10.04)

___
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: Emacs version

2010-09-16 Thread Gregor Zattler
Hi A.,
* A. Ryan Reynolds a.ryan.reyno...@gmail.com [15. Sep. 2010]:
 On Wed, Sep 15, 2010 at 3:11 PM, Henri-Paul Indiogine
 hindiog...@gmail.com wrote:
 I have added the following to my /etc/apt/sources.list

 ## Emacs snapshot
 deb http://ppa.launchpad.net/portis25/emacs/ubuntu lucid main
 deb-src http://ppa.launchpad.net/portis25/emacs/ubuntu lucid main
 
 Is there a similar repository for Debian?

Yes:

# emacs-snapshot for debian/sid
deb http://emacs.orebokech.com sid main
#deb-src http://emacs.orebokech.com sid main

# emacs-snapshot for debian/lenny
deb http://emacs.orebokech.com lenny main
#deb-src http://emacs.orebokech.com lenny main




Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-

___
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] Problem when previewing latex fragments

2010-09-16 Thread Sebastian Rose
Darlan Cavalcante Moreira darc...@gmail.com writes:
 Hello list,

 When I run org-preview-latex-fragment (C-c C-x C-l) I get the error
 ,
 ! org-create-formula-image: Symbol's function definition is void:
 ! org-export-latex-fix-inputenc
 `

 However, I run org-reload it works (until I close my gtd.org file and open
 it again). I'm running the latest version of org and the variable
 org-export-with-LaTeX-fragments is set to nil (but as I understand it is
 only used for exporting and not for previewing).

 To test if this is due to some configuration, I run emacs with the -q
 option and executed in the scratch buffer only the code below to load the
 new version

 (progn (cd ~/Org-mode-dev/) (normal-top-level-add-subdirs-to-load-path))
 (org-reload)
 Then I oppened my gtd.org file and tryed C-c C-x C-l, but I got the same
 error.

 Does anyone else has this problem?

 --
 Darlan

 ps: Emacs version is 23.1.50.1 (emacs-snapshot in Ubuntu 10.04)


make autoloads


???

___
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: Question: Repeating Items?

2010-09-16 Thread T.F. Torrey
I had a similar problem with duplicate agenda entries. After much
aggravation, I discovered I had a duplicate entry for the file in the
setq org-agenda-files section of my .emacs file. Could the new machine
have multiple sections adding entries to org-agenda-files? Does the
value of that variable show duplicates? -- T.

 From: Matt Lundin m...@imapmail.org
 To: Kenneth Miller kenn...@erdosmiller.com
 Date: Thu, 16 Sep 2010 11:33:48 -0400
 User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)
 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
   recognized.
 Cc: emacs-orgmode@gnu.org
 Subject: [Orgmode] Re: Question: Repeating Items?
 Sender: emacs-orgmode-bounces+tftorrey=tftorrey@gnu.org
 
 Hi Ken,
 
 Kenneth Miller kenn...@erdosmiller.com writes:
 
  I fired up org-mode on my new machine, pulled my org files from source
  control, set my agenda files and agenda-key, attempted to view my
  agenda, and got the following. I've replaced some of the names with
  random characters for privacy, but events and todos are repeating
  themselves over and over and I can't seem to figure out why.
 
 I've never encountered this problem. Could you please provide a test
 case org file (along with the relevant portions of your .emacs)?
 
 Also, could you please report what version of org-mode you are using
 (M-x org-version).
 
 Best,
 Matt
 
 
  Example:
 
  Tuesday    14 September 2010
    em:         Sched.11x:  TODO Schedule Detectachem Monthly Review
    em:         Sched.11x:  TODO Detectachem Monthly Documentation
    em:         Sched.11x:  TODO Detectachem Monthly Billing
    em:         Sched.11x:  TODO Schedule Detectachem Monthly Review
    em:         Sched.11x:  TODO Detectachem Monthly Documentation
    em:         Sched.11x:  TODO Detectachem Monthly Billing
    em:         Sched.11x:  TODO Schedule Detectachem Monthly Review
    em:         Sched.11x:  TODO Detectachem Monthly Documentation
    em:         Sched.11x:  TODO Detectachem Monthly Billing
    em:         Sched.11x:  TODO Schedule Detectachem Monthly Review
    em:         Sched.11x:  TODO Detectachem Monthly Documentation
    em:         Sched.11x:  TODO Detectachem Monthly Billing
    em:         Sched.11x:  TODO Schedule Detectachem Monthly Review
    em:         Sched.11x:  TODO Detectachem Monthly Documentation
    em:         Sched.11x:  TODO Detectachem Monthly Billing
    em:         Sched.10x:  TODO Payroll
    em:         Sched.10x:  TODO Payroll
    em:         Sched.10x:  TODO Payroll
    em:         Sched.10x:  TODO Payroll
    em:         Sched.10x:  TODO Payroll
    pipe:       In -31 d.:  TODO Research wireless security for credit
  card transactions.
    pipe:       In -31 d.:  TODO Research wireless security for credit
  card transactions.
    pipe:       In -31 d.:  TODO Research wireless security for credit
  card transactions.
    pipe:       In -31 d.:  TODO Research wireless security for credit
  card transactions.
    pipe:       In -31 d.:  TODO Research wireless security for credit
  card transactions.
 
  ___
  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

___
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: [Patch] Re: Bug? Inconsistency with org-publish-attachment

2010-09-16 Thread Aidan Gauland
Sebastian Rose sebastian_rose at gmx.de writes:
 `org-publish-attachment' is wrong or called with wrong arguments.
 
 This patch fixes it.
 
 As always, there might be a better way to fix it,
 but this way the function `org-publish-attachment' will work regardless
 of parameters.  Someone will always call this function with the wrong
 `PUB-DIR' parameter...
 
 Aidan, would like to apply the patch and verify it works for you?

That fixes the problem, but introduces/reveals another:

All symlinks in artsy/photography/images/ are dereferenced and copied
to published/artsy/photography/images/, but all regular files in
artsy/photography/images/ are copied to
published/artsy/photography/images/artsy/photography/images/.

So the patch works only if there are only symlinks.  (Not sure about
only regular files.  It may have broken something.)

--Aidan



___
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] Putting latex in document titles

2010-09-16 Thread suvayu ali
Hi everyone,

I have been using org-mode to make a beamer presentation for the last
few days. Works very well except for a few kinks, e.g. I can't put
latex like this $..$ in the presentation title. I tried something like
this,

#+TITLE: Search for $W'$ resonances

This simply escapes the $ signs. However if I try things like

#+TITLE: Search for W' resonances \newline (\sqrt s = 7TeV)

Then the newline and the square root is rendered as expected.

I would like to render W' as it is rendered in math mode to be
consistent with the rest of my talk. Is that possible? Am I missing
anything obvious?

-- 
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: [Patch] Re: Bug? Inconsistency with org-publish-attachment

2010-09-16 Thread Sebastian Rose
Aidan Gauland aidal...@no8wireless.co.nz writes:
 Sebastian Rose sebastian_rose at gmx.de writes:
 `org-publish-attachment' is wrong or called with wrong arguments.
 
 This patch fixes it.
 
 As always, there might be a better way to fix it,
 but this way the function `org-publish-attachment' will work regardless
 of parameters.  Someone will always call this function with the wrong
 `PUB-DIR' parameter...
 
 Aidan, would like to apply the patch and verify it works for you?

 That fixes the problem, but introduces/reveals another:

 All symlinks in artsy/photography/images/ are dereferenced and copied
 to published/artsy/photography/images/, but all regular files in
 artsy/photography/images/ are copied to
 published/artsy/photography/images/artsy/photography/images/.

 So the patch works only if there are only symlinks.  (Not sure about
 only regular files.  It may have broken something.)


Arrrgh, yes...

So my first guess was the better one.

This here works for both --- here it does.


diff --git a/lisp/org-publish.el b/lisp/org-publish.el
index de52410..90b0339 100644
--- a/lisp/org-publish.el
+++ b/lisp/org-publish.el
@@ -601,13 +601,13 @@ See `org-publish-projects'.
 		  (error File %s not part of any known project
 			 (abbreviate-file-name filename)
 	 (project-plist (cdr project))
-	 (ftname (file-truename filename))
+	 (ftname (expand-file-name filename))
 	 (publishing-function
 	  (or (plist-get project-plist :publishing-function)
 	  'org-publish-org-to-html))
 	 (base-dir
 	  (file-name-as-directory
-	   (file-truename
+	   (expand-file-name
 	(or (plist-get project-plist :base-directory)
 		(error Project %s does not have :base-directory defined
 		   (car project))
___
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] Re: Bug? Inconsistency with org-publish-attachment

2010-09-16 Thread Sebastian Rose

Aidan,


that patch was against current master of course.



 Sebastian

___
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: [Patch] Re: Bug? Inconsistency with org-publish-attachment

2010-09-16 Thread Aidan Gauland
Sebastian Rose sebastian_rose at gmx.de writes:
 This here works for both --- here it does.

Uh, not quite.  Now what should be in techy/programs/ is in
techy/programs/techy/programs/ (non-org files, that is).  At least now
all files are treated consistently. :P

--Aidan



___
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-googlecl : enhancements - replace existing blog entries.

2010-09-16 Thread Richard Riley


http://splash-of-open-sauce.blogspot.com/2010/09/list-all-blogger-blogs-whose-titles_3011.html

You can now create an org listing of blogger blogs whose title matched
the regexp you specify.


Richard Riley rile...@gmail.com writes:

 Tim Burt tcb...@rochester.rr.com writes:

 Richard Riley rile...@gmail.com writes:

 The org-googlecl package has been extended a little.

 http://splash-of-open-sauce.blogspot.com/2010/09/now-org-googlecl-supports-deleting-of_14.html

 It now detects if you try to blog an entry with the same title as an
 existing one and prompts you to view and/or remove one or more entries
 with the same name. Obviously very useful for just updating an entry (NB
 the url will change unfortunately). There is also a footer option and
 default labels (tags) if none are specified on the org entry you are
 blogging. 

 Tags as labels for the blog is a welcome feature.

 You can now specify googlecl-blogged-tag : if set it will tag the org
 entries that you blog. That tag wont be transmitted to the actual
 blog.  I'm wondering if a better idea is to log the url
 of any new blog as a property of an org entry (option based of
 course). Thoughts?  it would mean you can instantly open your org entry
 blog item and edit as you see fit.

 In addition you can now set googlecl-auto-del to avoid delete
 prompts - it will just automatically delete any entires with the same
 title as your new blog. 

 cheers

 r.

 ___
 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


-- 
☘ http://www.shamrockirishbar.com, http://splash-of-open-sauce.blogspot.com/ 
http://www.richardriley.net


___
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-googlecl : enhancements - replace existing blog entries.

2010-09-16 Thread Richard Riley



Richard Riley rile...@gmail.com writes:

 http://splash-of-open-sauce.blogspot.com/2010/09/list-all-blogger-blogs-whose-titles_3011.html

Whoops. Wrong link. Here is the correct one :-

http://splash-of-open-sauce.blogspot.com/2010/09/list-all-blogger-blogs-whose-titles_4895.html

regards

r.



 You can now create an org listing of blogger blogs whose title matched
 the regexp you specify.

 Richard Riley rile...@gmail.com writes:

 Tim Burt tcb...@rochester.rr.com writes:

 Richard Riley rile...@gmail.com writes:

 The org-googlecl package has been extended a little.

 http://splash-of-open-sauce.blogspot.com/2010/09/now-org-googlecl-supports-deleting-of_14.html

 It now detects if you try to blog an entry with the same title as an
 existing one and prompts you to view and/or remove one or more entries
 with the same name. Obviously very useful for just updating an entry (NB
 the url will change unfortunately). There is also a footer option and
 default labels (tags) if none are specified on the org entry you are
 blogging. 

 Tags as labels for the blog is a welcome feature.

 You can now specify googlecl-blogged-tag : if set it will tag the org
 entries that you blog. That tag wont be transmitted to the actual
 blog.  I'm wondering if a better idea is to log the url
 of any new blog as a property of an org entry (option based of
 course). Thoughts?  it would mean you can instantly open your org entry
 blog item and edit as you see fit.

 In addition you can now set googlecl-auto-del to avoid delete
 prompts - it will just automatically delete any entires with the same
 title as your new blog. 

 cheers

 r.

 ___
 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


-- 
☘ http://www.shamrockirishbar.com, http://splash-of-open-sauce.blogspot.com/ 
http://www.richardriley.net


___
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