emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Maus <dmaus@ictsoc.de>
To: Orgmode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: patch to org-refile for more accurate completing-read
Date: Wed, 08 Feb 2012 20:21:04 +0100	[thread overview]
Message-ID: <87ipjhxhb3.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <CAM=K+irwGeZv2yBt=anjmTWP0ZubE2aY3=85orPPZ73RjBQ++w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 68 bytes --]

Resend Le Wang's patch as text/plain, so patchtracker picks it up.


[-- Attachment #2: org.el.diff --]
[-- Type: text/plain, Size: 459 bytes --]

diff --git a/lisp/org.el b/lisp/org.el
index 7a68b73..ccdcace 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -10625,7 +10625,8 @@ prefix argument (`C-u C-u C-u C-c C-w')."
 				       (t (concat "Refile subtree \""
 						  heading-text "\" to")))
 				 default-buffer
-				 org-refile-allow-creating-parent-nodes
+				 (and (not (equal '(4) goto))
+				      org-refile-allow-creating-parent-nodes)
 				 goto))))))
 	  (setq file (nth 1 it)
 		re (nth 2 it)

      reply	other threads:[~2012-02-08 19:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-27 14:44 patch to org-refile for more accurate completing-read Le Wang
2012-01-27 23:42 ` Bernt Hansen
2012-01-28  8:51   ` Le Wang
2012-02-08 19:21     ` David Maus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ipjhxhb3.wl%dmaus@ictsoc.de \
    --to=dmaus@ictsoc.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).