[Orgmode] Re: Don't create marker if target is entire file.

2010-07-06 Thread Noorul Islam K M
David Maus dm...@ictsoc.de 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

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Don't create marker if target is entire file.

2010-07-06 Thread David Maus
Noorul Islam K M wrote:
David Maus dm...@ictsoc.de 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?

It does; and as soon as the patch is reviewed it might get accepted.

Best,
  -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpXJVzoWwi6Q.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode