Tim O'Callaghan | 1 Oct 2009 02:31
Picon

Re: Feature Request: "Keeping me honest"

Attached is a working implementation of the idea.

So, in GTD each 'next action' is supposed to be an actual doable
thing to further the project it is associated with.

When creating next actions or project headlines there is sometimes
a tendency to use a heading that is a bit vague/undoable. This is
usually a sign that the task the headline represents needs more
thinking about and will probably need more than one next action or
spawn another project.

org-action-verbs was created to use a list of GTD 'action verbs' to
diagnose non-functional next action and project headlines. It searches
for headlines of a specific TODO type and checks to see if the first
word in the headline is specified as an action verb for that TODO
type. If not, then it highlights that first non actionable word.

Its a bit like flyspell mode but for checking doable org headlines.

To use put the following in your .emacs:
(require 'org-action-verbs)

To change the default TODO Type->Action Verb table you can set
'org-action-todo-verbs'. Below is an example. The first checks for the
right spaceship name associated with the 'SPACESHIP' TODO type, and
the right colour for the 'COLOR' and 'COLOUR' TODO types.

- note the Action verbs are case sensitive.

(setq org-action-todo-verbs
(Continue reading)

Nagarjuna G. | 1 Oct 2009 03:17
Favicon
Gravatar

Re: Re: Is there a good way to use org as blog system?

org offers multiple ways of solving problems.  worg, blorg, and
Manoj's perl script, and I am sure there will be others.  I am  now
thinking on the following idea:

Using the new features (babel) added in the fresh release of org, it
is indeed possible to provide a minor mode in gnowsys-mode (see the
other thread posted on 30th October) to publish the notes with
relations and attributes (tagging, categorizing) etc.  in Plone
(gnowsys currently uses Zope/Plone for webservices).

It is high time that we should work on a emacs-engine (as a
webservice) that performs elisp functions so that several of the org
functions can be used independently.  This will proliferate org's use
beyond imagination.

Doesn't such an emacs-engine already exist?  Couldn't we use emacs in
batchmode to achieve this?  Any guidance is welcome.

Nagarjuna

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

Eric Schulte | 1 Oct 2009 03:43
Picon
Gravatar

Re: Re: Is there a good way to use org as blog system?

"Nagarjuna G." <nagarjun <at> gnowledge.org> writes:

> org offers multiple ways of solving problems.  worg, blorg, and
> Manoj's perl script, and I am sure there will be others.  I am  now
> thinking on the following idea:
>
> Using the new features (babel) added in the fresh release of org, it
> is indeed possible to provide a minor mode in gnowsys-mode (see the
> other thread posted on 30th October) to publish the notes with
> relations and attributes (tagging, categorizing) etc.  in Plone
> (gnowsys currently uses Zope/Plone for webservices).
>
> It is high time that we should work on a emacs-engine (as a
> webservice) that performs elisp functions so that several of the org
> functions can be used independently.  This will proliferate org's use
> beyond imagination.
>

I started down this path some months ago and generated the following as
a sort of tentative exploration

http://github.com/eschulte/simple-server

which makes use of

http://www.emacswiki.org/emacs/EmacsEchoServer

and httpd.el at http://emarsden.chez.com/downloads/

It is certainly possible to go further...
(Continue reading)

Bill Powell | 1 Oct 2009 03:47
Favicon
Gravatar

HTML export: How to export body only, as HTML "fragment"?

Hi! First off, thanks to all for this amazing org-mode.

Second, sorry if this posts twice. I've just joined the
list, and may have messed up. :)

I've just come in and seen the thread on using org-mode for
blogging. Actually, I'd like to set up org-mode publishing
mode to work with the blogging program called pyblosxom. The
HTML export that works out-of-the-box is almost perfect, but
I need to:

- get HTML export to just convert the text to HTML,
  without wrapping a template and <head> and <html> and
<body> tags around it. I can't find an option to do this,
but it seems like if there isn't one, it should be fairly
easy to implement. Pyblosxom needs HTML fragments so it can
wrap my custom templates with dynamic title lists, etc.

- tell org-mode to export the first few lines without
  touching them. Pyblosxom uses these lines to store things
like the title, the tag list, and other variables. This
pyblosxom "header" looks like this:

First line is the title.
#tags meta,about
#blurb A pyblosxom variable line begins with #.

HTML Export will slurp lines that begin with # by default:
is there a way to turn this feature off?

(Continue reading)

Samuel Wales | 1 Oct 2009 04:03
Picon

Re: gnowsys-mode a major mode extending org

On Tue, Sep 29, 2009 at 21:49, Nagarjuna G. <nagarjun <at> gnowledge.org> wrote:
> Isn't adding an ID marker same as creating node with properties.  It

No.

In this case Node = graph theory and Entry = org headline.

ID markers turn non-entries into nodes.

Never mind; it was just something i thought you might want.

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

Tim O'Callaghan | 1 Oct 2009 04:29
Picon

Re: Feature Request: "Keeping me honest"

Small update. Fixes the problem of the highlighting not disappearing
when headline is fixed.

- Still has some issues with removing highlighting when TODO becomes
something else.

- Added new default verbs:
TODO, NEXT -> Call, Email, Fix, Find, Fill out, Give, Print, Re-Do, Take
PROJECT -> Configure, Draft, Purge, Gather

Enjoy,

Tim.
Attachment (org-action-verbs.el): application/emacs-lisp, 5761 bytes
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Matt Lundin | 1 Oct 2009 05:06

Re: HTML export: How to export body only, as HTML "fragment"?

Bill Powell <bill <at> billpowellisalive.com> writes:

> - get HTML export to just convert the text to HTML,
>   without wrapping a template and <head> and <html> and
> <body> tags around it. I can't find an option to do this,
> but it seems like if there isn't one, it should be fairly
> easy to implement. Pyblosxom needs HTML fragments so it can
> wrap my custom templates with dynamic title lists, etc.

There are BODY-ONLY arguments for both org-export-as-html and
org-export-region-as-html.

Here's an example provided in the docstring of
org-export-region-as-html:

,----
|   (setq html (org-export-region-as-html beg end t 'string))
`----

Best,
Matt

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

Sebastian Rose | 1 Oct 2009 05:25
Picon
Picon

Re: A simpler remember architecture (was: Re: Re: is there a hook to save a remember buffer?)


Yes, good concept.

> yes
>
>> - possibility to 'pick file/topic first then remember'
>
> No. The idea would be that you refile then or later.

No problem for me. I don't remember a case, when I had to change the
tempalte or target after filling it.

And still, there is `org-remember-goto-last-stored' as well as the
option to always go there after finalizing.

  Sebastian

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

Sebastian Rose | 1 Oct 2009 05:55
Picon
Picon

Re: Two question about org-mode?

Water Lin <WaterLin <at> ymail.com> writes:
> First, I am using item list like this in my org file:
> ----------------
> 1. test
>   1) test
>   2) test
>   3) test
>
> 2. test2
>
> 3. test3
> ----------------
> I don't know why my webpage looks like this after exported:
> ----------------
> 1. test
>   1. test
>   2. test
>   3. test
>
> 2. test2
> ---------------
>
> Why the 1) 2) 3) can't keep the right parenthes in item list order?

Because it's exported as simple XHTML. The list style is not
handmade. If it was, it would look like this:

 1. test
   1. 1) test
   2. 2) test
(Continue reading)

Sebastian Rose | 1 Oct 2009 06:09
Picon
Picon

Re: A question about inlined images

Water Lin <WaterLin <at> ymail.com> writes:
> Acoording to reference
>
> http://orgmode.org/manual/Inlined-images.html#Inlined-images
>
> , I can insert images to my org.
>
> But after I export the org file to html, I get a page whoes images are
> all aligned at the right side.
>
> How can I control the image css style?

Nowadays, you need to add this to the options section (top) of you
Org-mode file:

#+STLYE:  div.figure p { text-align: left; }

I think this not a feature, but annoying. The <div><p> element prevents
individual aligned images and has to go IMHO.

Sebastian

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


Gmane