From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sylvain Rousseau Subject: [bug] Refile to file when 'full-file-path Date: Wed, 20 Jun 2012 15:58:16 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=bcaec54b49d6707e7904c2e7ca95 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShLQS-0001BO-Ja for emacs-orgmode@gnu.org; Wed, 20 Jun 2012 09:58:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ShLQK-0006g2-B2 for emacs-orgmode@gnu.org; Wed, 20 Jun 2012 09:58:28 -0400 Received: from mail-lb0-f169.google.com ([209.85.217.169]:59283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShLQK-0006fC-0a for emacs-orgmode@gnu.org; Wed, 20 Jun 2012 09:58:20 -0400 Received: by lbjn8 with SMTP id n8so812876lbj.0 for ; Wed, 20 Jun 2012 06:58:16 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode --bcaec54b49d6707e7904c2e7ca95 Content-Type: multipart/alternative; boundary=bcaec54b49d6707e7504c2e7ca93 --bcaec54b49d6707e7504c2e7ca93 Content-Type: text/plain; charset=ISO-8859-1 Hi, i wanted to refile to files that have the same name so I set 'org-refile-use-outline-path to 'full-file-path. Targets as files are not available anymore! Here is a patch that fixes it. Sylvain. --bcaec54b49d6707e7504c2e7ca93 Content-Type: text/html; charset=ISO-8859-1 Hi,

i wanted to refile to files that have the same name so I set 'org-refile-use-outline-path to 'full-file-path. Targets as files are not available anymore!

Here is a patch that fixes it.


Sylvain.

--bcaec54b49d6707e7504c2e7ca93-- --bcaec54b49d6707e7904c2e7ca95 Content-Type: application/octet-stream; name="0001-Refiling-Fix-targets-when-using-full-file-path.patch" Content-Disposition: attachment; filename="0001-Refiling-Fix-targets-when-using-full-file-path.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_h3ogtl9u1 RnJvbSBlZTg5YzgwM2IyYjc1NDc5NzkwODVjZTRlY2ZhMWM0YTlkN2UyNjljIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiB0aGlzaXJzIDx0aGlzaXJzQGdtYWlsLmNvbT4KRGF0ZTogV2Vk LCAyMCBKdW4gMjAxMiAxNDoyOTozMCArMDIwMApTdWJqZWN0OiBbUEFUQ0hdIFJlZmlsaW5nOiBG aXggdGFyZ2V0cyB3aGVuIHVzaW5nICdmdWxsLWZpbGUtcGF0aAoKKiBsaXNwL29yZy5lbDogKG9y Zy1yZWZpbGUtZ2V0LXRhcmdldHMpOiBGaXggdGFyZ2V0cyB3aGVuIHVzaW5nCiAgJ2Z1bGwtZmls ZS1wYXRoLgoKV2hlbiBgb3JnLXJlZmlsZS11c2Utb3V0bGluZS1wYXRoJyBpcyBzZXQgdG8gJ2Z1 bGwtZmlsZS1wYXRoIHRoZSBmaWxlCnRhcmdldCBpcyBubyBsb25nZXIgYWNjZXNzaWJsZS4KClRJ TllDSEFOR0UKLS0tCiBsaXNwL29yZy5lbCB8ICAgIDMgKystCiAxIGZpbGUgY2hhbmdlZCwgMiBp bnNlcnRpb25zKCspLCAxIGRlbGV0aW9uKC0pCgpkaWZmIC0tZ2l0IGEvbGlzcC9vcmcuZWwgYi9s aXNwL29yZy5lbAppbmRleCBiODk4ODlkLi4wYjQ4MTJmIDEwMDY0NAotLS0gYS9saXNwL29yZy5l bAorKysgYi9saXNwL29yZy5lbApAQCAtMTA1NTYsNyArMTA1NTYsOCBAQCBvbiB0aGUgc3lzdGVt IFwiL3VzZXJAaG9zdDpcIi4iCiAJCQkJCShidWZmZXItYmFzZS1idWZmZXIgZikpKSkKIAkgICAg ICAgK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