Sebastian Rose | 1 Sep 01:08 2010
Picon
Picon

Re: org-capture and firefox/org-protocol

Richard Riley <rileyrg <at> gmail.com> writes:
> My firefox key to call org-capture now causes my emacs server to
> produce:
>
> ,----
> | Greedy org-protocol handler. Killing client.
> | No server buffers remain to edit
> `----

This is in your *Messages* buffer, isn't it?
It doesn't cause any trouble, does it?

Those are just two messages to assure the author of a custom handler,
that there will be no emacsclient waiting for a  `C-x #'
(`server-edit').

   Sebastian

> It works fine from a bookmark link button.
>
> I have no custom handlers (org-protocol-protocol-alist is nil).
>
> I checked the code in my firefox config is the same as on the Worg.
>
> Is there something else that needs to be configured now?
>
> regards
>
> r.

(Continue reading)

Sebastian Rose | 1 Sep 01:20 2010
Picon
Picon

Re: Org-protocol / Chrome on Linux

Mattias Jämting <mattias <at> jwd.se> writes:
> Hello,
>
> Have someone managed to get org-protocol (
> http://orgmode.org/worg/org-contrib/org-protocol.php) working in chrome on
> linux (i use ubuntu) ?
>
> (I have tried; it works in firefox, but not in chrome - which is my
> preferred browser nowadays.)
>
> Please let my know if it works for you, or if you have any hints on setting
> it up.

Do you have Gnome libs installed?  On a current GNU/Linux you could
install protocol handlers for all programs as explained in

  http://orgmode.org/worg/org-contrib/org-protocol.php#sec-3_1

I don't know how to setup protocols with Chrome, but once you have done
that, restarting Chrome and clicking one of the test links should work:

  http://orgmode.org/worg/org-contrib/org-protocol.php#sec-3_4

Please report back if you get it to work.   Maybe you could even provide
a little description we could add to the docs.

HTH

  Sebastian

(Continue reading)

Sebastian Rose | 1 Sep 02:15 2010
Picon
Picon

[Patch] org-protocol default template should be nil

Hi Carsten,

this little patch fixes an issue Richard brought up.

We always used the "w" template as the default for `org-remember' and
also used it for `org-capture' for historical reasons.

Unfortunately, this breaks, if the user has no "w" template defined.

The patch below simply set's the custom variable
`org-protocol-default-template-key' to nil, so the interactive template
selection is used by default.  This works for both, remember an capture.

I will adjust the docs, once the patch is applied.


Thanks,

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

Aidan Gauland | 1 Sep 02:19 2010
Picon

Re: Bug: Impossible to have right bracket in footnotes [7.01trans]

Thanks!  That works fine.  I suppose I should point out that I only used =
an
ASCII export for the example situation, but I ran into this problem expor=
ting
to HTML.

--Aidan Gauland

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Aidan Gauland | 1 Sep 02:29 2010
Picon

Re: Bug: Impossible to have right bracket in footnotes [7.01trans]

Alan L Tyree wrote:
> Disable footnotes like [2010], but keep footnotes like [fn:2010]
> 
> The reason is that I write legal texts that have references to case law
> that look like: Marreco v Richardson [1908] 2 KB 584. The dates in
> square brackets are an essential part of the reference.

Perhaps it would be best to determine for what type of writing the current way
Org handles footnotes is lacking.  Is it just academic writing in general, of
mostly only certain fields?  Both Alan and I have needed to use a workaround
for legal writing (I'm a first-year student; don't know about Alan).  What
have other people had trouble footnoting/citing in Org?

--Aidan

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Scott Randby | 1 Sep 03:02 2010
Picon

Re: HTML Export Problem

On 08/30/2010 10:10 PM, Nick Dokos wrote:
> Scott Randby <srandby <at> gmail.com> wrote:
> 
>> Whenever I export to HTML, I get the following:
>>
>> HTML generated by org-mode TAG=7.01g in emacs 23
>>
>> I would like to get rid of the "TAG=" (which wasn't present in earlier
>> org-mode versions) without having to edit the HTML.
>> How do I do this?
>>
> 
> This was fixed on Aug. 7, so you need to get a more recent version (I
> think 7.01h had it fixed.)

Thanks, I'll upgrade sometime. I just realized I have one machine that
has 6.36c and another machine that has 7.01g. I might as well upgrade
both at the same time.

Scott

> 
> See http://thread.gmane.org/gmane.emacs.orgmode/27988
> 
> Nick
> 

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
(Continue reading)

Richard Riley | 1 Sep 07:10 2010
Picon

Re: [Patch] org-protocol default template should be nil


I dont know if its related but something has broken the use of

,----
| org-default-notes-file is a variable defined in `org.el'.
| Its value is "refile.org"
| 
| Documentation:
| Default target for storing notes.
| Used as a fall back file for org-remember.el and org-capture.el, for
| templates that do not specify a target file.
`----

for me too. I tend not to specify a destination file in my templates and
instead refile at a later date (hence the variable above is set to refile.org).

Now I get a backtrace :-

,----
| Debugger entered--Lisp error: (error "Not enough arguments for format string")
|   format("^\\(\\*+\\)[
	]+\\(?:\\(TODO\\|STARTED\\|WAITING\\|DONE\\|CANCELLED\\|REPORT\\|BUG\\|KNOWNCAUSE\\|FIXED\\)\\>\\)?\\(?:[
	]*\\(\\[#.\\]\\)\\)?\\(?:[ 	]*\\(?:\\[[0-9%%/]+\\]\\)\\)?[ 	]*\\(%s\\)\\(?:[
	]*\\(?:\\[[0-9%%/]+\\]\\)\\)?\\(?:[ 	]+\\(:[[:alnum:]_ <at> #%:]+:\\)\\)?[ 	]*$" "Tasks To Refile")
|   org-capture-set-target-location()
|   org-capture(nil)
|   call-interactively(org-capture nil nil)
`----

As a side note it was a bit of a misnomer. Possibly the storage should
(Continue reading)

David Maus | 1 Sep 07:33 2010
Picon

Re: Not enough arguments for format string

Sébastien Vauban wrote:
>Hello,

>Just came back of holidays, did not have time yet for reading the posts on the
>ML, but git pull'ed the master branch.

>When refiling, I now have this error coming up:

Fixed in master.

Best,
  -- David
--

-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena <at> jabber.org
Email..... dmaus <at> ictsoc.de
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
David Maus | 1 Sep 07:55 2010
Picon

Re: exec code on task state progression

Richard Riley wrote:

>What would be the best approach, if at all possible, to having org
>manage tasks which allow me set dates for a task to be scheduled and
>then let me manually progress/cycle that task and have it then invoke
>code/scripts?

Maybe something like this: Store the name of the function to be
executed in a property and define a function which is run in
`org-after-todo-state-change-hook' that reads this property and
executes the function if, say, the state was changed to "DONE".

(defun dmj:execute-func-after-todo-change ()
  "Execute function in exec_func property if entry changes to DONE."
  (when (string= state "DONE")
    (let ((func (intern (org-entry-get nil "exec_func"))))
      (if (fboundp func) (funcall func)))))

(add-hook 'org-after-todo-state-change-hook 'dmj:execute-func-after-todo-change)

For the update part you might want to look at el-get.el[1]:

,----
| Short Story: el-get allows you to install and manage elisp code for
| Emacs. It supports lots of differents types of sources and is able to
| install them, update them and remove them, but more importantly it
| will init them for you.
|
| That means it will care about require ing the features you need, load
| ing the files, setting the Info paths so that C-h i shows the new
(Continue reading)

Noorul Islam K M | 1 Sep 08:34 2010

Re: cannot enable org-habit

Joseph Buchignani <joseph.buchignani <at> gmail.com> writes:

> Hi Org-mode,
>
> I've read all the mailing lists and manuals and still can't get my org-habit
> module working.
>
> I presume there ought to be some sort of entry in my agenda, or the "k" key
> should do something. I get nothing. Here is my setup:
>
>
>    - org-mode 7.01h
>    - emacs file included below.
>
> The relevant portion is (add-to-list 'org-modules 'org-habit), which I have
> enabled in my .emacs, to no avail.
>
> What am I missing?

In the org-file do you have the property STYLE set has `habit' for the
TODO Item?

Thanks and Regards
Noorul

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


Gmane