Re: [Orgmode] [22] [newbie] install remember?

2009-07-20 Thread Bastien
Hi Tom,

Tom Roche  writes:

> * specific question: if I'm running a (GNU) emacs 22 (like the current
>   stock ubuntu
>
> http://packages.ubuntu.com/jaunty/emacs
>
>   ), do I need to install remember.el separately? (I'm thinking
>   "yes.") If so, 

To my knowledge, remember is included in Emacs 23, not Emacs 22.

See http://www.emacswiki.org/cgi-bin/wiki/RememberMode :

,[ History ]
| 2008-04-16: Remember 2.0 released. Remember is now included with Emacs
| as of Emacs 23.
`

> ** which version? (I'm thinking "2.0")

Presumably.

> ** where should I have read which remember I need to install?
>(presuming I do)

What says Org's manual in Emacs 22 about remember?  I guess it
says to install it separately?  Or maybe you are using a newer
version of Org?  If the current manual (Org 6.28trans) should 
be clearer about this let me know.

> * general question: is there an "elisp which"? E.g. code that will

(featurep 'remember)

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: [22] [newbie] install remember?

2009-07-20 Thread Memnon Anon
Hey ;)

Tom Roche  writes:

> ** where should I have read which remember I need to install?
>(presuming I do)

Have a look at http://orgmode.org/manual/Remember.html#Remember or
in your local org documentation s.v. 9. Remember.

If anything remains unclear, do not hesitate to ask again ;).

Any suggestions, where you would have expected this information?

Maybe a sentence like:
 "Orgmodes functionality is vastly improved by the remember package,
 which is not included in emacs 22. The installation of Remember Mode is
 covered in  Chapter 9 ."
could be added to 1.2 or 1.3 of the orgmanual ...

On the other hand, imho its not that hard to find ...



___
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: Keeping trailing blank lines of remember notes

2009-07-20 Thread Michaël Parienti
Le Sat, 18 Jul 2009 10:14:32 +0200
Bastien  a écrit:

> Hi Michaël,
> 
> Michaël Parienti  writes:
> 
> > Is there a way, with a configuration setup, to tell remember to keep
> > the trailing blank lines of a remember note?
> 
> I have just added a new option:
> 
>   org-remember-delete-empty-lines-at-end
> 
> This defaults to t.  Turning this to nil should let you do want you
> want with blank lines.
> 
> PS: note that new options and new functions are subject to change
> since Carsten needs to validate them.

Thanks a lot for this!


-- 
Michaël Parienti
gpg:D4C8 F73D A000 71C7 44EF  27E6 8982 4991 7126 3CE3


___
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: [BUG] HTML exporting numbered literal examples

2009-07-20 Thread Ulf Stegemann
Bastien  wrote:

> Ulf Stegemann  writes:
>
>> Right, I agree with your observation but I think I wouldn't with your
>> conclusion.  I don't think that this is a problem.  From the author's
>> point of view I think he/she knows what's going on since this is not the
>> default behaviour and the `-r' switch actually has to be added.  And
>> after all we are talking about links.  And as with any other link if the
>> link target is self-explanatory: fine, then I can use it as link name.  If
>> it is not, I should choose something less confusing for the reader.
>
> One problem is the limitation about labels you can use.  E.g. labels do
> not allow whitespaces.  It is hard to write meaningful self-explanatory
> link names without using whitespaces.

Ah okay, that is a good point indeed.  I wasn't aware of the fact that
labels could not contain whitespaces.

> I will see if I can overcome this in a clean way.

That would be great. Thanks for your efforts!

Ulf



___
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: [22] [newbie] install remember?

2009-07-20 Thread Bastien
Memnon Anon  writes:

> Maybe a sentence like:
>  "Orgmodes functionality is vastly improved by the remember package,
>  which is not included in emacs 22. The installation of Remember Mode is
>  covered in  Chapter 9 ."
> could be added to 1.2 or 1.3 of the orgmanual ...

I have slightly modified the paragraph describing remember.el in
org.texi like this:

,
| The Remember package by John Wiegley lets you store quick notes with
| little interruption of your work flow.  It is an excellent way to add
| new notes and tasks to Org files.  The remember.el package is part of
| Emacs 23, not Emacs 22.  See 
http://www.emacswiki.org/cgi-bin/wiki/RememberMode
| for more information.
| 
| Org significantly expands the possibilities of Remember: You may define
| templates for different note types, and associate target files and
| headlines with specific templates.  It also allows you to select the
| location where a note should be stored interactively, on the fly.
`

Hope it's clearer.

-- 
 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: Org-mode as a bug tracker.

2009-07-20 Thread JBash
Not sure if this helps, and I don't know the details or the mechanism, but I
believe that John Wiegley uses org-mode as a bug tracking tool for his
ledger app.

http://wiki.github.com/jwiegley/ledger

On Mon, Jul 20, 2009 at 2:18 AM, Bastien wrote:

> Óscar Fuentes  writes:
>
> > Using org-mode instead of outline-mode is a no-brainer. The only
> > incovenient is org's complexity. A basic but effective use of org is
> > straightforward but its extensive documentation may seem daunting for
> > the occasional user. Maybe a paragraph or two at the beginning of the
> > file explaining what's required for adding entries and doing simple
> > queries would help those developers who don't know nor plan to use org
> > for other uses.
>
> I will write a page on Worg about this.
>
> >> This is the basic workflow.  Of course, permissions and other issues
> >> could be refined but I think such a system is feasible.
> >
> > IMAO this setup is more complex and fragile than a conventional bug
> > tracker. The idea may seem appealing at first for a group of veteran
> > emacs users (those who insist on managing the bug database via e-mail
> > because they refuse to use a web browser, for instance) but I'm far from
> > convinced about its effectiveness.
>
> Aside from the scalability of Org wrt to big bug databases, I'm myself
> only 50% convinced it's an effective setup.  I'd be glad to work on the
> remaining 50%.
>
> >> I don't think the size of the database would really be an issue for the
> >> system above - but maybe I'm wrong on this.
> >
> > I'm afraid you are. Lots of emacs bug reports comprises hundreds of
> > lines of stack dumps, plus e-mail discussions with lots of quoted text,
> > etc. Org is great for notes, but is it practical for containing tens of
> > thousands of bug reports, some of them made of thousands of lines? And
> > you don't control what's on a bug report, they usually contain all sorts
> > of text constructs and random characters. How well it would deal with
> > bug reports about org's itself, containing excerpts from other org
> > files?  Wouldn't this confuse org?
>
> I don't know.  Org is certainly not written for that purpose.  But
> cannot the dumps and discussions but attached as files?  If so, the
> Org database would only need links to these files, not the full bug
> entry.
>
> > Nope, the 20MB is the bugs' text alone.
>
> Gee...
>
> > But attached files belong to the
> > tickets and supposedly provide key information, so you can wipe them
> > away to a place where they are not distributed along with the bug
> > database.
>
> Yes.
>
> > I think org as a bug tracker may work very well for individual
> > developers or for small groups, but not for open big projects such as
> > emacs.
>
> Yes.  In the setup I described in the previous email, no human directly
> write anything in an Org buffer, everything is taken care of by scripts.
> Which is kinda sick, 'cause Org is for humans.
>
> But still, I will continue to brainstorm on this, because if Org is so
> useful for individual bug databases, there should be a clever and useful
> way to *share* these individual databases and have a collective tool.
>
> --
>  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
>
___
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-mode as a bug tracker.

2009-07-20 Thread Óscar Fuentes
JBash  writes:

> Not sure if this helps, and I don't know the details or the mechanism, but I
> believe that John Wiegley uses org-mode as a bug tracking tool for his
> ledger app.
>
> http://wiki.github.com/jwiegley/ledger

Yup. It's on the file named TODO of the `planning` git branch.

Thanks!

-- 
Óscar



___
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: org-export-generic gives an error

2009-07-20 Thread Nathan Neff
On Fri, Jul 17, 2009 at 3:19 PM, srinivas wrote:
> Nathan,
>
> Nick Dokos suggested the following fix to .emacs:
>
> (if (< emacs-major-version 23)
>    (defun characterp (obj)
>      (and (char-or-string-p obj) (not (stringp obj)
>
> Inserting this check makes org-export-generic work for me. My Emacs version on
> Windows is 22.3.1.
>
> I don't know what could be the cause of error on your machine.
>
> - srinivas

This also fixed Aquamacs version 1.8c, which uses Emacs 22.3.1 under the hood.

Thanks for the patch!


___
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] Interaction problem with org-protocol.el

2009-07-20 Thread Keith Lancaster
There seems to be an interaction issue with org-protocol. I discovered  
that my remember throws a "wrong type argument: listp, 5" if I have  
org-protocol included. Removing it fixes the problem.


The debugger gives this -
Debugger entered--Lisp error: (wrong-type-argument listp 5)
  org-current-time()
  org-remember-apply-template()
  run-hooks(remember-mode-hook)
  remember-mode()
  remember(nil)
  org-do-remember()
  org-remember(nil)
  call-interactively(org-remember)

I'm new to emacs, so I have no clue what is happening, but perhaps  
someone can see if this is a real issue. I'm on OS X Leopard with  
Carbon emacs 22.3.1.


Keith Lancaster
klancaster1...@mac.com





___
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: TAB completion for org-insert-link C-c C-l

2009-07-20 Thread Chris Gray
Bastien wrote:

> Hi all,

> I just pushed a small change I would like to hear feedback about.

> The basic idea is to allow TAB completion to suggest stored links when
> inserting a link with C-c C-l.  Here is the log from the git repo:

> ,[ Also use TAB for completion with org-insert-link. ]
> | Before this patch the completion mechanism was this: TAB let's you
> | complete through link prefixes (gnus: file: bbdb: ...) then RET allows
> | completion if a completion mechanism is available for the chosen prefix.
> | Navigating through the history of stored links was a separate process,
> | available through the up/down M-n/M-p keys.
> |
> | Now TAB not only completes through link prefixes but also through stored
> | links.  This behavior matches other Emacs completion mechanisms a bit
> | more closely.
> `

> What do you think?

I love this idea.  It had always annoyed me that ido said (No matches)
when I was inputting a valid link.

Cheers,
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] Interaction problem with org-protocol.el

2009-07-20 Thread Nick Dokos
Keith Lancaster  wrote:

> There seems to be an interaction issue with org-protocol. I discovered  
> that my remember throws a "wrong type argument: listp, 5" if I have  
> org-protocol included. Removing it fixes the problem.
> 
> The debugger gives this -
> Debugger entered--Lisp error: (wrong-type-argument listp 5)
>org-current-time()
>org-remember-apply-template()
>run-hooks(remember-mode-hook)
>remember-mode()
>remember(nil)
>org-do-remember()
>org-remember(nil)
>call-interactively(org-remember)
> 
> I'm new to emacs, so I have no clue what is happening, but perhaps  
> someone can see if this is a real issue. I'm on OS X Leopard with  
> Carbon emacs 22.3.1.
> 

This problem came up recently: the problem almost certainly is that
org-time-stamp-rounding-minutes is set to be 5, but it should be a list
of two numbers instead: (0 5) is the current default.  See the thread

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

for more details.

However, the interaction with org-protocol does not make any sense to
me. What do you mean by "...if I have org-protocol included"?  Do you
mean you just (require 'org-protocol) and you see the problem and if you
don't do the require, you don't see it?  And what versions of
emacs/org-mode are you running? I know you are running Aquamacs, but I
don't know on what emacs version that is based.

Thanks,
Nick


___
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: Cannot use org-mode and remember templates

2009-07-20 Thread Nick Dokos
=?utf-8?Q?S=C3=A9bastien_Vauban?=  wrote:

> ...
> 
> BTW, the problem with the above is that bad code is still readable in lots =
> of
> pages or tutorials on the Web. That's how it appeared for me, as I take a l=
> ot
> of inspiration on the setup some describe.
> 

Are you saying that you copied the incorrect setting of
org-time-stamp-rounding-minutes from somewhere on the web? If so, and
since this problem seems to arise frequently (there was another report
from Keith Lancaster a few minutes ago), I wonder whether anybody who's
run into the problem remembers where they got the bad code. It might be
worth tracking it down and having the webpage author fix it to avoid
this problem from arising in the future. I did a cursory search in the
various tutorials on Worg, but I did not find anything.

Thanks,
Nick


___
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] [22] [newbie] install remember?

2009-07-20 Thread Tom Roche

(edited with org-mode :-)

Tom Roche Mon, 20 Jul 2009 02:23:35 -0400 (EDT)
>>> * specific question: if I'm running a (GNU) emacs 22 (like the
>>>   current stock ubuntu

>>> http://packages.ubuntu.com/jaunty/emacs

>>>   ), do I need to install remember.el separately? (I'm thinking
>>>   "yes.")

Bastien Mon, 20 Jul 2009 15:59:39 +0200
> I have slightly modified the paragraph describing remember.el in
> org.texi like this:

> | The Remember package by John Wiegley lets you store quick notes
> | with little interruption of your work flow.

> + It is an excellent way to add new notes and tasks to Org files.  
> + The remember.el package is part of Emacs 23, not Emacs 22. 

> | See http://www.emacswiki.org/cgi-bin/wiki/RememberMode for more
> | information. Org significantly expands the possibilities of

Thanks, much better. Presumably that will filter into 

http://orgmode.org/org.pdf
http://orgmode.org/manual/index.html

as well? since those were what I was working from. (Because
`make install-info-debian` did not work for me, but

init.el
> (add-to-list 'Info-default-directory-list
>   ; current version of org, as of 19 Jul 09
>   ; from http://orgmode.org/
>   ; must be installed: see
>   ; http://orgmode.org/manual/Installation.html#Installation
>   ; and logfile.090719
>   (concat MY-LOCAL-EMACS-LISP-DIR "/" ORG-VERSION "/doc")

does now.) You might also link to section 9.1 from section 1.2
(Installation). (Is the top-level doc worg-able? An idle question at
this point, since getting org-mode setup is a subtask of "organizing
my life in plain text," and setting up git is farther down the
priority list.)

One more doc suggestion:

http://www.emacswiki.org/emacs/RememberMode#toc7
 Setting up for OrgMode

 Basically you should follow the instructions in the org-mode info
 file. However this currently forgets that you also need something
 like this in your .emacs:

 (require 'remember)

appears to be correct, since

http://orgmode.org/manual/Setting-up-Remember.html#Setting-up-Remember
> 9.1.1 Setting up Remember

> The following customization will tell Remember to use Org files
> as target, and to create annotations compatible with Org links.

>  (org-remember-insinuate)
>  (setq org-directory "~/path/to/my/orgfiles/")
>  (setq org-default-notes-file (concat org-directory "/notes.org"))
>  (define-key global-map "\C-cr" 'org-remember)

>>> * general question: is there an "elisp which"?

Bastien Mon, 20 Jul 2009 15:59:39 +0200
>> (featurep 'remember)

pre-install *scratch*
> (featurep 'remember)
> nil

post-install *scratch*
> (featurep 'remember)
> t

Double thanks! Tom Roche 


___
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] ANN: org-mac-protocol : AppleScripts to invoke org-protocol from various applications

2009-07-20 Thread Christopher Suckling
All,

This is essentially a rewrite of my org-annotate-quicksilver suite of
scripts for compatibility
with org-protocol with a major improvement: Quicksilver is no longer required.

Launch the scripts from the Script menu in the menu bar or from your
favourite script launcher
(including Quicksilver, of course!).

Three modes of operation:

org-link: create an org-mode link to the selected document, file or application
org-remember: pop up a small remember frame initialized with links
and, where possible,
content from the selected document, file or application.
org-note: pop up a small remember frame for quick note taking
independent of current
application.

Currently supported apps are:

Finder
Safari
Skim
BibDesk
Terminal

In the works are:

Office
iCal
iTunes
iPhoto

Full documentation and downloads from:

http://claviclaws.net/org

As always, bug reports (I don't have a wide range of systems to test
on) and improvements
welcome.

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] Re: New screencast about org-protocol.el

2009-07-20 Thread Christopher Suckling
On Sun, Jul 19, 2009 at 8:44 PM, Greg Newman wrote:

> Kieth, I've been working (in my spare time) on a applescript solution that's
> elegant.  When I get it finished and working I'll let everyone know.  I'm a
> Safari user but when it's done it will work with FF (or camino) too.
>

Greg,

I'd love to know if you've had any success with FF. As of 3.5, there is a
getURL object, but I've not been able to get it to work reliably, and,
regardless,
it still leaves FF as a rather second class citizen compared to Safari.

If it's of interest, you can find my (finally) rewritten suite of
scripts for org-protocol
here:

http://claviclaws.net/org/

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] ANN: org-mac-protocol : AppleScripts to invoke org-protocol from various applications

2009-07-20 Thread Greg Newman
Awesome Chris, thanks!  Now I don't have to finish my safari > org-protocol
script.I'll give this a try this evening and report back.  Is this on github
by chance?


*Greg Newman*

http://20seven.org

twitter: 20seven

On Mon, Jul 20, 2009 at 1:57 PM, Christopher Suckling <
suckling.l...@googlemail.com> wrote:

> All,
>
> This is essentially a rewrite of my org-annotate-quicksilver suite of
> scripts for compatibility
> with org-protocol with a major improvement: Quicksilver is no longer
> required.
>
> Launch the scripts from the Script menu in the menu bar or from your
> favourite script launcher
> (including Quicksilver, of course!).
>
> Three modes of operation:
>
> org-link: create an org-mode link to the selected document, file or
> application
> org-remember: pop up a small remember frame initialized with links
> and, where possible,
> content from the selected document, file or application.
> org-note: pop up a small remember frame for quick note taking
> independent of current
> application.
>
> Currently supported apps are:
>
> Finder
> Safari
> Skim
> BibDesk
> Terminal
>
> In the works are:
>
> Office
> iCal
> iTunes
> iPhoto
>
> Full documentation and downloads from:
>
> http://claviclaws.net/org
>
> As always, bug reports (I don't have a wide range of systems to test
> on) and improvements
> welcome.
>
> 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
>
___
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] ANN: org-mac-protocol : AppleScripts to invoke org-protocol from various applications

2009-07-20 Thread Christopher Suckling
On Mon, Jul 20, 2009 at 7:03 PM, Greg Newman wrote:
> Awesome Chris, thanks!  Now I don't have to finish my safari > org-protocol
> script.
> I'll give this a try this evening and report back.  Is this on github by
> chance?

Not yet; I've yet to start playing with that. Maybe late tonight!

Today's toy was creating an OS X package installer, but all sources are on
the dmg, just in case...

Best, 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] Re: New screencast about org-protocol.el

2009-07-20 Thread Greg Newman
No Chris, I haven't.  FF 3.x is just borked on the mac as far as extending
it goes.I wrote some scripts that would allow me to jump from the current
open safari url to the same url in firefox (useful for testing) and that no
longer works either.  There are a bunch of bug reports that have been logged
at mozilla since the introduction of 3.0 and no-one seems to care.  Really
doesn't bother me too much since I don't use it very often but for those who
do it's a killer.  I typically use Safari and it's developer tools.

On Mon, Jul 20, 2009 at 2:01 PM, Christopher Suckling <
suckling.l...@googlemail.com> wrote:

> On Sun, Jul 19, 2009 at 8:44 PM, Greg Newman wrote:
>
> > Kieth, I've been working (in my spare time) on a applescript solution
> that's
> > elegant.  When I get it finished and working I'll let everyone know.  I'm
> a
> > Safari user but when it's done it will work with FF (or camino) too.
> >
>
> Greg,
>
> I'd love to know if you've had any success with FF. As of 3.5, there is a
> getURL object, but I've not been able to get it to work reliably, and,
> regardless,
> it still leaves FF as a rather second class citizen compared to Safari.
>
> If it's of interest, you can find my (finally) rewritten suite of
> scripts for org-protocol
> here:
>
> http://claviclaws.net/org/
>
> 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


[Orgmode] emacs on the iPhone

2009-07-20 Thread Greg Newman
For those that are interested (and don't already know), there are a few apps
out now for secure shell on the iphone.  The one I'm using is issh by
zingersoft. http://www.zinger-soft.com/iSSH_features.html
So far I've had good luck with it and hopefully later this week will have
time to poke a hole in my router to try connecting to my mac so I can give
org-mode a try with it.  I have successfully run emacs and irssi from my
server but it's not setup for org.

If anyone does give it a try before I report back please fill me/us in.

Cheers,


*Greg Newman*

http://20seven.org

twitter: 20seven
___
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: Cannot use org-mode and remember templates

2009-07-20 Thread Bastien
Nick Dokos  writes:

> =?utf-8?Q?S=C3=A9bastien_Vauban?=  wrote:
>
>> ...
>> 
>> BTW, the problem with the above is that bad code is still readable in lots =
>> of
>> pages or tutorials on the Web. That's how it appeared for me, as I take a l=
>> ot
>> of inspiration on the setup some describe.
>> 
>
> Are you saying that you copied the incorrect setting of
> org-time-stamp-rounding-minutes from somewhere on the web? If so, and
> since this problem seems to arise frequently (there was another report
> from Keith Lancaster a few minutes ago), I wonder whether anybody
> who's run into the problem remembers where they got the bad code.

I found one occurrence in Worg:

  org-configs/org-customization-survey.org

I fixed it (replaced "5" by "'(0 5)")

-- 
 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] [22] [newbie] install remember?

2009-07-20 Thread Bastien
Tom Roche  writes:

> Thanks, much better. Presumably that will filter into 
>
> http://orgmode.org/org.pdf
> http://orgmode.org/manual/index.html
>
> as well? 

Yes, done.

> does now.) You might also link to section 9.1 from section 1.2
> (Installation). (Is the top-level doc worg-able? An idle question at
> this point, since getting org-mode setup is a subtask of "organizing
> my life in plain text," and setting up git is farther down the
> priority list.)

The 1.2 section is about installing Org.  People interested in
using Remember will go to the Remember section.

> One more doc suggestion:
>
> http://www.emacswiki.org/emacs/RememberMode#toc7

If the suggestion is to add (require 'remember) it is not necessary,
the function `org-require-remember' in `org-remember-insinuate' is
taking care of it.

> Double thanks! Tom Roche 

You're welcome,

-- 
 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] Patch for windowing problem

2009-07-20 Thread Robert Goldman
Bastien wrote:
> Hi Robert,
> 
> Robert Goldman  writes:
> 
>> If you are inclined, you should be able to run with this patch, and it
>> should do /absolutely nothing/.  That would be a good test, too.  If you
>> plug it in, and you use only a single frame, org-mode should not change
>> at all for you.  If it does, you have performed the valuable service of
>> finding that I have made a big bug!
> 
> I've been trying to use frames with Org and Org-remember.  I can't
> reproduce the bug you are reporting, so maybe it's an Aquamacs bug?  
> 
> Does anyone using frames in GNU Emacs can reproduce Robert's bug?
> 

I will see if I can set up a test case, involving creating some frames,
that might display this problem on vanilla Emacs.  I'm afraid it's not a
very high priority for me, since it will involve getting Org working on
a different machine.

However, I'm inclined to suggest that, if this is NOT a problem on
vanilla emacs, and my patch does not /damage/ operations on vanilla
emacs while making life easier on aquamacs, we can safely push it.

best,
r



___
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 for windowing problem

2009-07-20 Thread Bastien
Robert Goldman  writes:

> I will see if I can set up a test case, involving creating some frames,
> that might display this problem on vanilla Emacs.  I'm afraid it's not a
> very high priority for me, since it will involve getting Org working on
> a different machine.

Thanks for this.  I will also try to reproduce the problem on vanilla
Emacs -- btw, can you suggest a simple recipe on how to reproduce it
with emacs -Q (and relevant frame config, of course)?

> However, I'm inclined to suggest that, if this is NOT a problem on
> vanilla emacs, and my patch does not /damage/ operations on vanilla
> emacs while making life easier on aquamacs, we can safely push it.

If this is a bug in Aquamacs, we shouldn't fix it in Emacs, even if 
the workaround doesn't break anything -- by using such a workaround
we just remove incentives for Aquamacs people to fix the bug. 

Anyway, perhaps it's an Emacs + Org problem, so let's test and see!

PS: Remember I'm just a temporary maintainer, so I'm just double-careful
about not introducing unnecessary changes...

-- 
 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: Cannot use org-mode and remember templates

2009-07-20 Thread Nick Dokos
Bastien  wrote:

> Nick Dokos  writes:
> 
> > =?utf-8?Q?S=C3=A9bastien_Vauban?=  wrote:
> >
> >> ...
> >> 
> >> BTW, the problem with the above is that bad code is still readable in lots 
> >> =
> >> of
> >> pages or tutorials on the Web. That's how it appeared for me, as I take a 
> >> l=
> >> ot
> >> of inspiration on the setup some describe.
> >> 
> >
> > Are you saying that you copied the incorrect setting of
> > org-time-stamp-rounding-minutes from somewhere on the web? If so, and
> > since this problem seems to arise frequently (there was another report
> > from Keith Lancaster a few minutes ago), I wonder whether anybody
> > who's run into the problem remembers where they got the bad code.
> 
> I found one occurrence in Worg:
> 
>   org-configs/org-customization-survey.org
> 
> I fixed it (replaced "5" by "'(0 5)")
> 

Great! Thanks, Bastien.

Nick



___
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: ANN: org-mac-protocol : AppleScripts to invoke org-protocol from various applications

2009-07-20 Thread Austin Frank
On Mon, Jul 20 2009, Christopher Suckling wrote:

> [...]
>
> Currently supported apps are:
>
> Finder

Christopher--

Thanks!  This looks really interesting.  Is there any way to use
applescript to track change in application focus?  I'd be interested in
logging when I change to or away from each application, and having that
time tracking information available from within org.  Does this seem
possible?

Thanks,
/au

-- 
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc



___
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 for windowing problem

2009-07-20 Thread Robert Goldman
Bastien wrote:
> Robert Goldman  writes:
> 
>> I will see if I can set up a test case, involving creating some frames,
>> that might display this problem on vanilla Emacs.  I'm afraid it's not a
>> very high priority for me, since it will involve getting Org working on
>> a different machine.
> 
> Thanks for this.  I will also try to reproduce the problem on vanilla
> Emacs -- btw, can you suggest a simple recipe on how to reproduce it
> with emacs -Q (and relevant frame config, of course)?
> 
>> However, I'm inclined to suggest that, if this is NOT a problem on
>> vanilla emacs, and my patch does not /damage/ operations on vanilla
>> emacs while making life easier on aquamacs, we can safely push it.
> 
> If this is a bug in Aquamacs, we shouldn't fix it in Emacs, even if 
> the workaround doesn't break anything -- by using such a workaround
> we just remove incentives for Aquamacs people to fix the bug. 
> 
> Anyway, perhaps it's an Emacs + Org problem, so let's test and see!

For the record, I don't believe that this is an Aquamacs bug per se.
The Aquamacs aspect of the problem is that Aquamacs is frame-happy, and
tends to pop up a lot more frames than a vanilla emacs.  That means that
behaviors occur that you wouldn't see with a vanilla emacs.  I'm not
suggesting that Aquamacs is doing anything wrong by putting the Calendar
buffer in another frame, so by handling that case, I'm not fixing an
Aquamacs bug.  I'm just guarding against a condition that we don't see
in vanilla emacs.

Unfortunately, I don't know how to replicate this on a vanilla emacs.
When I try to force *Calendar* into a different frame while inside a
call to org-schedule, I cannot.  The closest I can do is to set
calendar-setup to 'two-frame, which does pop up a frame and leave my
cursor trapped in it, but it actually behaves even /worse/ than
Aquamacs, because I can't assign a date at all.  On Aquamacs I get a
date, but my cursor is left in the wrong window, making me (ugh) use the
mouse to get back where I was.

Hope that helps,

r


___
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: Orgmodeorg-export-generic gives an error

2009-07-20 Thread Wes Hardaker
> On Fri, 17 Jul 2009 20:19:19 + (UTC), srinivas  said:

s> Nick Dokos suggested the following fix to .emacs:

s> (if (< emacs-major-version 23)
s> (defun characterp (obj)
s> (and (char-or-string-p obj) (not (stringp obj)

s> Inserting this check makes org-export-generic work for me. My Emacs
s> version on Windows is 22.3.1.

(I was on vacation for a week and didn't see this problem).

I wrote export-generic under xemacs and didn't notice that there was a
function compatibility issue.

This patch to it should fix things:

diff --git a/lisp/org-export-generic.el b/lisp/org-export-generic.el
index 64dcb1f..c9fc161 100644
--- a/lisp/org-export-generic.el
+++ b/lisp/org-export-generic.el
@@ -1029,7 +1029,7 @@ REVERSE means to reverse the list if the plist match is a
list
 subtype)
 (cond
  ((null prefixtype) "")
- ((and len (characterp prefixtype))
+ ((and len (char-or-string-p prefixtype) (not (stringp prefixtype)))
   ;; sequence of chars
   (concat (make-string len prefixtype) "\n"))
  ((stringp prefixtype)


-- 
\ Wes Hardaker   http://pontifications.hardakers.net /
 \_ "In the bathtub of history the truth is harder to hold than /
   \___ the soap, and much more difficult to find." ___/
   \_ -- Terry Pratchett __/
 \__/


___
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] ANN: org-mac-protocol : AppleScripts to invoke org-protocol from various applications

2009-07-20 Thread Greg Newman
Chris,Just a note, the package tried to install by default to my root dir
and failed.  I changed it to ~/ and it then installed.  Not sure if you can
make something else the default or have it ask for roots password.  I almost
didn't see the option to change the install location.

Giving this a try now...

On Mon, Jul 20, 2009 at 1:57 PM, Christopher Suckling <
suckling.l...@googlemail.com> wrote:

> All,
>
> This is essentially a rewrite of my org-annotate-quicksilver suite of
> scripts for compatibility
> with org-protocol with a major improvement: Quicksilver is no longer
> required.
>
> Launch the scripts from the Script menu in the menu bar or from your
> favourite script launcher
> (including Quicksilver, of course!).
>
> Three modes of operation:
>
> org-link: create an org-mode link to the selected document, file or
> application
> org-remember: pop up a small remember frame initialized with links
> and, where possible,
> content from the selected document, file or application.
> org-note: pop up a small remember frame for quick note taking
> independent of current
> application.
>
> Currently supported apps are:
>
> Finder
> Safari
> Skim
> BibDesk
> Terminal
>
> In the works are:
>
> Office
> iCal
> iTunes
> iPhoto
>
> Full documentation and downloads from:
>
> http://claviclaws.net/org
>
> As always, bug reports (I don't have a wide range of systems to test
> on) and improvements
> welcome.
>
> 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
>
___
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] ANN: org-mac-protocol : AppleScripts to invoke org-protocol from various applications

2009-07-20 Thread Greg Newman
Hmm, Chris.No matter what I do I always get "Required feature
`org-mac-protocol' was not provided" when I re-eval.  I can load-file fine
but when I add it to my configs, before or after org-mode it always barks at
me.

On Mon, Jul 20, 2009 at 1:57 PM, Christopher Suckling <
suckling.l...@googlemail.com> wrote:

> All,
>
> This is essentially a rewrite of my org-annotate-quicksilver suite of
> scripts for compatibility
> with org-protocol with a major improvement: Quicksilver is no longer
> required.
>
> Launch the scripts from the Script menu in the menu bar or from your
> favourite script launcher
> (including Quicksilver, of course!).
>
> Three modes of operation:
>
> org-link: create an org-mode link to the selected document, file or
> application
> org-remember: pop up a small remember frame initialized with links
> and, where possible,
> content from the selected document, file or application.
> org-note: pop up a small remember frame for quick note taking
> independent of current
> application.
>
> Currently supported apps are:
>
> Finder
> Safari
> Skim
> BibDesk
> Terminal
>
> In the works are:
>
> Office
> iCal
> iTunes
> iPhoto
>
> Full documentation and downloads from:
>
> http://claviclaws.net/org
>
> As always, bug reports (I don't have a wide range of systems to test
> on) and improvements
> welcome.
>
> 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
>
___
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] ANN: org-mac-protocol : AppleScripts to invoke org-protocol from various applications

2009-07-20 Thread Christopher Suckling
On Mon, Jul 20, 2009 at 11:42 PM, Greg Newman wrote:
> Chris,
> Just a note, the package tried to install by default to my root dir and
> failed.  I changed it to ~/ and it then installed.  Not sure if you can make
> something else the default or have it ask for roots password.  I almost
> didn't see the option to change the install location.
> Giving this a try now...
>

Thanks. I've since found that the install in home directory option on
the latest version of PackageMaker is a 10.5 only option. Is that the
problem?

Everything necessary should be in the sources directory anyway.

And also now on github:

git://github.com/claviclaws/org-mac-protocol.git

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


[Orgmode] Re: OrgmodeOrg-mode as a bug tracker.

2009-07-20 Thread Wes Hardaker
> On Fri, 17 Jul 2009 17:34:13 +0200, Óscar Fuentes  said:

o> The only downside is the lack of a referenced wiki system: simple links
o> to revisions (r1010) tickets (#245) etc.

You can actually get around this somewhat if you're linking to, say, a
svn web server.  I do this using something like this:

  (setq org-link-abbrev-alist
   '(
 ("nsb"
 . 
"http://sourceforge.net/tracker/index.php?func=detail&group_id=12694&atid=112694&aid=%s";)))

Thus any links like [[nsb:1234]] will link to the right web page for bug
#1234 in the Net-SNMP bug database.  SVN repo pointers, etc, can be done
just as easily.

-- 
\ Wes Hardaker   http://pontifications.hardakers.net /
 \_ "In the bathtub of history the truth is harder to hold than /
   \___ the soap, and much more difficult to find." ___/
   \_ -- Terry Pratchett __/
 \__/


___
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: OrgmodeHelp: Convert Org-Mode to Shadowplan for Palm (Centro)

2009-07-20 Thread Wes Hardaker
> On Sun, 19 Jul 2009 03:56:40 +0200, p.raschdorff  
> said:

pr> using both - my Palm OS device with the ShadowPlan outliner and Org-mode,
pr> I've tried to bring these two worlds together.

Great!  I actually started writing org-export-generic specifically
because I wanted to export to shadowplan.  I wasn't planning on doing
the reverse (import to org from shadowplan), but it would certainly be
helpful to be able to.

(I just haven't written the export-generic plugin for shadowplan, but it
was on my very-soon-todo list)

-- 
\ Wes Hardaker   http://pontifications.hardakers.net /
 \_ "In the bathtub of history the truth is harder to hold than /
   \___ the soap, and much more difficult to find." ___/
   \_ -- Terry Pratchett __/
 \__/


___
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] ANN: org-mac-protocol : AppleScripts to invoke org-protocol from various applications

2009-07-20 Thread Christopher Suckling
On Tue, Jul 21, 2009 at 12:04 AM, Greg Newman wrote:
> Hmm, Chris.
> No matter what I do I always get "Required feature `org-mac-protocol' was
> not provided" when I re-eval.  I can load-file fine but when I add it to my
> configs, before or after org-mode it always barks at me.
>

Urrrgh. Stupid typo, but I'd already evaled the buffer when testing
and didn't notice.

Last line should read:

(require 'org-mac-protocol)

NOT

(require 'org-mac-protocol.el)

Putting together updated release now...

C.


___
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: OrgmodeOrg-mode as a bug tracker.

2009-07-20 Thread Óscar Fuentes
Wes Hardaker  writes:

> o> The only downside is the lack of a referenced wiki system: simple links
> o> to revisions (r1010) tickets (#245) etc.
>
> You can actually get around this somewhat if you're linking to, say, a
> svn web server.  I do this using something like this:
>
>   (setq org-link-abbrev-alist
>'(
>  ("nsb"
>  . 
> "http://sourceforge.net/tracker/index.php?func=detail&group_id=12694&atid=112694&aid=%s";)))
>
> Thus any links like [[nsb:1234]] will link to the right web page for bug
> #1234 in the Net-SNMP bug database.  SVN repo pointers, etc, can be done
> just as easily.

I was thinking along this lines for implementing links to subversion
revisions. However, links to bugs reports are not so easy, because you
must explicitly assign a unique id to each TODO. org-id.el is not very
human-friendly as it generates long ids.

I guess it is possible to fix this with some lisp customizations.  Once
the automatic generation and insertion of a simple (counter-based)
unique id for each new TODO is achieved, linking to bugs becomes easy
using the mechanism you mentioned above.

-- 
Óscar



___
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] ANN: org-mac-protocol : AppleScripts to invoke org-protocol from various applications

2009-07-20 Thread Greg Newman
I was actually doing it right Chris (require 'org-mac-protocol).  I hadn't
noticed a typo.

On Mon, Jul 20, 2009 at 7:36 PM, Christopher Suckling <
suckling.l...@googlemail.com> wrote:

> On Tue, Jul 21, 2009 at 12:04 AM, Greg Newman wrote:
> > Hmm, Chris.
> > No matter what I do I always get "Required feature `org-mac-protocol' was
> > not provided" when I re-eval.  I can load-file fine but when I add it to
> my
> > configs, before or after org-mode it always barks at me.
> >
>
> Urrrgh. Stupid typo, but I'd already evaled the buffer when testing
> and didn't notice.
>
> Last line should read:
>
> (require 'org-mac-protocol)
>
> NOT
>
> (require 'org-mac-protocol.el)
>
> Putting together updated release now...
>
> C.
>
___
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] ANN: org-mac-protocol, let's try again

2009-07-20 Thread Christopher Suckling
Apologies to the early adopters to whom I sold some dummies.

Hopefully this should work better.

(I had so much residual stuff sitting in memory that I was under the
false impression that everything just worked TM)

The installer is, I'm afraid, 10.5 only.

The manual includes, um, manual installation instructions for 10.4.

Available from:

http://claviclaws.net/org/

or

git://github.com/claviclaws/org-mac-protocol.git

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] ANN: org-mac-protocol : AppleScripts to invoke org-protocol from various applications

2009-07-20 Thread Christopher Suckling
On Tue, Jul 21, 2009 at 12:59 AM, Greg Newman wrote:

> I was actually doing it right Chris (require 'org-mac-protocol).  I hadn't
> noticed a typo.

It's genuinely working for me now; restarted computer and everything!

If you could have one more shot with what I uploaded a couple of
minutes ago (web or git), and report back, I'd be most grateful, but
for now I'm off to bed. I'm losing track of which files I've moved
where...

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


[Orgmode] orgstruct minor mode

2009-07-20 Thread Maurizio Vitale

Is anybody working on making orgstruct work with programming modes (or
other modes that require the org "markup" to be hidden in comments)?

If not I'll probably take a look at it and ask questions on the way.

Regards,

  Maurizio

-- 



___
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] Feature request: javascript expand collapse

2009-07-20 Thread Xin Shi
Hi Bastien,

I'm sorry that I didn't explain it clearly. Here is what I mean. For
instance, one can  open this page:

http://orgmode.org/Changes.htm

All one can do is to click the sections and read each pages. If a certain
page turns out to be very long, there is no easy way to make it shorter in
the first place, then click on the needed parts.  One might say that you can
always put those into different sections, but I think it's just another
option for people.  If it sounds too complicated, we can just leave with
this and wait until more people need ... :)

Thanks!

Xin



On Sun, Jul 19, 2009 at 2:03 PM, Bastien wrote:

> Hi Xin,
>
> Xin Shi  writes:
>
> > In my opinion, there is no directly contradict with Sebastian's design,
> they
> > are targeting to different tasks. It'll be nice it we can include both
> ... :)
>
> But...  to me clicking on the title or clicking on a small button would
> achieve the same function: i.e. unfold the section.  I don't see where
> there are two different tasks - but maybe I don't understand :/
>
> --
>  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] orgstruct minor mode

2009-07-20 Thread Dan Davison
Maurizio Vitale
 writes:

> Is anybody working on making orgstruct work with programming modes (or
> other modes that require the org "markup" to be hidden in comments)?

Have a look at this recent thread

http://article.gmane.org/gmane.emacs.orgmode/15421/match=org+style+folding

in particular the posts by Michael Zeller and Sébastian Vauban, starting
with

http://article.gmane.org/gmane.emacs.orgmode/15427/match=org+style+folding

 in which they develop really nice org-style folding (and headline
 faces) for elisp code (based on original code by Tassilo Horn I
 believe).

The thread also contains discussion of org babel which provides a
different (literate programming) approach: the code is in source blocks
in an org file and extracted when needed.

Dan


>
> If not I'll probably take a look at it and ask questions on the way.
>
> Regards,
>
>   Maurizio


___
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] bug and two suggestions for org-remember

2009-07-20 Thread Samuel Wales
With templates like the following, I sometimes get things
refiled to a new heading at the end of the file, instead of
to an existing "mytarget" which is not at top level.

  ("test" ?t"* %? %i -- %a\n" "/path/to/test.org" "mytarget")

What I expected is that the existing target would be used.

The difference appears to be that I added a todo kw on the
"mytarget" headline.  It appears as if org-remember expects
the target to have no todo kw.  I expected the todo kw to be
irrelevant to choosing the target,[fn:8] I think that most people
would probably expect the same.

My proposed fix is to make remember choose a target without
regard to its todo kw.

I also suggest that org-IDs be usable in place of a headline
string for "mytarget".  If the target does not exist, then
an error can be signaled.

Finally, perhaps the comments at the top of the remember
buffer can show the full olpath of the default target,
perhaps in a different face.

Thanks.

[fn:8] I haven't looked into whether choosing a headline
using a search link or agenda search pay attention to the
todo kw, but I would guess that they do not.  Refile appears to work
as I expect.

-- 
Myalgic encephalomyelitis makes you die decades early (Jason
et al. 2006) and suffer severely.  Conflicts of interest are
destroying research.  Silence = death.  Again.
http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


___
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: Orgmodeorg-export-generic gives an error

2009-07-20 Thread Bastien
Applied, thanks.

Wes Hardaker  writes:

> This patch to it should fix things:
>
> diff --git a/lisp/org-export-generic.el b/lisp/org-export-generic.el
> index 64dcb1f..c9fc161 100644
> --- a/lisp/org-export-generic.el
> +++ b/lisp/org-export-generic.el
> @@ -1029,7 +1029,7 @@ REVERSE means to reverse the list if the plist match is 
> a
> list
>  subtype)
>  (cond
>   ((null prefixtype) "")
> - ((and len (characterp prefixtype))
> + ((and len (char-or-string-p prefixtype) (not (stringp prefixtype)))
>;; sequence of chars
>(concat (make-string len prefixtype) "\n"))
>   ((stringp prefixtype)

-- 
 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] Feature request: javascript expand collapse

2009-07-20 Thread Bastien
Hi Xin,

Xin Shi  writes:

> I'm sorry that I didn't explain it clearly. Here is what I mean. For
> instance, one can  open this page:
>
> http://orgmode.org/Changes.html
^

> All one can do is to click the sections and read each pages. If a certain
> page turns out to be very long, there is no easy way to make it shorter in
> the first place, then click on the needed parts. 

The org-info.js script is explicitely done for this, and that's why
there is no long page when browsing the manual from this interface...

> One might say that you can always put those into different sections,
> but I think it's just another option for people.  If it sounds too
> complicated, we can just leave with this and wait until more people
> need ... :)

Yeah :)

-- 
 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: OrgmodeOrg-mode as a bug tracker.

2009-07-20 Thread Bastien
Óscar Fuentes  writes:

> Wes Hardaker  writes:
>
>> o> The only downside is the lack of a referenced wiki system: simple links
>> o> to revisions (r1010) tickets (#245) etc.
>>
>> You can actually get around this somewhat if you're linking to, say, a
>> svn web server.  I do this using something like this:
>>
>>   (setq org-link-abbrev-alist
>>'(
>>  ("nsb"
>>  . 
>> "http://sourceforge.net/tracker/index.php?func=detail&group_id=12694&atid=112694&aid=%s";)))
>>
>> Thus any links like [[nsb:1234]] will link to the right web page for bug
>> #1234 in the Net-SNMP bug database.  SVN repo pointers, etc, can be done
>> just as easily.

More generally, using Org as a front-end for other bug tracking online
tools looks more actionnable than using it as a back-end.

> I was thinking along this lines for implementing links to subversion
> revisions. However, links to bugs reports are not so easy, because you
> must explicitly assign a unique id to each TODO. org-id.el is not very
> human-friendly as it generates long ids.

Aren't those ids always hidden, either within a link or within a drawer?

> I guess it is possible to fix this with some lisp customizations.  Once
> the automatic generation and insertion of a simple (counter-based)
> unique id for each new TODO is achieved, linking to bugs becomes easy
> using the mechanism you mentioned above.

I think it's already the case.

-- 
 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] emacs on the iPhone

2009-07-20 Thread Sven Bretfeld
Greg Newman  writes:

> For those that are interested (and don't already know), there are a
> few apps out now for secure shell on the iphone.  The one I'm using is
> issh by zingersoft.  http://www.zinger-soft.com/iSSH_features.html
>
> So far I've had good luck with it and hopefully later this week will
> have time to poke a hole in my router to try connecting to my mac so I
> can give org-mode a try with it.  I have successfully run emacs and
> irssi from my server but it's not setup for org.

I got a HTC Magic running Android a few weeks ago. There is a free powerful
and fast ssh application called ConnectBot available in the Android
Market. ConnectBot can handle ssh keys and lets you put an icon for
frequently used connections on the desktop.

Connecting to my PC and starting emacsclient -t via a bash-alias (`ec')
takes about 5 seconds from everywhere. I think running (and working
with) a native Emacs on the phone itself (which isn't available anyway)
could never be much faster. Gnus and Org-mode are ready to go. And no
need to synchronize.

This is the solution I always dreamed of and more than once asked about
in this list. I can very much recommend Android (even if its
relationship to Google can be annoying).

For those who want to give it a try: In ConnectBot CTRL is pressing the
mouse ball once, META (ESC) is pressing it twice. TAB is twice pressing
the mouse ball and hitting SPC. To expand a tree in an org file you have
to set org-cycle to a key. Of course, you should have an internet
flatrate if you want to write your PhD thesis that way ;-).

Greetings

Sven

-- 
Sven Bretfeld
  \ CEntrum für
CERES  \ REligionswissenschaftliche
\_Studien__
Ruhr-Universität Bochum
Universitätsstraße 150
D-44780 Bochum
http://www.ruhr-uni-bochum.de/relwiss/Lehrstuhl/Mitarbeitende/Bretfeld.html


___
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