From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noorul Islam K M Subject: Re: Don't create marker if target is entire file. Date: Tue, 06 Jul 2010 11:47:32 +0530 Message-ID: <87sk3xdthf.fsf@noorul.maa.corp.collab.net> References: <8739vzpqx1.wl%dmaus@ictsoc.de> <1278358114-1212-1-git-send-email-dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=47067 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OW1UU-0006hV-Bi for emacs-orgmode@gnu.org; Tue, 06 Jul 2010 02:18:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OW1UO-0007nf-Ds for emacs-orgmode@gnu.org; Tue, 06 Jul 2010 02:18:46 -0400 Received: from mail-px0-f169.google.com ([209.85.212.169]:46365) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OW1UO-0007nP-7o for emacs-orgmode@gnu.org; Tue, 06 Jul 2010 02:18:40 -0400 Received: by pxi7 with SMTP id 7so1313419pxi.0 for ; Mon, 05 Jul 2010 23:18:38 -0700 (PDT) In-Reply-To: <1278358114-1212-1-git-send-email-dmaus@ictsoc.de> (David Maus's message of "Mon, 5 Jul 2010 21:28:34 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: David Maus Cc: emacs-orgmode@gnu.org David Maus writes: > * org-agenda.el (org-agenda-bulk-action): Don't create marker for > position if target is entire file. > > If the target of a bulk refile operation is the entire file, > `org-refile-get-location' returns nil for the refile position. > Creating a marker for the target file's buffer at position nil returns > a marker that points nowhere (Cf. GNU Emacs Lisp Reference Manual, > 31.6). `org-refile' adds headings to level 1 if the target position > for the target file is nil -- and hence a marker that points nowhere > is not nil, tries to jump to nowhere. Does this patch fix bulk refile issue that you faced? Thank you! Noorul