Re: [O] PATCH Make org-open-at-point only ask once

2011-10-06 Thread Anders Waldenborg
For the record, I'm below the limit of a cumulative change of 20 non-repetitive change lines. On Thu, Oct 06, 2011 at 10:54:10AM +0200, Carsten Dominik wrote: > OK, I have accepted the patch. Thanks > > - Carsten > > On Oct 6, 2011, at 10:43 AM, Anders Waldenborg wrote: &

Re: [O] PATCH Make org-open-at-point only ask once

2011-10-06 Thread Anders Waldenborg
here are multiple targets, but unfortunately I got busy with other things. anders -- commit 54702f063ae2df48dec7f9feb80859a6b64002a4 Author: Anders Waldenborg Date: Sat Aug 27 21:18:46 2011 +0200 Make org-open-at-point only ask once whether new header should be created. When fo

Re: [O] PATCH Make org-open-at-point only ask once

2011-08-29 Thread Anders Waldenborg
On Mon, Aug 29, 2011 at 11:36:19AM +0200, Nicolas Goaziou wrote: > Maybe we should define a consistent link search: ignore the narrowing > but first search in current sub-tree, if that fails (any error, I guess) > search in current tree and if that one fails too, search in the whole > buffer. So s

Re: [O] PATCH Make org-open-at-point only ask once

2011-08-29 Thread Anders Waldenborg
On Mon, Aug 29, 2011 at 09:14:13AM +0200, Nicolas Goaziou wrote: > Yes, imposing widening to the user is intrusive. Moreover, I think you > cannot avoid to call org-link-search twice (once it has failed): the > point is to do a local search and then a global one. Yes, "local then global" search ma

[O] PATCH Make org-open-at-point only ask once

2011-08-28 Thread Anders Waldenborg
nk-search once. But it is much more intrusive. anders ;; simple testcase to show the bug (progn (insert "* A\n\n* B\n\n[[A]]") (org-narrow-to-subtree) (org-open-at-point)) commit 54702f063ae2df48dec7f9feb80859a6b64002a4 Author: Anders Waldenborg Date: Sat Aug 27 21:18:46 2011 +0

Re: [O] Personal wiki

2011-07-29 Thread Anders Waldenborg
On Tue, Jul 26, 2011 at 02:51:08AM +0200, Bastien wrote: > > Right. The difference is that aw-org-pw re-narrows when navigating to > > a different section. Maybe that is a feature that would be useful > > directly in org instead. Maybe pre/post-link-follow hooks could do > > that? When investigati

Re: [O] Personal wiki

2011-07-24 Thread Anders Waldenborg
On Sun, Jul 24, 2011 at 09:22:57PM +0200, Bastien wrote: > Org has `C-x n s' to narrow to a subtree. Right. The difference is that aw-org-pw re-narrows when navigating to a different section. Maybe that is a feature that would be useful directly in org instead. Maybe pre/post-link-follow hooks cou

[O] Personal wiki

2011-07-23 Thread Anders Waldenborg
[*] A section is the contents of a first level heading. anders aw-org-pw.el --- personal wiki major mode derived from org-mode. ;; ;; Copyright (C) 2011 Anders Waldenborg ;; ;; Author: Anders Waldenborg ;; Keywords: outlines, calendar, wp ;; Version: 0.2 ;; ;; This file NOT is part of GNU Emacs. ;

Re: [O] [Orgmode] Deriving mode from org-mode

2011-07-17 Thread Anders Waldenborg
a simple way. Hopefully I can clean it > > up a little bit soon and publish it. > > That'd be great, thanks! Here it is, after a "slight" delay. anders aw-org-pw.el --- personal wiki major mode derived from org-mode. ;; ;; Copyright (C) 2011 Anders Waldenborg ;;

Re: [Orgmode] Deriving mode from org-mode

2011-02-22 Thread Anders Waldenborg
On 02/22/2011 10:34 AM, Carsten Dominik wrote: Sorry for following up on my own mail. I want to add a pointer to the documentation for org-wikinodes.el: http://orgmode.org/worg/org-contrib/org-wikinodes.html Thanks. I've already seen that - I'm not very interesed in camelcase links. However

Re: [Orgmode] Deriving mode from org-mode

2011-02-22 Thread Anders Waldenborg
On 02/15/2011 05:11 AM, Bastien wrote: (org-mode-p) does the advertized job: checking whether we are in org-mode major mode. It would be confusing to also check against org derived modes, at least with that function's name. Agreed. Just hope it isn't used like that in other places. [] Fixed

[Orgmode] Deriving mode from org-mode

2011-02-14 Thread Anders Waldenborg
Hi, isn't creating a new major mode derived from org-mode supported? I guess that part of the problem is that org-mode-p doesn't use derived-mode-p. For example: (define-derived-mode org-derived-mode org-mode "Org-Derived") and then create a new buffer using org-derived-mode and enter a so