Re: [Orgmode] Error When Publishing a Single File

2009-02-27 Thread Ian Barton

Many thanks Carsten.

 Hi Ian,


this bug is fixed now.  Thanks for the report.

- Carsten

On Feb 17, 2009, at 12:21 PM, Ian Barton wrote:

This has been happening for a while. I suspect it's something in my 
settings, but I can't work out what. When I publish a single file, I 
get the following error:


Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
 file-truename(nil)
org-publish-file("/home/ian/nfs/firewall/Documents/org/holiday/holiday.org") 


 byte-code("?

 org-publish-current-file(nil)
 call-interactively(org-publish-current-file)
 org-export(nil)
 call-interactively(org-export)

Publishing a whole project works fine. This is the relevant bit of my 
.emacs:


(require 'org-publish)
(setq org-publish-project-alist
 '(

  ;; ... add all the components here (see below)...
 ("org-notes"
 :base-directory "~/nfs/firewall/Documents/org/"
 :base-extension "org"
 :publishing-directory "~/nfs/firewall/public_html/org/"
 :recursive t
 :publishing-function org-publish-org-to-html
 :headline-levels 4 ; Just the default for this 
project.

 :auto-preamble t
 :auto-index t
 :index-filename "sitemap.org"
 :index-title "Sitemap"
 )

   ("org-static"
 :base-directory "~/nfs/firewall/Documents/org/"
 :base-extension 
"css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"

 :publishing-directory "~/nfs/firewall/public_html/org/"
 :recursive t
 :publishing-function org-publish-attachment)

   ("org" :components ("org-notes" "org-static"))


 ))



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


Re: [Orgmode] Error When Publishing a Single File

2009-02-27 Thread Sebastian Rose
Yepp, works great :)


Thanks Carsten.

Ian Barton  writes:

> Many thanks Carsten.
>
>  Hi Ian,
>>
>> this bug is fixed now.  Thanks for the report.
>>
>> - Carsten
>>
>> On Feb 17, 2009, at 12:21 PM, Ian Barton wrote:

-- 
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.:  +49 (0)511 - 36 58 472
Fax:   +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Http:  www.emma-stil.de


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


[Orgmode] folding of plain list entries

2009-02-27 Thread Rainer Stengele
Thanks org we are able to not only fold genuine headline entries but also plain
text items like

- item subject title
  contents
  contents
  contents

to

- item subject title>

The manual tells us that the VISIBILITY property helps to change the visibility
of entries.

I could not get this to work for the plain text entries. I would like to see
them folded on startup.
Should this already be possible?

Rainer



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


Re: [Orgmode] Exporting agenda items with data

2009-02-27 Thread Carsten Dominik

Actually,

I want to simplify this further.  From now on, the hook will always  
contain

that function, and you can control adding entry text entirely by setting
org-agenda-add-entry-text-maxlines to a number greater that zero.  The  
default

for the variable is zero, which means nothing will be added.

HTH

- Carsten

On Feb 27, 2009, at 7:19 AM, Yuval Hager wrote:


On Thursday 26 February 2009, Carsten Dominik wrote:

Hi Yuval,

On Feb 24, 2009, at 6:49 AM, Yuval Hager wrote:

Hi,

I'm looking for a way to print my agenda for the day, but including
the items
data, not just the heading.

All the export methods I have tried just export the agenda buffer as
it is,
without showing the full data for each item.

This is useful if I need to go out for some meetings, and I have
some more
info about the meeting (phone number, address) in the data section.


This is now (latest git version) possible, with an agenda custom
command configured like this, with a export file, and with
binding org-agenda-before-write-hook.

 ("a" "" agenda ""
  ((org-agenda-before-write-hook '(org-agenda-add-entry-text))
   (org-agenda-add-entry-text-maxlines 5))
  ("agenda.txt"))

See also the new variable org-agenda-add-entry-text-maxlines

If you always want to have entry text in exported agenda views,
you can also do in .emacs:

(add-hook 'org-agenda-before-write-hook 'org-agenda-add-entry-text)
(setq org-agenda-add-entry-text-maxlines 5)



or use org-agenda-export-settings for things like this.



Wow.. thanks!

With such an attentive and prompt development I now understand how  
orgmode

became such a success.

--yuval




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


Re: [Orgmode] unicorn

2009-02-27 Thread Bastien
Carsten Dominik  writes:

> I guess it is something like an official logo, yes (even though
> some people don't like it, I have seen it being called "demasculinating"
> ...)

Hehe...  Since I picked up this "animal", I entirely assume any queer
connotation it may have.  The IT world is already "masculine" enough!

-- 
 Bastien


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


Re: [Orgmode] unicorn

2009-02-27 Thread Carsten Dominik


On Feb 27, 2009, at 12:12 PM, Bastien wrote:


Carsten Dominik  writes:


I guess it is something like an official logo, yes (even though
some people don't like it, I have seen it being called  
"demasculinating"

...)


Hehe...  Since I picked up this "animal", I entirely assume any queer
connotation it may have.  The IT world is already "masculine" enough!

--
Bastien



:-)

I like it, and I really do like the list of reasons
we have (in hindsight) for choosing it...

http://orgmode.org/worg/org-faq.php#unicorn


- Carsten


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


[Orgmode] Question about date format

2009-02-27 Thread Petr Ruzicka
Hi,
I'm using Org on Windows with Czech enviroment. When I clock-in event I
always get abbreviation of weekday in wrong encoding " [2009-02-26 èt
02:36]", it should be  "[2009-02-26 čt 02:36]".
I found that I could use "org-time-stamp-custom-formats" to remove
abbreviation (%a), however I like the name of the day :)
Could somebody help me how to setup Emacs, ie. what function does Org use in
order to get date ?
Right now I have (setq default-input-enviroment "czech-qwerty") and
(set-language-environment "Czech") in my .emacs file and I'm able to do
everything I need, except those dates (so i guess I'm stil lmissing
something)
Thank you

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


[Orgmode] org-archive-subtree and heading level

2009-02-27 Thread igrek

Hello,

	when I archive a subtree as a top-level tree org-archive-subtree adds 
an extra level to the heading. Is that by-design or a bug? For the later 
case I have a patch.



diff --git a/lisp/org-archive.el b/lisp/org-archive.el
index 2609367..c1200dd 100644
--- a/lisp/org-archive.el
+++ b/lisp/org-archive.el
@@ -270,7 +270,7 @@ this heading."
;; No specific heading, just go to end of file.
(goto-char (point-max)) (insert "\n"))
  ;; Paste
- (org-paste-subtree (org-get-valid-level level 1))
+ (org-paste-subtree (org-get-valid-level level (and heading 1)))
 
  ;; Mark the entry as done
  (when (and org-archive-mark-done
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Question about date format

2009-02-27 Thread Giovanni Ridolfi
--- Gio 26/2/09, Petr Ruzicka  ha scritto:
> I'm using Org on Windows with Czech enviroment. 
Hi, Petr,

I'm using M$Widows XP in an Italian environment.
Emacs 22.3 and Emacs 23.0.9

The abbreviations of weekdays are correct in Italian:

 DEADLINE: <2009-01-14 mer +1m>   CLOSED: [2009-02-27 ven 14:08]

and  have nothing special in my .emacs

> [2009-02-26 èt 02:36]", it should be  
> [2009-02-26 čt 02:36]".

I think the problem is the accented letter in the time format.
+ Perhaps the time and date format of Emacs/Org-mode 
  does not use UTF-8.
+ Carsten, could it be a bug of Emacs itself?

However before we file a bug vs Emacs we should be sure what  
the Petr's file encoding (utf-8 ?) is.
Petr, could you please try:

C-x RET f  TAB   # to see/change  file encoding

Giovanni

__
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto 
spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it



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


[Orgmode] [FR] in org-log-done "CLOSED:" configurable

2009-02-27 Thread Giovanni Ridolfi
Dear Carsten,
I have a feature request: 
in the variable org-log-done
could you please make 
also the word CLOSED: configurable ?

The rationale:
I have a file with the (scientific) journals I want to read.
When I've read the journals I want to have a note where I
record the number of the issue read (lognoterepeat is perfect).
-
-*- mode: org; -*-

#+STARTUP: lognoterepeat
#+SEQ_TODO: READ | DONE

* Wiley
** READ [[http://www3.interscience.wiley.com/cgi-bin/jtoc/5860/][Progress in 
Photovoltaics: Research and Applications  Progr. Photov.]]  
   DEADLINE: <2009-01-14 mer +1m>   CLOSED: [2009-02-27 ven 14:08]
   - State "DONE"   from "READ"   [2009-02-27 ven 13:46] \\
 Volume 17 Issue 1 (January 2009) 
   - State "DONE"   [2008-10-16 gio 15:02] \\
 Volume 16 Issue 6 , Pages 461 - 553 (September 2008)
---
However since they are repeated tasks, IMHO, is not necessary
tag them as CLOSED, like Org-Mode does:
  DEADLINE: <2009-01-14 mer +1m>   CLOSED: [2009-02-27 ven 14:08]

the record of the changed status, in the note, is enough:
  not closed
 
   DEADLINE: <2009-01-14 mer +1m>   
   - State "DONE"   from "READ"   [2009-02-27 ven 13:46] \\
 Volume 17 Issue 1 (January 2009) 

So I'd suggest a new value for org-log-done:

logonlynoterepeat  ->  "onlynote" record only the note, 
  not mark it closed
or, less easy to be remebered,

lognoterepeatopen  -> "open"  , still open, not closed
   

cheers,
Giovanni

P.S. the doc string of the org-log-repeat variable
would be clearer with lines in this order:
   #+STARTUP: nologrepeat 
   #+STARTUP: logrepeat   
   #+STARTUP: lognoterepeat 

 instead of :
 #+STARTUP: logrepeat 
 #+STARTUP: lognoterepeat   
 #+STARTUP: nologrepeat 

Since,if I undestand it correctly,
 value:
   #+STARTUP: nologrepeat= nil
   #+STARTUP: logrepeat  = time
   #+STARTUP: lognoterepeat  = note

__
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto 
spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it



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


Re: [Orgmode] Question about date format

2009-02-27 Thread Petr Ruzicka
Hi,
my encoding is ISO-8859-2. However, when I change to UTF-8 situation stays
the same.
Thanks for help

Petr

On Fri, Feb 27, 2009 at 3:01 PM, Giovanni Ridolfi  wrote:

> --- Gio 26/2/09, Petr Ruzicka  ha scritto:
> > I'm using Org on Windows with Czech enviroment.
> Hi, Petr,
>
> I'm using M$Widows XP in an Italian environment.
> Emacs 22.3 and Emacs 23.0.9
>
> The abbreviations of weekdays are correct in Italian:
>
>  DEADLINE: <2009-01-14 mer +1m>   CLOSED: [2009-02-27 ven 14:08]
>
> and  have nothing special in my .emacs
>
> > [2009-02-26 èt 02:36]", it should be
> > [2009-02-26 čt 02:36]".
>
> I think the problem is the accented letter in the time format.
> + Perhaps the time and date format of Emacs/Org-mode
>  does not use UTF-8.
> + Carsten, could it be a bug of Emacs itself?
>
> However before we file a bug vs Emacs we should be sure what
> the Petr's file encoding (utf-8 ?) is.
> Petr, could you please try:
>
> C-x RET f  TAB   # to see/change  file encoding
>
> Giovanni
>
> __
> Do You Yahoo!?
> Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto
> spazio gratuito per i tuoi file e i messaggi
> http://mail.yahoo.it
>
>
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Fast open, what is published already

2009-02-27 Thread Sebastian Rose
Hi everyone,


I recently fell in love with org-annotation-helper.el and
org-browser.el. I hacked together a little shell script, that uses the
features of those two to open an already published org-file, presumed
the local repo is configured, and a protocol handler and bookmark are in
place.

Also, you may do a `git pull', `mtn pull' or what ever before  the file
is opened in emacs. The script can easily be adjusted to work with any
Org project. I plan to add a little function to create new bookmarklets,
protocol handlers and scripts easily (or receive the protocol on stdin
too and map protocols to repositories).

This is it:



#! /bin/bash

# Author: Sebastian Rose 
#
# The idea is roughly based on org-annotation-helper and org-browser-url.el,
# written by Bastien Guerry and Ross Patterson respectively.
#
# AIMS
#
#   Open already published files in emacs easily. This script is originally
#   geard for usage with the contents in http://orgmode.org/worg/ (and
#   Worg.git), but it can easily be changed to help with other projects too.
#
#   Optionally do a `git pull', `mtn pull' or whatever.
#
#   See `Future plans' for what is planed.
#
#
# REQUIREMENTS
#
#   * You'll need to have ssh-askpass installed, to load ssh-key files as needed.
#   * Firefox browser. The possibility to do somthing similar with Opera seems to
# exist, but I didn't test it. For more visit opera.com.
#   * An SMCS, capable of using ssh-agent, and configured to use it. You might also
# use this script for repos that are accessed without any authentication at all
# (or a kind of authentication that does not require any interaction).
#   * zenity
#
# USAGE:
#
#  1.) Add a new protocol handler to Firefox:
#   * navigate to "about:config"
#   * right click, select "New" => "String"
#   * enter the name:
#
#  network.protocol-handler.app.org-worg
#
#   * leave the value blank
#
#  See http://kb.mozillazine.org/Register_protocol for more details.
#
#  2.) Add a bookmark to Firefox. As `Location' use this here:
#
#javascript:location.href='org-worg:///'+location.href.replace(/http:\/\/orgmode.org\/worg\//, "")
#
#  3.) Customize all the option below.
#
#  4.) When browsing http://orgmode.org/worg/, click the bookmark. Firefox will
#  ask for the application to use with the protocol `org-worg://'. Enter the
#  path to this script and ensure it is executable. If everything is configured
#  correctly, the appropriate file is opened in emacs.
#


# ##
#  --- CUSTOMIZATION ---
#

# No slash at the end:
working_dir=~/develop/org/Worg


# Could be changed to "mtn sync" or what ever.
pull_command="git pull"

# Does the pull command require a ssh key file to be loaded?
# Key file to add, to be able pull:
ssh_key_file=~/.ssh/id_repo_or_cz

# Does the pull command require a ssh key file to be loaded?
# We can only ask if the fingerprint is in ssh-agent. Needed, if your
# project requires it.
fingerprint="b7:f5:10:43:3b:c2:fe:b5:54:18:3f:35:f1:d0:a3:6e"

# Pull before editing? [always|never|ask]
pull_policy=ask

# The suffix to strip (i.e. to exchange with `.org').
strip_suffix=".php"

# Only change this, if you changed the protocol used for the bookmarklet!
file=${1#org-worg:///}

#
# --- these options are less likely to change ---
#
working_suffix=".org"

#
# --- END OF CUSTOMIZATION ---
# ##





# Future plans:
case "${1}" in
--help)   # Print a help message (installation...)
echo "HELP"
exit 0 ;;
--create) # Create new files and bookmarklets for more projects interactively.
echo "CREATE"
exit 0 ;;
esac
# End of future plans.





file="${file%${strip_suffix}}${working_suffix}"

if [ -f "${working_dir}/${file}" ]; then
do_pull=$pull_policy
if [ "ask" = $pull_policy ]; then
if zenity --question --title="Org-Worglet :: ${file}" --text="Shall I pull before opening\n${file}?"; then
do_pull=always
fi
fi

if [ "always" = $do_pull ]; then
val=$(ssh-add -l | grep "${fingerprint}")
if [ -z "${val}" ]; then
ssh-add "${ssh_key_file}"
fi
cd "${working_dir}"
if ! ${pull_command}; then
if ! zenity --question --title="Org-Worglet :: ${pull_command}" --text="${pull_command} FAILED. Open the file anyway?"; then
exit 1
fi
fi
fi
emacsclient --eval "(find-file \"${working_dir}/${file}\")"
else
zenity --error --title "Org-Worglet :: Error" --text "File does not exist: ${working_dir}/${file}"
fi







-- 
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.:  +49 (0)511 - 36 58 472
Fax:   +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Http:  www.emma-stil.de
___
Emacs-orgmode mailing list
Reme

Re: [Orgmode] Question about date format

2009-02-27 Thread Carsten Dominik


On Feb 27, 2009, at 3:01 PM, Giovanni Ridolfi wrote:


--- Gio 26/2/09, Petr Ruzicka  ha scritto:

I'm using Org on Windows with Czech enviroment.

Hi, Petr,

I'm using M$Widows XP in an Italian environment.
Emacs 22.3 and Emacs 23.0.9

The abbreviations of weekdays are correct in Italian:

DEADLINE: <2009-01-14 mer +1m>   CLOSED: [2009-02-27 ven 14:08]

and  have nothing special in my .emacs


[2009-02-26 èt 02:36]", it should be
[2009-02-26 čt 02:36]".


I think the problem is the accented letter in the time format.
+ Perhaps the time and date format of Emacs/Org-mode
 does not use UTF-8.
+ Carsten, could it be a bug of Emacs itself?


The time string comes directly from `format-time-string', an Emacs  
function.


- Carsten



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


Re: [Orgmode] org-archive-subtree and heading level

2009-02-27 Thread Carsten Dominik

Yes, this is a bug, thanks for the patch, I have applied it.

- Carsten

On Feb 27, 2009, at 2:32 PM, igrek wrote:


Hello,

	when I archive a subtree as a top-level tree org-archive-subtree  
adds an extra level to the heading. Is that by-design or a bug? For  
the later case I have a patch.



diff --git a/lisp/org-archive.el b/lisp/org-archive.el
index 2609367..c1200dd 100644
--- a/lisp/org-archive.el
+++ b/lisp/org-archive.el
@@ -270,7 +270,7 @@ this heading."
;; No specific heading, just go to end of file.
(goto-char (point-max)) (insert "\n"))
  ;; Paste
- (org-paste-subtree (org-get-valid-level level 1))
+ (org-paste-subtree (org-get-valid-level level (and heading 1)))

  ;; Mark the entry as done
  (when (and org-archive-mark-done
___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Fast open, what is published already

2009-02-27 Thread Carsten Dominik

This is pretty cool.

- Carsten

On Feb 27, 2009, at 4:18 PM, Sebastian Rose wrote:


Hi everyone,


I recently fell in love with org-annotation-helper.el and
org-browser.el. I hacked together a little shell script, that uses the
features of those two to open an already published org-file, presumed
the local repo is configured, and a protocol handler and bookmark  
are in

place.

Also, you may do a `git pull', `mtn pull' or what ever before  the  
file

is opened in emacs. The script can easily be adjusted to work with any
Org project. I plan to add a little function to create new  
bookmarklets,

protocol handlers and scripts easily (or receive the protocol on stdin
too and map protocols to repositories).

This is it:



#! /bin/bash

# Author: Sebastian Rose 
#
# The idea is roughly based on org-annotation-helper and org-browser- 
url.el,

# written by Bastien Guerry and Ross Patterson respectively.
#
# AIMS
#
#   Open already published files in emacs easily. This script is  
originally

#   geard for usage with the contents in http://orgmode.org/worg/ (and
#   Worg.git), but it can easily be changed to help with other  
projects too.

#
#   Optionally do a `git pull', `mtn pull' or whatever.
#
#   See `Future plans' for what is planed.
#
#
# REQUIREMENTS
#
#   * You'll need to have ssh-askpass installed, to load ssh-key  
files as needed.
#   * Firefox browser. The possibility to do somthing similar with  
Opera seems to

# exist, but I didn't test it. For more visit opera.com.
#   * An SMCS, capable of using ssh-agent, and configured to use it.  
You might also
# use this script for repos that are accessed without any  
authentication at all
# (or a kind of authentication that does not require any  
interaction).

#   * zenity
#
# USAGE:
#
#  1.) Add a new protocol handler to Firefox:
#   * navigate to "about:config"
#   * right click, select "New" => "String"
#   * enter the name:
#
#  network.protocol-handler.app.org-worg
#
#   * leave the value blank
#
#  See http://kb.mozillazine.org/Register_protocol for more  
details.

#
#  2.) Add a bookmark to Firefox. As `Location' use this here:
#
#javascript:location.href='org- 
worg:///'+location.href.replace(/http:\/\/orgmode.org\/worg\//, "")

#
#  3.) Customize all the option below.
#
#  4.) When browsing http://orgmode.org/worg/, click the bookmark.  
Firefox will
#  ask for the application to use with the protocol `org- 
worg://'. Enter the
#  path to this script and ensure it is executable. If  
everything is configured

#  correctly, the appropriate file is opened in emacs.
#


# ##
#  --- CUSTOMIZATION ---
#

# No slash at the end:
working_dir=~/develop/org/Worg


# Could be changed to "mtn sync" or what ever.
pull_command="git pull"

# Does the pull command require a ssh key file to be loaded?
# Key file to add, to be able pull:
ssh_key_file=~/.ssh/id_repo_or_cz

# Does the pull command require a ssh key file to be loaded?
# We can only ask if the fingerprint is in ssh-agent. Needed, if your
# project requires it.
fingerprint="b7:f5:10:43:3b:c2:fe:b5:54:18:3f:35:f1:d0:a3:6e"

# Pull before editing? [always|never|ask]
pull_policy=ask

# The suffix to strip (i.e. to exchange with `.org').
strip_suffix=".php"

# Only change this, if you changed the protocol used for the  
bookmarklet!

file=${1#org-worg:///}

#
# --- these options are less likely to change ---
#
working_suffix=".org"

#
# --- END OF CUSTOMIZATION ---
# ##





# Future plans:
case "${1}" in
   --help)   # Print a help message (installation...)
   echo "HELP"
   exit 0 ;;
   --create) # Create new files and bookmarklets for more projects  
interactively.

   echo "CREATE"
   exit 0 ;;
esac
# End of future plans.





file="${file%${strip_suffix}}${working_suffix}"

if [ -f "${working_dir}/${file}" ]; then
   do_pull=$pull_policy
   if [ "ask" = $pull_policy ]; then
   if zenity --question --title="Org-Worglet :: ${file}" -- 
text="Shall I pull before opening\n${file}?"; then

   do_pull=always
   fi
   fi

   if [ "always" = $do_pull ]; then
   val=$(ssh-add -l | grep "${fingerprint}")
   if [ -z "${val}" ]; then
   ssh-add "${ssh_key_file}"
   fi
   cd "${working_dir}"
   if ! ${pull_command}; then
   if ! zenity --question --title="Org-Worglet :: $ 
{pull_command}" --text="${pull_command} FAILED. Open the file  
anyway?"; then

   exit 1
   fi
   fi
   fi
   emacsclient --eval "(find-file \"${working_dir}/${file}\")"
else
   zenity --error --title "Org-Worglet :: Error" --text "File does  
not exist: ${working_dir}/${file}"

fi







--
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449  
Hannover

Tel.:  +49 (0)511 - 36 58 472
Fax:   +49 (0)1805 - 233633 - 11044
mobil: +49

[Orgmode] Re: [FR] in org-log-done "CLOSED:" configurable

2009-02-27 Thread Carsten Dominik

Hi Giovanni,

you want nologdone.  All you need to do is to add

#+STARTUP: lognoterepeat nologdone

to the file, if this should be so for all entries in the file.

If this is only for individual entries, use

   :PROPERTIES:
   :LOGGING:  nologdone lognoterepeat
   :END:

in the entries for which this is relevant.

HTH

- Carsten

On Feb 27, 2009, at 3:32 PM, Giovanni Ridolfi wrote:


Dear Carsten,
I have a feature request:
in the variable org-log-done
could you please make
also the word CLOSED: configurable ?

The rationale:
I have a file with the (scientific) journals I want to read.
When I've read the journals I want to have a note where I
record the number of the issue read (lognoterepeat is perfect).
-
   -*- mode: org; -*-

#+STARTUP: lognoterepeat
#+SEQ_TODO: READ | DONE

* Wiley
** READ [[http://www3.interscience.wiley.com/cgi-bin/jtoc/5860/] 
[Progress in Photovoltaics: Research and Applications  Progr.  
Photov.]]

  DEADLINE: <2009-01-14 mer +1m>   CLOSED: [2009-02-27 ven 14:08]
  - State "DONE"   from "READ"   [2009-02-27 ven 13:46] \\
Volume 17 Issue 1 (January 2009)
  - State "DONE"   [2008-10-16 gio 15:02] \\
Volume 16 Issue 6 , Pages 461 - 553 (September 2008)
---
However since they are repeated tasks, IMHO, is not necessary
tag them as CLOSED, like Org-Mode does:
 DEADLINE: <2009-01-14 mer +1m>   CLOSED: [2009-02-27 ven 14:08]

the record of the changed status, in the note, is enough:
 not closed

  DEADLINE: <2009-01-14 mer +1m>
  - State "DONE"   from "READ"   [2009-02-27 ven 13:46] \\
Volume 17 Issue 1 (January 2009)

So I'd suggest a new value for org-log-done:

logonlynoterepeat  ->  "onlynote" record only the note,
 not mark it closed
or, less easy to be remebered,

lognoterepeatopen  -> "open"  , still open, not closed


cheers,
Giovanni

P.S. the doc string of the org-log-repeat variable
would be clearer with lines in this order:
  #+STARTUP: nologrepeat
  #+STARTUP: logrepeat
  #+STARTUP: lognoterepeat

instead of :
#+STARTUP: logrepeat
#+STARTUP: lognoterepeat
#+STARTUP: nologrepeat

Since,if I undestand it correctly,
value:
  #+STARTUP: nologrepeat= nil
  #+STARTUP: logrepeat  = time
  #+STARTUP: lognoterepeat  = note

__
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da  
tanto spazio gratuito per i tuoi file e i messaggi

http://mail.yahoo.it





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


Re: [Orgmode] folding of plain list entries

2009-02-27 Thread Carsten Dominik

Hi Rainer,

as items cannot carry properties, this is not possible currently.
What exactly are you trying to do?  Show the entire buffer, except for
items folded down?

- Carsten

On Feb 27, 2009, at 10:14 AM, Rainer Stengele wrote:

Thanks org we are able to not only fold genuine headline entries but  
also plain

text items like

- item subject title
 contents
 contents
 contents

to

- item subject title>

The manual tells us that the VISIBILITY property helps to change the  
visibility

of entries.

I could not get this to work for the plain text entries. I would  
like to see

them folded on startup.
Should this already be possible?

Rainer



___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Question about date format

2009-02-27 Thread Petr Ruzicka
So I guess it's more Emacs thing than Org, could someone please kick me in a
right direction as I'm really lost.
Thank you

Petr Ruzicka

On Fri, Feb 27, 2009 at 4:41 PM, Carsten Dominik wrote:

>
> On Feb 27, 2009, at 3:01 PM, Giovanni Ridolfi wrote:
>
>  --- Gio 26/2/09, Petr Ruzicka  ha scritto:
>>
>>> I'm using Org on Windows with Czech enviroment.
>>>
>> Hi, Petr,
>>
>> I'm using M$Widows XP in an Italian environment.
>> Emacs 22.3 and Emacs 23.0.9
>>
>> The abbreviations of weekdays are correct in Italian:
>>
>> DEADLINE: <2009-01-14 mer +1m>   CLOSED: [2009-02-27 ven 14:08]
>>
>> and  have nothing special in my .emacs
>>
>>  [2009-02-26 èt 02:36]", it should be
>>> [2009-02-26 čt 02:36]".
>>>
>>
>> I think the problem is the accented letter in the time format.
>> + Perhaps the time and date format of Emacs/Org-mode
>>  does not use UTF-8.
>> + Carsten, could it be a bug of Emacs itself?
>>
>
> The time string comes directly from `format-time-string', an Emacs
> function.
>
> - Carsten
>
>
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Exporting agenda items with data

2009-02-27 Thread Jason F. McBrayer
Carsten Dominik  writes:

> I want to simplify this further.  From now on, the hook will always
> contain that function, and you can control adding entry text entirely
> by setting org-agenda-add-entry-text-maxlines to a number greater that
> zero.  The default for the variable is zero, which means nothing will
> be added.

That's a great feature, and I like the simpler configuration.  I've
often wanted this for things like grocery lists and library lists.

-- 
+---+  
| Jason F. McBrayerjmcb...@carcosa.net  |  
| If someone conquers a thousand times a thousand others in |  
| battle, and someone else conquers himself, the latter one |  
| is the greatest of all conquerors.  --- The Dhammapada|  


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


[Orgmode] Re: unicorn

2009-02-27 Thread Ross A. Laird
Carsten Dominik  writes:

> On Feb 27, 2009, at 12:12 PM, Bastien wrote:
>
>> Carsten Dominik  writes:
>>
>>> I guess it is something like an official logo, yes (even though
>>> some people don't like it, I have seen it being called
>>> "demasculinating"
>>> ...)
>>
>> Hehe...  Since I picked up this "animal", I entirely assume any queer
>> connotation it may have.  The IT world is already "masculine" enough!

>> Bastien
>
> I like it, and I really do like the list of reasons
> we have (in hindsight) for choosing it...
>

I teach several courses in mythology at my university (it's my area of
concentration), and I feel inclined to say that the unicorn, as a
mythological animal, does not have any type of queer of emasculating
connotation in myth. In fact, it is sometimes quite a masculine animal
that is related to the stag in the grail quest (the stag stabs, with his
antler, the inner thigh of the grail knight, thus showing the stag's
greater masculinity). These animals are symbols of divinity,
essentially, of the fusion of purity and power. They don't really have a
sexual connotation other than the idea of generative power (like the
bull). Queer is a new idea in myth; it's about fifty years old. Myth
itself, on the other hand, is about 70,000 years old. So, the
application of queer terminology to mythological items such as unicorns
is a modern practice which has no real impact on ancient myths and myth
items such as the unicorn. In a thousand years we will still have myths
of the unicorn, but the idea of queer will probably have evolved into
something else (it already is evolving into something else...).

As to the question of whether or not unicorns still exist (see org FAQ),
this falls within the same domain as the question of whether Atlantis
exists. The answer (as much as there can be one) is that they do exist,
as mythological items that Carl Jung called "archetypal;" they are
essential to, and foundational of, human nature. They will always be a
part of human culture, and exist timelessly in that sense whether or not
they exist in fact.

I can hardly ever contribute anything useful to this list. Today is an
exception.

Cheers.

Ross

-- 
Ross A. Laird, PhD
www.rosslaird.info



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


Re: [Orgmode] unicorn

2009-02-27 Thread Jason F. McBrayer
Bastien  writes:

> Carsten Dominik  writes:
>
>> I guess it is something like an official logo, yes (even though
>> some people don't like it, I have seen it being called "demasculinating"
>> ...)
>
> Hehe...  Since I picked up this "animal", I entirely assume any queer
> connotation it may have.  The IT world is already "masculine" enough!

Along similar lines, see the [Django Pony][1], and the [Pink Bliss][2]
colour theme for Emacs.


Footnotes: 
[1]: http://www.djangopony.com/
[2]: http://www.emacswiki.org/emacs/PinkBliss

-- 
+---+  
| Jason F. McBrayerjmcb...@carcosa.net  |  
| If someone conquers a thousand times a thousand others in |  
| battle, and someone else conquers himself, the latter one |  
| is the greatest of all conquerors.  --- The Dhammapada|  


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


Re: [Orgmode] [PATCH] fast tag selection interface

2009-02-27 Thread Christopher Suckling


On 19 Feb 2009, at 09:22, Carsten Dominik wrote:


Hi Christopher,

ok, I have applied your patch, with one addition:

When you write

#+TAGS: a b c
#+TAGS: d e f

instead of

#+TAGS: a b c d e f

then a newline is implied after "c".

Also, I noticed, that you can do

#+TAGS: a b c \n \n d e f

and it will nicely give you an empty line.

Thanks!

- Carsten


Hi Carsten,

Unfortunately, my patch was a bit crude and caused some rather  
unpredictable formatting.


Here's an improvement which fixes that; I had forgotten to reset cnt  
to 0 whenever a new line occurred, so all sorts of strange line breaks  
were happening.


I've also added a new variable, org-tag-persistent-alist, which is a  
list of tags that will always appear in all Org-mode files, in  
addition to any in buffer settings or customizations of org-tag-alist.


As with line breaks, this may be a tiny personal convenience (I store  
all my GTD contexts in them so I don't have to re-enter them in every  
new org file), but in case anyone else finds it useful...


Best wishes,

Christopher

-

Modified lisp/org.el
diff --git a/lisp/org.el b/lisp/org.el
index abb9395..66654f5 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -2097,6 +2097,22 @@ See the manual for details."
   (const :tag "End radio group" (:endgroup))
   (const :tag "New line" (:newline)

+(defcustom org-tag-persistent-alist nil
+  "List of tags that will always appear in all Org-mode files, in  
addition to any in buffer settings or customizations of org-tag-alist.

+When this list is nil, Org-mode will base TAG input on org-tag-alist.
+The value of this variable is an alist, the car of each entry must be a
+keyword as a string, the cdr may be a character that is used to select
+that tag through the fast-tag-selection interface.
+See the manual for details."
+  :group 'org-tags
+  :type '(repeat
+ (choice
+  (cons   (string:tag "Tag name")
+  (character :tag "Access char"))
+  (const :tag "Start radio group" (:startgroup))
+  (const :tag "End radio group" (:endgroup))
+  (const :tag "New line" (:newline)
+
 (defvar org-file-tags nil
   "List of tags that can be inherited by all entries in the file.
 The tags will be inherited if the variable `org-use-tag-inheritance'
@@ -8976,7 +8992,13 @@ Returns the new TODO keyword, or nil if no  
state change should occur."

(setq ingroup nil cnt 0)
(insert "}\n"))
   ((equal e '(:newline))
-   (insert "\n  "))
+   (when (not (= cnt 0))
+ (setq cnt 0)
+ (insert "\n")
+ (setq e (car tbl))
+ (cond
+  ((equal e '(:newline))
+   (insert "\n")
   (t
(setq tg (car e) c (cdr e))
(if ingroup (push tg (car groups)))
@@ -10227,7 +10249,7 @@ With prefix ARG, realign all tags in headings  
in the current buffer."

  (setq tags current)
;; Get a new set of tags from the user
(save-excursion
- (setq table (or org-tag-alist (org-get-buffer-tags))
+	  (setq table (append org-tag-persistent-alist (or org-tag-alist  
(org-get-buffer-tags)))

org-last-tags-completion-table table
current-tags (org-split-string current ":")
inherited-tags (nreverse
@@ -10434,7 +10456,13 @@ Returns the new tags string, or nil to not  
change the current settings."

  (setq ingroup nil cnt 0)
  (insert "}\n"))
 ((equal e '(:newline))
- (insert "\n  "))
+ (when (not (= cnt 0))
+   (setq cnt 0)
+   (insert "\n")
+   (setq e (car tbl))
+   (cond
+((equal e '(:newline))
+ (insert "\n")
 (t
  (setq tg (car e) c2 nil)
  (if (cdr e)





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


Re: [Orgmode] Re: ascii export of url part of links possible?

2009-02-27 Thread Jason F. McBrayer
Carsten Dominik  writes:

> Hmmm, I see what you mean - but I don't think that is a realistic use
> case.  If you have an org document, would you then want to go through
> ASCII and then markdown for HTML instead of using the direct route?

It would be marginally useful for me.  I'm using blog software that
accepts article titles and bodies in Markdown format.  I used to just
write the Markdown, but these days I do most of my article drafting in
org-mode, and then export to html.  Since Markdown files can contain
arbitrary html, it's fine with the blog that I do that.  But now I have
my article files in HTML rather than Markdown, which makes them very
marginally more work to search, maintain, and so forth.  Of course, I
could just keep the org-mode source somewhere, or write a plugin to let
the blog handle basic org formatting...

> And I think that
>
>I get 10 times more traffic from [Google] than from
>[Yahoo] or [MSN].
>
> is still easier to read than
>
>I get 10 times more traffic from [Google][] than from
>[Yahoo][] or [MSN][].

Assuming:

> I get 10 times more traffic from [Google][1] than from
>[Yahoo][2] or [MSN][3].

That's true; I hadn't realized that Emacs' footnote-mode handled that
style of footnote.  I was assuming numeric footnotes, at which point
there's no further cost to making it Markdown compatible.

-- 
+---+  
| Jason F. McBrayerjmcb...@carcosa.net  |  
| If someone conquers a thousand times a thousand others in |  
| battle, and someone else conquers himself, the latter one |  
| is the greatest of all conquerors.  --- The Dhammapada|  


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


Re: [Orgmode] unicorn

2009-02-27 Thread Russell Adams
In the spirit of Org, we need a folding unicorn! ;]

On Fri, Feb 27, 2009 at 12:21:32PM +0100, Carsten Dominik wrote:
>
> On Feb 27, 2009, at 12:12 PM, Bastien wrote:
>
>> Carsten Dominik  writes:
>>
>>> I guess it is something like an official logo, yes (even though
>>> some people don't like it, I have seen it being called  
>>> "demasculinating"
>>> ...)
>>
>> Hehe...  Since I picked up this "animal", I entirely assume any queer
>> connotation it may have.  The IT world is already "masculine" enough!
>>
>> -- 
>> Bastien
>
>
> :-)
>
> I like it, and I really do like the list of reasons
> we have (in hindsight) for choosing it...
>
> http://orgmode.org/worg/org-faq.php#unicorn
>
>
> - Carsten
>
>
> ___
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>


--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


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


Re: [Orgmode] unicorn

2009-02-27 Thread Christopher Suckling


On 27 Feb 2009, at 18:47, Russell Adams wrote:


In the spirit of Org, we need a folding unicorn! ;]


http://www.pajarita.org/aep/pajaritas/pajarita3-4.pdf

Best wishes,

Christopher


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


Re: [Orgmode] unicorn

2009-02-27 Thread J Aaron Farr
On Fri 27 Feb 2009 19:21, Carsten Dominik  wrote:

> On Feb 27, 2009, at 12:12 PM, Bastien wrote:
>
>> Carsten Dominik  writes:
>>
>>> I guess it is something like an official logo, yes (even though
>>> some people don't like it, I have seen it being called
>>> "demasculinating"
>>> ...)
>>
>> Hehe...  Since I picked up this "animal", I entirely assume any queer
>> connotation it may have.  The IT world is already "masculine" enough!
>>
>> --
>> Bastien
>
>
> :-)
>
> I like it, and I really do like the list of reasons
> we have (in hindsight) for choosing it...
>
> http://orgmode.org/worg/org-faq.php#unicorn

Interesting.  It always reminded me of the pink unicorn:

  http://www.invisiblepinkunicorn.com/ipu/home.html

-- 
  J Aaron Farr jadetower.com[US] +1 724-964-4515
馮傑仁 cubiclemuses.com [HK] +852 8123-7905


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


[Orgmode] [PATCH] Conditionally delete windows in agenda quit

2009-02-27 Thread Peter Jones
Before this patch, org-agenda-quit would delete the agenda window if
the frame had more than one window.  This patch changes that behavior
slightly so that if org-agenda-window-setup is 'current-window, the
agenda window won't be deleted.

Patch also available from:

 git://pmade.com/org-mode
 branch: pjones-agenda-quit

>From 94a5f5f9487a2ccdd4d38d1b989720a89d1d10b6 Mon Sep 17 00:00:00 2001
From: Peter Jones 
Date: Fri, 27 Feb 2009 17:17:12 -0700
Subject: [PATCH] Conditionally delete windows in agenda quit

Before this patch, org-agenda-quit would delete the agenda window if
the frame had more than one window.  This patch changes that behavior
slightly so that if org-agenda-window-setup is 'current-window, the
agenda window won't be deleted.
---
 lisp/org-agenda.el |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 3fb7baf..dbfa5f6 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -4455,7 +4455,9 @@ If ERROR is non-nil, throw an error, otherwise just return nil."
   (if org-agenda-columns-active
   (org-columns-quit)
 (let ((buf (current-buffer)))
-  (if (not (one-window-p)) (delete-window))
+  (and (not (eq org-agenda-window-setup 'current-window)) 
+   (not (one-window-p))
+   (delete-window))
   (kill-buffer buf)
   (org-agenda-reset-markers)
   (org-columns-remove-overlays)
-- 
1.6.0


-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [PATCH] Properly indent clock drawer upon creation

2009-02-27 Thread Peter Jones
Properly indent clock drawer upon creation.

Patch also available from:

 git://pmade.com/org-mode
 branch: pjones-clock-end-indent

>From ced66c53109a0f34e280853f02deb6bbdeabdaaa Mon Sep 17 00:00:00 2001
From: Peter Jones 
Date: Fri, 27 Feb 2009 17:37:22 -0700
Subject: [PATCH] Properly indent clock drawer upon creation

---
 lisp/org-clock.el |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 3f302a9..02f6b18 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -444,12 +444,12 @@ the clocking selection, associated with the letter `d'."
 		(stringp org-clock-into-drawer)
 		(and (integerp org-clock-into-drawer)
 		 (< org-clock-into-drawer 2)))
+	(org-indent-line-function)
 	(insert ":" drawer ":\n:END:\n")
 	(beginning-of-line 0)
 	(org-indent-line-function)
 	(beginning-of-line 0)
 	(org-flag-drawer t)
-	(org-indent-line-function)
 	(beginning-of-line 2)
 	(or org-log-states-order-reversed
 	(and (re-search-forward org-property-end-re nil t)
-- 
1.6.0


-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Fast open, what is published already

2009-02-27 Thread Sebastian Rose
Carsten Dominik  writes:
> This is pretty cool.


I _love_ it.


The new version has the capability of interactively creating new orglets
 - that's their name :) .


I already created some, to edit my local projects.  Here at least, it
works like a charm. All you need is the `mother of all orglets' (the
script in it's current form) and call it like this:

   org-worglet --create

The rest is asked interactively. There might be some more docs needed
though. But for hardcore worgers the in-file comments will be sufficient.

The orglets resulting from the interactive process, include their own
help. If you created an orglet and saved it to ~/bin/org-notelet, you
may do

   ~/bin/org-notelet --help

to get information about the orglet. The in-file comments are geared for
the very orglet, e.g. there is the the ready-for-use JavaScript in the
first comment section to copy to your browsers bookmark entry.


The `future plans' have changed now to

 `Install the orglets automatically into Firefox.'



The current version is now on github:

http://github.com/SebastianRose/org-worglet/tree/master



Now I'll enjoy my new bookmark-toolbar folder full of handy orglets :)



Best Regards,


-- 
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.:  +49 (0)511 - 36 58 472
Fax:   +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Http:  www.emma-stil.de


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


[Orgmode] MORE: Using git via USB for personal org dir and other data files

2009-02-27 Thread Alan E. Davis
Regarding the synchronizing of directories on two or more machines, using a
USB Stick.  Further questions after a bit of experimentation.

I am currently keeping two workstations up to date via a USB flash drive,
and have had, variously, both good and bad luck. Here are some questions:

1.  I understand the idea, finally, of using a "bare" repo on the fiash
drive, at least in part.  But what will I do if the bare repo fails to merge
because two versions are pushed or pulled to it from the two machines, of a
file.  I've wasted a bit of time and now have gotten "meld" installed as the
mergetool.  Still, sometimes even that doesn't work.  Today I have two flash
drives in use, one that was working fine to update from one machine, but
won't even accept a file from the other.  I have clumsily deleted the old
version from the USB drive, and copied over the other version, done git rm
 git add  and git commit -a, but the file refuses to
install.  I'm not going to ask this as a primary question, because I think I
need to just understand the underlying idea of using a bare repo, and not
editing it at all.

2.  I have had poor luck with push.

3.  For this simple usage, is it even useful to think about branches, and if
so, how should branches be used?

4.  Is it wiser to fetch than to pull?  I have seen this suggested, but
don't understand the use of fetch.


Here is a rough idea of what I think I need to do now.  Please comment on
any ommissions or problems:

At home, on my primarly workstation:
1. cd to a directory with a good tree (perhaps ~/org) already under git
control.
2. insert the USB drive (I have a label "BLUE" on my usb drive.  On my
gnome/ubuntu box, it automounts as /media/BLUE)
3. git clone --bare . /media/BLUE/org.git
4. git remote add BLUE /media/BLUE/org.git
5. ??  git push BLUE (master?)

Now at work, I am on the other workstation:
1. git clone /media/BLUE/org.git
2. can I now do this?: git remote add BLUE /media/BLUE/org.git
2. work
3. git push BLUE ???
4.

Back at home
1. git fetch BLUE ??  or git pull BLUE ??



I am confused at a couple of points here.

Much of the above I have gleaned from three posts by Bernt Hansen.  Other
sources on line include some postings on the very problem of syncing
machines using git.

Can I pull from /media/BLUE/org.git ?

Well, perhaps this is enough confusion for now.  Thanks for all the
suggestions on this list.  I think it's going to work, and I'll expand this
to other directories as well.

Alan


-- 
Alan Davis

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
 Bertrand Russell
They are ill discoverers that think there is no land, when they can see
nothing but sea.
   Sir Francis Bacon
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode