Re: [Orgmode] Org Remember idea

2007-11-06 Thread John Rakestraw
Hi Bastien --

> Please tell me if the code above is working for you.  As I said, I
> didn't test it enough.

Thanks very much for this. I'm not sure that I have it working as you
intended. 

When I click on the annotate bookmarklet in firefox pops me into emacs
(into an already existing buffer) with a message that the link and page
title are in the kill-ring. Yanking gives me a nice link to the web
page, with the page title as the link text.

When I click on the remember bookmarklet, I'm taken to my standard
org-remember template screen asking me to select one of my templates.
The page link and title don't show up -- can I write a template that
incorporates this information?

I fear that I'm just being dense and that there's something obvious
that I'm not seeing. Any hints?

Thanks again.

-- 
John Rakestraw


signature.asc
Description: PGP signature
___
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] inserting files within remember templates

2007-11-06 Thread Bastien
Adam Spiers <[EMAIL PROTECTED]> writes:

> OK, it turns out that this was easy to implement, and I think the
> patch is small enough that it could be accepted even though I haven't
> got around to sending back the copyright assignment form yet (sorry -
> this *will* happen at some point!)

This patch is nice, thanks!

Just a small caveat: If Carsten accepts it (or implements this function)
then we should make clear for beginners that the elisp code will only be
executed in the remember buffer, not in the buffer where `org-remember'
was invoked.

> There might need to be some debate about how to handle read errors in
> the case of invalid syntax.  Or perhaps some people already have
> `%(...)' within their remember templates for some really unusual
> reason, and don't want it interpreted?

Maybe %^(...) is clearer then.  In both %^{...} and %^(...) the ^ char
would mean that some action is undertaken.

-- 
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] inserting files within remember templates

2007-11-06 Thread Bastien
Hi Adam,

Adam Spiers <[EMAIL PROTECTED]> writes:

> Currently I do this by coding the helper to dump the Message-Id into
> ~/.clip-mairix, and then the elisp code inserts the contents of this
> file back into the org buffer.  However I would like it to be inserted
> via a remember template, hence the request.

I've seen your patch in the other post and it looks fine. But FWIW here
was my first reaction: why don't you try to implement a new link type
for message/mail buffers?  Then you just need to access the source of
the message, link to it, use relevant properties and insert them thru
the template.  :message-id would be one of the available properties.

This might look more heavy than inserting elisp code directly in the
template, but I just wanted to mention this might also be a way to do
it.  
 
-- 
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] Org Remember idea

2007-11-06 Thread Bastien
John Rakestraw <[EMAIL PROTECTED]> writes:

> I used planner mode for a while before switching to org mode, and still
> occasionally look in on planner to see what they're doing. A couple of
> weeks ago I stumbled on this in the list planner-el-discuss:

I had seen this as well and tried to adapt it for Org immediately.  I
didn't post the code here because I'm not using/testing it a lot, but
since others seem interested, here it is.



org-annotation-helper
Description: Binary data


org-annotation-helper.el
Description: application/emacs-lisp

> I would really like to have something like this for org. The poster
> actually included the lisp code, the browser protocols, and the script
> that did all this.

I would summarize the step like this:

1. put org-annotation-helper in a path for executables

2. ~$ chmod +x org-annotation-helper

3. add the Org bookmarklet (right click on Firefox Personnal Toolbar to
   create a bookmark -- see the screenshot)

<>
4. test it!

> In hopes that someone will look at it, I've posted the code below.

Please tell me if the code above is working for you.  As I said, I
didn't test it 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] Re: Re: using orgmode for latex articles

2007-11-06 Thread Bastien
Fabian Braennstroem <[EMAIL PROTECTED]> writes:

>> As for footnotes, org-export-latex.el should also be able to convert
>> them.
>
> Couldn't install dvipng on my redhat 4.4 yet, so I could not test the
> 'conversion' of the equation and images yet. Now, I am taking the look
> in the other direction; I adjusted the most important faces in auctex
> to my orgmode setup. What I am missing now using auctex/cdlatex, is
> the nice table insertion I am used to do with orgmode...

You know you can use orgtbl-mode in LaTeX file and get tables exported
in the same file?  This is actually very handy.

This is called "Radio tables".  See the manual here:

  (info "(org)Radio tables")

-- 
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] Org Remember idea

2007-11-06 Thread Adam Spiers
On Tue, Nov 06, 2007 at 05:42:03PM +0100, Tim O'Callaghan wrote:
> I've started using Remember mode more and more, and it has given me an
> idea for new piece of functionality.
> 
> %c - insert clipboard/kill-ring at point
> 
> This is for 'auto' pasting links or snippets of text from my browser
> into an org file.
> 
> What do you think?
> 
> Tim.

With the patch I just posted to the concurrent thread concerning
embedding elisp in remember templates, this should easily be achieved
via something like

  %(x-clipboard-yank)

or you could even define a wrapper function `x-clipboard-yank-safely'
which watches out for the case where the clipboard contents are large
and handles the situation accordingly, then use it via

  %(x-clipboard-yank-safely)

Though `%c' is easier to type, of course :-)


___
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] inserting files within remember templates

2007-11-06 Thread Adam Spiers
On Tue, Nov 06, 2007 at 04:36:47PM +, Adam Spiers wrote:

[snip]

> This could easily be accomplished if remember templates allowed syntax
> such as
> 
> ,--
> | * %T
> | %(shell-command-to-string "grep 'last full' /proc/acpi/battery/BAT0/info")
> `--

OK, it turns out that this was easy to implement, and I think the
patch is small enough that it could be accepted even though I haven't
got around to sending back the copyright assignment form yet (sorry -
this *will* happen at some point!)

Diff against 5.13i:

--- a/org.elWed Oct 31 09:46:35 2007 +
+++ b/org.elTue Nov 06 22:30:13 2007 +
@@ -12806,6 +12806,17 @@ to be run from that hook to fucntion pro
  (replace-match
   (or (eval (intern (concat "v-" (match-string 1 "")
   t t))
+;; %() embedded elisp
+   (goto-char (point-min))
+(while (re-search-forward "%\\((.+)\\)" nil t)
+  (goto-char (match-beginning 0))
+  (let ((template-start (point)))
+(forward-char 1)
+(condition-case error
+(let ((result (eval (read (current-buffer)
+  (delete-region template-start (point))
+  (insert result))
+  (error (message "Error `%s' in remember template" error)
;; From the property list
(when plist-p
  (goto-char (point-min))


There might need to be some debate about how to handle read errors in
the case of invalid syntax.  Or perhaps some people already have
`%(...)' within their remember templates for some really unusual
reason, and don't want it interpreted?  Though in the latter case, one
could argue that it might make sense to require `%' always to be
escaped as `%%' if used literally, to be on the safe side.


___
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: Re: using orgmode for latex articles

2007-11-06 Thread Fabian Braennstroem
Hi Bastien,

sorry for the late reply...

Bastien wrote:

> Fabian Braennstroem <[EMAIL PROTECTED]> writes:
> 
>>> Since I don't need to do complex stuff with LaTeX formatting, and
>>> since I can also use RefTeX in conjunction with Org, then the LaTeX
>>> exporter is often enough for me.  I guess scientific writing might
>>> require a different approach.
>>
>> Sounds good to me, especially the possible reftex interaction sounds
>> great.  But I assume labeling, references and e.g. footnotes don't
>> work!? Maybe you use a special configuration for the interaction?
> 
> You can use all this.
> 
> Try combining org-mode and reftex-mode, and start using C-c ( and C-c [
> (from reftex-mode) --- it will insert labels and references.  The LaTeX
> exporter should handle them correctly.
> 
> As for footnotes, org-export-latex.el should also be able to convert
> them.

Couldn't install dvipng on my redhat 4.4 yet, so I could not test the
'conversion' of the
equation and images yet. Now, I am taking the look in the other
direction; I adjusted the most important faces in auctex to my
orgmode setup. What I am missing now using auctex/cdlatex, is the nice table
insertion I am used to do with 
orgmode...

Fabian
 



___
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 Remember idea

2007-11-06 Thread John Rakestraw
> I've started using Remember mode more and more, and it has given me an
> idea for new piece of functionality.
> 
> %c - insert clipboard/kill-ring at point
> 
> This is for 'auto' pasting links or snippets of text from my browser
> into an org file.
> 

I used planner mode for a while before switching to org mode, and still
occasionally look in on planner to see what they're doing. A couple of
weeks ago I stumbled on this in the list planner-el-discuss:

> Ever wanted to create a planner annotation or start remember directly
> from within an external web browser, say Firefox?  Here's how I do it.
> 
> I've registered special protocol handlers in the browser,
> "remember://" and "annotation://".  I've configured these handlers to
> call a script that passes the information to a running Emacs session
> using emacsclient/gnuclient.  The remember/annotation handlers are
> invoked through bookmarklets (bookmarks which execute JavaScript
> code).
> 
> The "remember://" protocol starts M-x remember with a planner link for
> the current website filled in, using the document title as the
> description of the link, just like planner-w3m does.
> 
> The "annotation://" protocol handler works similar to
> `planner-annotation-as-kill': it puts a planner link in the kill ring.

I would really like to have something like this for org. The poster
actually included the lisp code, the browser protocols, and the script
that did all this. I know next to nothing about lisp so was unable to
do anything with it, but is it possible that it could be easy for
someone who knows this stuff to adapt it to org?

In hopes that someone will look at it, I've posted the code below.
Apologies for the length of the post.

--John

;;; gjk-planner-annotation-helper.el --- start remember from a web
browser

;; Author: Geert Kloosterman <[EMAIL PROTECTED]>
;; Created: Sat Nov 19 22:33:18 2005
;; Updated: Thu Oct 25 17:48:41 2007
;; Keywords: planner remember

;;; Commentary:

;; We want to be able to pass a URL and document title directly from a
;; web browser to Emacs.
;;
;; We define a remember:// url handler in the browser and use a shell
;; script to handle the protocol.  This script passes the information
;; to a running Emacs process (using emacsclient/gnuclient).  We use 
;; bookmarklets to create the remember:// urls dynamicly.
;;
;; The protocol types currently recognized are:
;; 
;; remember:// start `remember' with the url and title filled in
;; annotation://   similar to `planner-annotation-as-kill'.
;;
;; The urls used internally will have the following form:
;;
;;   remember://%1C
;;
;; The title will be url-hex-encoded.  "%1C" is the (url-encoded) low
;; ascii value for the field separator.
;;

;; The bookmarklets:
;;
;; javascript:location.href='remember://' + location.href + '%1C' +
escape(document.title) ;; javascript:location.href='annotation://' +
location.href + '%1C' + escape(document.title)

;; The helper script:
;;
;; #!/bin/sh
;; # planner-annotation-helper -- pass a remember-url to emacs
;; #
;; # Author: Geert Kloosterman <[EMAIL PROTECTED]>
;; # Date: Sat Nov 19 22:33:18 2005
;; 
;; if [ -z "$1" ]; then
;; echo "$0: Error: no arguments given!" 1>&2
;; exit 1
;; fi
;; 
;; # For years I've been using Martin Schwenke's dtemacs script to start
;; # Emacs.  The script uses gnuclient to connect to Emacs and starts a
;; # new Emacs process when necessary.
;; # See http://www.meltin.net/hacks/emacs/
;; #
;; # dtemacs -batch -eval "(progn (gjk/planner-annotation-helper
\"$1\" ) \"\")" ;; 
;; # As of Emacs 22 emacsclient will work too
;; emacsclient --eval "(progn (gjk/planner-annotation-helper \"$1\" )
nil)" ;; 
;; # EOF

;; Adding a protocol handler
;; -
;;
;; Firefox
;;
;; To add a protocol handler (eg: remember://) in Firefox, take the
;; following steps:
;;
;; - type in "about:config" in the location bar
;; - right click, select New --> String
;; - the name should be "network.protocol-handler.app.remember" 
;; - the value should be the executable, eg.
"planner-annotation-helper". ;;   At least under Linux this does not
need to be the full path to ;;   the executable.
;;
;; See http://kb.mozillazine.org/Register_protocol for more details.
;;
;; Opera
;;
;; In Opera add the protocol in the Preferences->Advanced->Programs
;; dialog.


;;; Code:

(autoload 'url-unhex-string "url")

(defun gjk/planner-annotation-helper (urlstring)
  """Process an externally passed remember:// style url.

URLSTRING consists of a protocol part and a url and title,
separated by %1C.

The protocol types currently recognized are:

remember:// start `remember' with the url and title
annotation://   similar to `planner-annotation-as-kill'.
"""
  (let ((remember-annotation-functions nil))
;; The `parse-url' functions break on the embedded url,
;; since our format is fixed we'll split the url ourselves.
(if (string-match  "^\\([^:]*\\):\\(/*\\)\\(.*\\)" urlstring)
  (let* ((proto (match-string 1 u

Re: [Orgmode] Org Remember idea

2007-11-06 Thread Tim O'Callaghan
sorry - i mean disabled in non-windowing environments.

On 06/11/2007, Tim O'Callaghan <[EMAIL PROTECTED]> wrote:
> On 06/11/2007, Tim O'Callaghan <[EMAIL PROTECTED]> wrote:
> > On 06/11/2007, Carsten Dominik <[EMAIL PROTECTED]> wrote:
> > >
> > > On  6Nov2007, at 5:42 PM, Tim O'Callaghan wrote:
> > >
> > > > I've started using Remember mode more and more, and it has given me an
> > > > idea for new piece of functionality.
> > > >
> > > > %c - insert clipboard/kill-ring at point
> > > >
> > > > This is for 'auto' pasting links or snippets of text from my browser
> > > > into an org file.
> > > >
> > > > What do you think?
> > >
> > > I think it is a good idea, but may backfire.  The current-kill can be
> > > HUGE
> > > if you do not watch out.  Maybe limited to a certain lengths?
> > >
> > > - Carsten
> > >
> >
> > I say dealers choice? a warning if its over 30 lines or so for those
> > that are new to it? I mean i should know what is in the clipboard
> > before i hit the remember key.
> >
> > Another idea that i have been thinking about is 'remember-here'  or
> > 'remember at point' where i can use a remember template to insert in
> > the current line in the current buffer. Either using the current
> > remember mode templates or another separate one, it could be argued
> > either way.
> >
> > as for terminal vs X, that is quite tricky, but %c could be disabled
> > in windowing environments.
> >
> > Tim.
> >
>


___
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 Remember idea

2007-11-06 Thread Tim O'Callaghan
On 06/11/2007, Tim O'Callaghan <[EMAIL PROTECTED]> wrote:
> On 06/11/2007, Carsten Dominik <[EMAIL PROTECTED]> wrote:
> >
> > On  6Nov2007, at 5:42 PM, Tim O'Callaghan wrote:
> >
> > > I've started using Remember mode more and more, and it has given me an
> > > idea for new piece of functionality.
> > >
> > > %c - insert clipboard/kill-ring at point
> > >
> > > This is for 'auto' pasting links or snippets of text from my browser
> > > into an org file.
> > >
> > > What do you think?
> >
> > I think it is a good idea, but may backfire.  The current-kill can be
> > HUGE
> > if you do not watch out.  Maybe limited to a certain lengths?
> >
> > - Carsten
> >
>
> I say dealers choice? a warning if its over 30 lines or so for those
> that are new to it? I mean i should know what is in the clipboard
> before i hit the remember key.
>
> Another idea that i have been thinking about is 'remember-here'  or
> 'remember at point' where i can use a remember template to insert in
> the current line in the current buffer. Either using the current
> remember mode templates or another separate one, it could be argued
> either way.
>
> as for terminal vs X, that is quite tricky, but %c could be disabled
> in windowing environments.
>
> Tim.
>


___
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 Remember idea

2007-11-06 Thread Tim O'Callaghan
On 06/11/2007, Carsten Dominik <[EMAIL PROTECTED]> wrote:
>
> On  6Nov2007, at 5:42 PM, Tim O'Callaghan wrote:
>
> > I've started using Remember mode more and more, and it has given me an
> > idea for new piece of functionality.
> >
> > %c - insert clipboard/kill-ring at point
> >
> > This is for 'auto' pasting links or snippets of text from my browser
> > into an org file.
> >
> > What do you think?
>
> I think it is a good idea, but may backfire.  The current-kill can be
> HUGE
> if you do not watch out.  Maybe limited to a certain lengths?
>
> - Carsten
>

I say dealers choice? a warning if its over 30 lines or so for those
that are new to it? I mean i should know what is in the clipboard
before i hit the remember key.

Another idea that i have been thinking about is 'remember-here'  or
'remember at point' where i can use a remember template to insert in
the current line in the current buffer. Either using the current
remember mode templates or another separate one, it could be argued
either way.

as for terminal vs X, that is quite tricky, but %c could be disabled
in windowing environments.

Tim.


___
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: Invalid face issues

2007-11-06 Thread Andrew Hyatt
I just spend a good half hour tracking this down.  It looks like this, in
org-mode is killing me.  It look wrong to me, but I'm not an expert:
(set-display-table-slot
 org-display-table 4
 (vconcat (mapcar
   (lambda (c) (make-glyph-code c (and (not (stringp org-ellipsis))
   org-ellipsis)))
   (if (stringp org-ellipsis) org-ellipsis "..."

Why are we making a glyph-code out of an ellipsis?  We end up with a
strange-looking display-table.

On 11/6/07, Andrew Hyatt <[EMAIL PROTECTED]> wrote:
>
> I seem to have an issue where I will be using emacs for a while, and
> eventually something happens which will corrupt all org buffers, and make
> them unviewable (the buffer refuses to display, but otherwise does not
> affect the rest of my emacs session).  The error I get is
> "line-move-partial: Invalid face".  I can switch to text-mode and see it
> normally.
>
> I'm using emacs version 23.0.0.1.  I'm using org-mode version  5.13a.
>  This seemed to coincide to my upgrade from org-mode version 4 to 5.13a.
>  This happens on both terminal and x-windows versions of emacs.
>
>
> Has anyone experienced this issue before?  Any ideas on how to solve 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] Re: Org Remember idea

2007-11-06 Thread Leo
On 2007-11-06 16:42 +, Tim O'Callaghan wrote:
> I've started using Remember mode more and more, and it has given me an
> idea for new piece of functionality.
>
> %c - insert clipboard/kill-ring at point
>
> This is for 'auto' pasting links or snippets of text from my browser
> into an org file.
>
> What do you think?
>
> Tim.

Inter-application copying and pasting is tricky now that Emacs can run
in terminal and X at the same time.

Within Emacs, remember can include the text in a region. It is a feature
of Remember.

-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

   Use the most powerful email client -- http://gnus.org/



___
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 Remember idea

2007-11-06 Thread Carsten Dominik


On  6Nov2007, at 5:42 PM, Tim O'Callaghan wrote:


I've started using Remember mode more and more, and it has given me an
idea for new piece of functionality.

%c - insert clipboard/kill-ring at point

This is for 'auto' pasting links or snippets of text from my browser
into an org file.

What do you think?


I think it is a good idea, but may backfire.  The current-kill can be  
HUGE

if you do not watch out.  Maybe limited to a certain lengths?

- 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] Invalid face issues

2007-11-06 Thread Andrew Hyatt
I seem to have an issue where I will be using emacs for a while, and
eventually something happens which will corrupt all org buffers, and make
them unviewable (the buffer refuses to display, but otherwise does not
affect the rest of my emacs session).  The error I get is
"line-move-partial: Invalid face".  I can switch to text-mode and see it
normally.
I'm using emacs version 23.0.0.1.  I'm using org-mode version  5.13a.  This
seemed to coincide to my upgrade from org-mode version 4 to 5.13a.  This
happens on both terminal and x-windows versions of emacs.

Has anyone experienced this issue before?  Any ideas on how to solve 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] Re: Ringing the alarm bell in orgmode

2007-11-06 Thread William Henney
Thanks for your help, Chris, Richard, and Bastien. Chris's method of
loading the file explicitly will be useful until I get the path sorted
properly.

On 11/6/07, Bastien <[EMAIL PROTECTED]> wrote:
> "William Henney" <[EMAIL PROTECTED]> writes:
> I use the script Pete sent a while a go update org-mode automatically.
> It fetches uncompress and untar the tarball archive.  It copies the org
> info file (which name is really "org") to the local ~/info/ directory
> where I keep latest version of Info files.
>
> Then I have this is my .emacs.el:
>
>   (add-to-list 'Info-default-directory-list "~/info/")
>
> And the info page is correct.  Does that help?
>

I don't use Pete's script, but I do essentially the same thing and it
doesn't work

BUT, I think I have now found the culprit... It is all the fault of
fink (for the non Mac users, fink is a package manager and repo for OS
X, a bit like yum or apt, except a lot less useful)

At some point I had added the following line to my ~/.profile

  test -r /sw/bin/init.sh && . /sw/bin/init.sh

and that file, unbeknownst to me had been setting the INFOPATH
environment variable. This means that Info-directory-list gets
initialised from INFOPATH and that Info-default-directory-list is
completely ignored :(

So, the answer seems to be to unset INFOPATH in the shell and to merge
the fink info directories into my Info-default-directory-list

At least, I assume this will work. I don't want to restart my emacs at
the moment since I would lose too much context, but I will test it out
when I next have a quiet time.

Cheers

Will

-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia


___
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: Ringing the alarm bell in orgmode

2007-11-06 Thread Sivaram Neelakantan
"William Henney" <[EMAIL PROTECTED]> writes:


[...]

> I do like info pages when I can actually get the right ones to load.
> The big problem I have with info is in setting it up so that it finds
> the right files. For instance, I have totally failed to work out how I
> can tell it where my org info files are, with the result that it
> always shows me the old version that comes with my emacs (currently
> 4.67). I have tried setting Info-default-directory-list and
> Info-directory-list, but all to no avail. Has anyone else had this
> problem?

[...]

>From what I understand of info files, there should be a 'dir' file
where the info files are for it to be seen by the info program.  and
that 'dir' can easily be created via

install-info org --dir-file=dir

Since I untar and rename every release as org and in a different
directory outside of Emacs directory, I requested Carsten to create
the dir file for me

http://www.mail-archive.com/emacs-orgmode@gnu.org/msg02668.html

and I have this for me in the .Emacs.

 
(setq Info-default-directory-list  
  (cons "c:/gnu/elisp/org/" Info-default-directory-list)) 
;;;for org 
(setq load-path (cons "c:/gnu/elisp/org/" load-path)) 
(require 'org-install) 

When I go into info, and go into org manual it brings up the latest
version document.


 sivaram
 -- 



___
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 Remember idea

2007-11-06 Thread Tim O'Callaghan
I've started using Remember mode more and more, and it has given me an
idea for new piece of functionality.

%c - insert clipboard/kill-ring at point

This is for 'auto' pasting links or snippets of text from my browser
into an org file.

What do you think?

Tim.


___
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] inserting files within remember templates

2007-11-06 Thread Adam Spiers
On Tue, Nov 06, 2007 at 06:41:36AM +0100, Carsten Dominik wrote:
> Setting up remember mode runs a remember-mode-hook, you can use that.

That could be a workaround.

> I would be interested to know what kind of applications you have in mind
> when you want to include a file into a template, or execute elisp code.
> How about a few examples to persuade us that this is needed?

I want to integrate my use of mutt with org-mairix.el and remember.el.
Because mutt is an external application, I need some way of getting a
Message-Id which has been extracted from a message via a mutt helper
back into emacs.  Currently I do this by coding the helper to dump the
Message-Id into ~/.clip-mairix, and then the elisp code inserts the
contents of this file back into the org buffer.  However I would like
it to be inserted via a remember template, hence the request.  Calling
remember via emacsclient might possibly be an alternate way of
achieving the same thing, but I haven't thought about this yet.  If
one were to embed the text being passed from the mutt helper in the
CLI arguments to emacsclient, quoting might end up getting quite
hairy.  Allowing the remember template to extract the message id from
the environment via getenv might be a cleaner solution in that case.

That was the main use case, but I am sure people could think of
others.  Here is another one which is a bit silly but demonstrates the
point (and would be more conveniently invoked from within emacs than
via emacsclient): I have just started maintaining a journal of my
laptop's battery life to see whether it can be extended much by doing
full discharges more regularly.  So every day or two I want to log the
output of commands like:

  grep 'last full' /proc/acpi/battery/BAT0/info

This could easily be accomplished if remember templates allowed syntax
such as

,--
| * %T
| %(shell-command-to-string "grep 'last full' /proc/acpi/battery/BAT0/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] Re: Ringing the alarm bell in orgmode

2007-11-06 Thread Bastien
"William Henney" <[EMAIL PROTECTED]> writes:

> For instance, I have totally failed to work out how I can tell it
> where my org info files are, with the result that it always shows me
> the old version that comes with my emacs (currently 4.67). I have
> tried setting Info-default-directory-list and Info-directory-list, but
> all to no avail. Has anyone else had this problem?

I use the script Pete sent a while a go update org-mode automatically.
It fetches uncompress and untar the tarball archive.  It copies the org
info file (which name is really "org") to the local ~/info/ directory
where I keep latest version of Info files.

Then I have this is my .emacs.el:

  (add-to-list 'Info-default-directory-list "~/info/")

And the info page is correct.  Does that help?

-- 
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] Re: Ringing the alarm bell in orgmode

2007-11-06 Thread Richard G Riley
"William Henney" <[EMAIL PROTECTED]> writes:

> On 11/6/07, Bastien <[EMAIL PROTECTED]> wrote:
>> Richard G Riley <[EMAIL PROTECTED]> writes:
>> > Is it just me or are emacs info pages really a bit of a dog to search
>> > through?
>>
>> It's not just you.
>>
>> Many people don't like to search through the Info pages and whether this
>> interface is the best one for Emacs documentation is always a hot topic
>> on the emacs-devel mailing list.
>>
>> But `i' (M-x Info-index) will really make your life easier.
>>
>> Personnally I do like Info pages and Info-mode very much.  In addition
>> to Info-index, I'm mostly using these:
>>
>>   `l' Info-history-back
>>   `L' Info-history
>>   `]' Info-forward-node
>>
>> Once you get used to these few commands, it's really quick to find and
>> fetch info relevant information.
>>
>
> I use "l" a lot, but I didn't know about "L" - thanks!
>
> The commands I use most are "spacebar", which just chugs through an
> entire manual, and "s", which does a regexp search.
>
> I do like info pages when I can actually get the right ones to load.
> The big problem I have with info is in setting it up so that it finds
> the right files. For instance, I have totally failed to work out how I
> can tell it where my org info files are, with the result that it
> always shows me the old version that comes with my emacs (currently
> 4.67). I have tried setting Info-default-directory-list and
> Info-directory-list, but all to no avail. Has anyone else had this
> problem?

Yes.

On linux i ran (sudo) make install-info and then insured
/usr/local/info was on my info-directory-list

I also deleted any old org files lying around. I dont know, info files
and their set up is just damn confusing IMO, especially with plenty of
makefiles updating the wrong dir file. - its always worth checking which
define they use for their destination infopath.


>
> Cheers
>
> Will
>
>> HTH,


___
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: Ringing the alarm bell in orgmode

2007-11-06 Thread Chris Leyon
On 11/6/07, William Henney <[EMAIL PROTECTED]> wrote:
> The big problem I have with info is in setting it up so that it finds
> the right files. For instance, I have totally failed to work out how I
> can tell it where my org info files are, with the result that it
> always shows me the old version that comes with my emacs (currently
> 4.67). I have tried setting Info-default-directory-list and
> Info-directory-list, but all to no avail. Has anyone else had this
> problem?
> Cheers
> Will

I too have experienced frustration attempting to use the
Info-*-directory-list variables.  However, I can live without this
particular feature, so I haven't spent much time trying to make it
work.

But I can tell you how to go to a specific info file which corresponds
to your new Org version:  from any info page, press the `g' key.  When
it prompts "Go to node:", enter an opening parenthesis `(', then a
path to your desired info filename.  (Filename completion via the Tab
key works here which is very helpful.)  When you reach your filename,
close with a final `)' character, although Tab will insert this for
you too.  Press Enter, and your desired Info file should open.

Chris


___
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: Ringing the alarm bell in orgmode

2007-11-06 Thread William Henney
On 11/6/07, Bastien <[EMAIL PROTECTED]> wrote:
> Richard G Riley <[EMAIL PROTECTED]> writes:
> > Is it just me or are emacs info pages really a bit of a dog to search
> > through?
>
> It's not just you.
>
> Many people don't like to search through the Info pages and whether this
> interface is the best one for Emacs documentation is always a hot topic
> on the emacs-devel mailing list.
>
> But `i' (M-x Info-index) will really make your life easier.
>
> Personnally I do like Info pages and Info-mode very much.  In addition
> to Info-index, I'm mostly using these:
>
>   `l' Info-history-back
>   `L' Info-history
>   `]' Info-forward-node
>
> Once you get used to these few commands, it's really quick to find and
> fetch info relevant information.
>

I use "l" a lot, but I didn't know about "L" - thanks!

The commands I use most are "spacebar", which just chugs through an
entire manual, and "s", which does a regexp search.

I do like info pages when I can actually get the right ones to load.
The big problem I have with info is in setting it up so that it finds
the right files. For instance, I have totally failed to work out how I
can tell it where my org info files are, with the result that it
always shows me the old version that comes with my emacs (currently
4.67). I have tried setting Info-default-directory-list and
Info-directory-list, but all to no avail. Has anyone else had this
problem?

Cheers

Will

> HTH,

-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia


___
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: Ringing the alarm bell in orgmode

2007-11-06 Thread Bastien
Richard G Riley <[EMAIL PROTECTED]> writes:

>> One way to find information when browsing the manual in Info-mode is to
>> press `i' (M-x Info-index) and enter the index key to look for.
>
> Is it just me or are emacs info pages really a bit of a dog to search
> through?

It's not just you.  

Many people don't like to search through the Info pages and whether this
interface is the best one for Emacs documentation is always a hot topic
on the emacs-devel mailing list.

But `i' (M-x Info-index) will really make your life easier.

Personnally I do like Info pages and Info-mode very much.  In addition
to Info-index, I'm mostly using these:

  `l' Info-history-back
  `L' Info-history
  `]' Info-forward-node

Once you get used to these few commands, it's really quick to find and
fetch relevant information.

HTH,

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


[Orgmode] Re: Ringing the alarm bell in orgmode

2007-11-06 Thread Bastien
"Uwe Jochum" <[EMAIL PROTECTED]> writes:

> I think the problem of finding the appropriate information is
> principally not a question of the right place for the right bit of
> information but a question of semantics. 

An index is the right place to handle people's semantic :)

> I had searched with "diary" "integration" "orgmode", even in Google.

The thing is that `org-agenda-to-appt' is at the bottom of the page
about Diary/Calendar integration.  So when looking for these keywords
(either from the Info interface or from Google) you should have landed
not that far...

> I'll better try to make my brainware more flexible.

Remember the motto: « if something works, don't repair it ».  This
qualifies for brains as well!

> (And shouldn't your solution not be documented, perhaps in the FAQ?)

Yes why not.

-- 
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] Re: Ringing the alarm bell in orgmode

2007-11-06 Thread Richard G Riley
Bastien <[EMAIL PROTECTED]> writes:

> "Uwe Jochum" <[EMAIL PROTECTED]> writes:
>
>> Message from Nov 06 2007 (10:43):
 But I cannot figure out how to set an alarm bell in Emacs for
 scheduled stuff in orgmode.
>>>
>>> Did you try `org-agenda-to-appt'?  
>>
>> Bastien,
>>
>> thanks! I hadn't seen that in the manual... 
>
> One way to find information when browsing the manual in Info-mode is to
> press `i' (M-x Info-index) and enter the index key to look for.

Is it just me or are emacs info pages really a bit of a dog to search
through?

>
> Here you can look for "appointment reminders" or "appt.el" and it will
> open this page:
>
>   (info "(org)Weekly/Daily agenda")
>
> If you think this information should appear somewhere else, please
> suggestion other location(s).
>
>> It works, but I have to do it manually evry time I start orgmode or
>> every time I set a new appointment. Wouldn't it be good to make this
>> more automatic, i.e. somehow configurable by the user, for instance
>> like so: make it an option, so I can activate it globally in the
>> org-agenda options menu, in such a way that new appointments are
>> detected automatically and the bell rings without doing
>> org-agenda-to-appt by hand?
>
> Better let the user decide by himself when he wants `org-agenda-to-appt'
> to be called.  Two (non-exclusive) methods:
>
> 1. Add a hook to `before-save-hook' locally in `org-mode-hook' so that
>saving an Org buffer will check for new appointments and add them to
>the list of appointments:
>
>(add-hook 'org-mode-hook
>(lambda() (add-hook 'before-save-hook
>'org-agenda-to-appt t t)))
>
>Note that pressing `s' in agenda buffers will save all agenda files
>and run `org-agenda-to-appt' for each of them.
>
> 2. Add a custom key to call 'org-agenda-to-appt from an agenda buffer.
>
>(org-defkey org-agenda-mode-map "\C-cA" 'org-agenda-to-appt)
>
> If you use one of these two methods, maybe it's better to silent
> `org-agenda-to-appt' since the repeated messages can be annoying.  
> I'll provide a way to do this.


___
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: When is a TODO really a TODO ? ...

2007-11-06 Thread Bastien
Richard G Riley <[EMAIL PROTECTED]> writes:

>> There are many occurrences of "TODO item" or "TODO entry" in the manual,
>> and "task" is better because it's more general.  
>
> I agree. A task is an org-item with a status applied from a sequence of task
> statuses.
>
> tasks generally progress from an initial state to a completion state

If you want to be even more (too much?) precise, we could use:

- "task" for items with sequential sets of keywords
- "entry" for items with "type" (not sequence) keyword
- "item" for headlines that are not yet a task or an entry

Don't know if this would be relevant everywhere.  We should try to
gradually fix the manual first and see if a special case needs to be
made for the difference between entry/item.

-- 
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] Ringing the alarm bell in orgmode

2007-11-06 Thread Bastien
Stefan Kamphausen <[EMAIL PROTECTED]> writes:

>> using entries in my diary file I get an alarm bell ten minutes before a
>> meeting or an appointment. That's useful. 
>
> and should be more flexible...

I didn't think hard enough on this to have a steady opinion, but I guess
the right thing is to extend appt.el facilities, not org.el directly.

The job of `org-agenda-to-appt' is to make the appointments list (stored
in `appt-time-msg-list') aware both of the diary and of agenda files.

Once this list includes any appointment information you have in Emacs,
then you can use it as a basis for further calls to external tools by
running Emacs in batch mode.

> * TODO appt+.el --- write an extension for appt.el  :@Home:

:)

-- 
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] Re: When is a TODO really a TODO ? ...

2007-11-06 Thread Richard G Riley
Bastien <[EMAIL PROTECTED]> writes:

> "Eddward DeVilla" <[EMAIL PROTECTED]> writes:
>
>>> Maybe this would help make the examples even more clearer.  This is
>>> especially crucial when if comes to complex agenda searches.
>>>
>>> What do you think?
>>
>> What about if a task is not a task?  What if it's a person, a
>> reservation, an event or some other thing to be organized?

"to be organized" - implying "task" to be undertaken.

>
> The purpose of "task" was to find a replacement for "TODO item".
>
> There are many occurrences of "TODO item" or "TODO entry" in the manual,
> and "task" is better because it's more general.  

I agree. A task is an org-item with a status applied from a sequence of task
statuses.

tasks generally progress from an initial state to a completion state


>
> Of course it is not perfect, and no replacement would be, because it is
> impossible to capture all possible uses for an entry in a single word...
> but in the lack of better alternatives, I think it's okay, especially if
> we dedicate a "Writing conventions" section at the beginning of the
> manual, explaining both the scope and the limitation of conventions
> (like using "tasks" for headlines that have a keyword).
>
>> We need to make sure we keep is easy cases easy.  I don't think
>> incremental discoveries after that are a bad thing.
>
> Yes, precisely.  This is why all these possible conventions have to be
> carefully and gradually implemented, so that we can check new Org users
> don't get lost.


___
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: Ringing the alarm bell in orgmode

2007-11-06 Thread Bastien
"Uwe Jochum" <[EMAIL PROTECTED]> writes:

> Message from Nov 06 2007 (10:43):
>>> But I cannot figure out how to set an alarm bell in Emacs for
>>> scheduled stuff in orgmode.
>>
>> Did you try `org-agenda-to-appt'?  
>
> Bastien,
>
> thanks! I hadn't seen that in the manual... 

One way to find information when browsing the manual in Info-mode is to
press `i' (M-x Info-index) and enter the index key to look for.

Here you can look for "appointment reminders" or "appt.el" and it will
open this page:

  (info "(org)Weekly/Daily agenda")

If you think this information should appear somewhere else, please
suggestion other location(s).

> It works, but I have to do it manually evry time I start orgmode or
> every time I set a new appointment. Wouldn't it be good to make this
> more automatic, i.e. somehow configurable by the user, for instance
> like so: make it an option, so I can activate it globally in the
> org-agenda options menu, in such a way that new appointments are
> detected automatically and the bell rings without doing
> org-agenda-to-appt by hand?

Better let the user decide by himself when he wants `org-agenda-to-appt'
to be called.  Two (non-exclusive) methods:

1. Add a hook to `before-save-hook' locally in `org-mode-hook' so that
   saving an Org buffer will check for new appointments and add them to
   the list of appointments:

   (add-hook 'org-mode-hook
 (lambda() (add-hook 'before-save-hook
 'org-agenda-to-appt t t)))

   Note that pressing `s' in agenda buffers will save all agenda files
   and run `org-agenda-to-appt' for each of them.

2. Add a custom key to call 'org-agenda-to-appt from an agenda buffer.

   (org-defkey org-agenda-mode-map "\C-cA" 'org-agenda-to-appt)

If you use one of these two methods, maybe it's better to silent
`org-agenda-to-appt' since the repeated messages can be annoying.  
I'll provide a way to do this.

-- 
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] Re: When is a TODO really a TODO ? ...

2007-11-06 Thread Bastien
"Eddward DeVilla" <[EMAIL PROTECTED]> writes:

>> Maybe this would help make the examples even more clearer.  This is
>> especially crucial when if comes to complex agenda searches.
>>
>> What do you think?
>
> What about if a task is not a task?  What if it's a person, a
> reservation, an event or some other thing to be organized?

The purpose of "task" was to find a replacement for "TODO item".

There are many occurrences of "TODO item" or "TODO entry" in the manual,
and "task" is better because it's more general.  

Of course it is not perfect, and no replacement would be, because it is
impossible to capture all possible uses for an entry in a single word...
but in the lack of better alternatives, I think it's okay, especially if
we dedicate a "Writing conventions" section at the beginning of the
manual, explaining both the scope and the limitation of conventions
(like using "tasks" for headlines that have a keyword).

> We need to make sure we keep is easy cases easy.  I don't think
> incremental discoveries after that are a bad thing.

Yes, precisely.  This is why all these possible conventions have to be
carefully and gradually implemented, so that we can check new Org users
don't get lost.

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


[Orgmode] Re: Ringing the alarm bell in orgmode

2007-11-06 Thread Uwe Jochum

Message from Nov 06 2007 (10:43):
>> But I cannot figure out how to set an alarm bell in Emacs for
>> scheduled stuff in orgmode.
>
> Did you try `org-agenda-to-appt'?  

Bastien,

thanks! I hadn't seen that in the manual... It works, but I have to do
it manually evry time I start orgmode or every time I set a new
appointment. Wouldn't it be good to make this more automatic,
i.e. somehow configurable by the user, for instance like so: make it an
option, so I can activate it globally in the org-agenda options menu, in
such a way that new appointments are detected automatically and the bell
rings without doing org-agenda-to-appt by hand?

Schöne Grüße,

Uwe



___
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: beginner tries to convert to org-mode

2007-11-06 Thread Detlef Steuer
On Mon, 5 Nov 2007 16:24:28 -0600
"William Henney" <[EMAIL PROTECTED]> wrote:

> Although ESC can usually be used as a synonym for Meta, this is not
> always true. In particular, you can't combine ESC with shifted arrow
> keys. You have to use Meta-Shift-right (all keys at once), where Meta
> may actually be labelled as Alt or (heavens forbid) the Windows key on
> your keyboard.

Thank you! Key was ESC isn't always Meta! One of the few facts I thought I knew 
about
using emacs turns out to be false. Way to to go ...

Using Alt it works as expected!

Detlef

-- 
Somebody once said, "If you lend someone $10 and never see that person 
again, it was probably worth it".
--- found in a mailing list


___
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] Ringing the alarm bell in orgmode

2007-11-06 Thread Stefan Kamphausen
Hi Uwe,

"Uwe Jochum" <[EMAIL PROTECTED]> writes:

> Hi all,
>
> using entries in my diary file I get an alarm bell ten minutes before a
> meeting or an appointment. That's useful. 

and should be more flexible...

> But indeed orgmode is much more flexible 

:-)

> for dealing with appointments and scheduled items, so I
> wanted to do more time management in orgmode. But I cannot figure out
> how to set an alarm bell in Emacs for scheduled stuff in orgmode. I
> tried to do it by integrating my orgmode file in the diary file (see
> orgmode FAQ, sec. 9), but that doesn't work (and it is not recommended
> by Carsten). So is there any other way to get the notification mechanism
> to co-operate with orgmode?

And what is more: you need to rely on Emacs running.  OK, since I read
EMails with Gnus Emacs /is/ always running, but nevertheless.  I
prefer my alarm bell being an informative reminder email.

Shouldn't it be possible to have a small elisp file which checks for
alarms to trigger in `org-agenda-files' and performs some reminder
action (like sending an email, ring the bell, start some external
application to create a popup ... whatever) if needed?  This small
extra elisp file could then be called from cron using emacs --script
command line option (only available in Gnu Emacs 22 if I am not
mistaken but something similar could probably achieved using -l, -batch
or -f, etc) every -say- 5 minutes.

To find out whether an alarm has to be triggered there could be a
global option which then refers to the scheduled date-times but one
might also think about a syntax how to defined multiple reminders for
one todo item.

Being but a beginner with org this may be a stupid idea, but it
/sounds/ reasonable to me.  I haven't started writing some elisp,
though.  And of course this is slightly OT :-)


Best Regards
Stefan


-- 
Stefan Kamphausen --- http://www.skamphausen.de
a blessed +42 regexp of confusion (weapon in hand)
You hit. The format string crumbles and turns to dust.


___
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] Ringing the alarm bell in orgmode

2007-11-06 Thread Bastien
"Uwe Jochum" <[EMAIL PROTECTED]> writes:

> But I cannot figure out how to set an alarm bell in Emacs for
> scheduled stuff in orgmode.

Did you try `org-agenda-to-appt'?  

It makes scheduled events in Org being added to the list of appointment.
Then you should be able to hear bells or Emacs will pinch you, etc.

It has filtering capacities, so you can add entries depending on their
content, headline or category.  See the docstring for details.

HTH,

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


[Orgmode] Ringing the alarm bell in orgmode

2007-11-06 Thread Uwe Jochum
Hi all,

using entries in my diary file I get an alarm bell ten minutes before a
meeting or an appointment. That's useful. But indeed orgmode is much
more flexible for dealing with appointments and scheduled items, so I
wanted to do more time management in orgmode. But I cannot figure out
how to set an alarm bell in Emacs for scheduled stuff in orgmode. I
tried to do it by integrating my orgmode file in the diary file (see
orgmode FAQ, sec. 9), but that doesn't work (and it is not recommended
by Carsten). So is there any other way to get the notification mechanism
to co-operate with orgmode?

Schöne Grüße,

Uwe



___
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] bibtex fields in remember templates

2007-11-06 Thread Bastien
Sorry, I forgot to re-send the links:

> - org-bibtex.el: you can now use the :key property to get the "=key="
>   value of an entry (as well as the :btype for bibliographic type, if
>   any)

  http://www.cognition.ens.fr/~guerry/u/org-bibtex.el

> - org-elisp-symbol.el: fixed! You can use the :keys property to get the
>   keys associated with the command.

  http://www.cognition.ens.fr/~guerry/u/org-elisp-symbol.el

-- 
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] bibtex fields in remember templates

2007-11-06 Thread Bastien
Carsten Dominik <[EMAIL PROTECTED]> writes:

> On  6Nov2007, at 1:06 AM, Bastien wrote:
>
>>
>> Please check org-bibtex.el here:
>>
>>   http://www.cognition.ens.fr/~guerry/u/org-bibtex.el
>
> Hey cool!  I had been thinking about a full new link type with its own
> prefix and search routine  But yes, a new link prefix is
> not necessary, it is just a file, after all.

> Great solution, as well for the Lisp symbols - but I cannot
> get the :keys to work.  How is it supposed to work?

I didn't know whether the question was for org-bibtex.el or for
org-elisp-symbol.el but it appears it was relevant in both cases :)

- org-bibtex.el: you can now use the :key property to get the "=key="
  value of an entry (as well as the :btype for bibliographic type, if
  any)

- org-elisp-symbol.el: fixed! You can use the :keys property to get the
  keys associated with the command.

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