From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 27 03:50:28 2012 Received: (at submit) by debbugs.gnu.org; 27 Feb 2012 08:50:28 +0000 Received: from localhost ([127.0.0.1]:58867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S1wHs-0004KM-6H for submit@debbugs.gnu.org; Mon, 27 Feb 2012 03:50:28 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43200) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S1wHp-0004KF-S6 for submit@debbugs.gnu.org; Mon, 27 Feb 2012 03:50:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S1wF0-00064O-B8 for submit@debbugs.gnu.org; Mon, 27 Feb 2012 03:47:35 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:52932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1wF0-00064K-84 for submit@debbugs.gnu.org; Mon, 27 Feb 2012 03:47:30 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1wEu-0000mi-4v for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 03:47:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S1wEl-00063O-MQ for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 03:47:23 -0500 Received: from plane.gmane.org ([80.91.229.3]:58588) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1wEl-00063E-Fu for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 03:47:15 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S1wEh-0004hc-4g for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 09:47:11 +0100 Received: from lbe83-2-78-243-104-167.fbx.proxad.net ([78.243.104.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Feb 2012 09:47:11 +0100 Received: from thierry.volpiatto by lbe83-2-78-243-104-167.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Feb 2012 09:47:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Thierry Volpiatto Subject: copy-directory create new directory when copying a symlink Date: Mon, 27 Feb 2012 09:47:02 +0100 Lines: 32 Message-ID: <874nuchddl.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lbe83-2-78-243-104-167.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:7m7iFs+PH93gUTU8Id5T8eOmY24= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) Hi all, when copying a directory symlink to another directory, the behavior of 'cp' is to create a new symlink in this directory: --8<---------------cut here---------------start------------->8--- thierry@thierry-MM061:~ $ mkdir ~/Test thierry@thierry-MM061:~ $ mkdir ~/tmp/Test1 thierry@thierry-MM061:~ $ ln -s ~/tmp/Test1 ~/tmp/foo thierry@thierry-MM061:~ $ cp -r ~/tmp/foo ~/Test thierry@thierry-MM061:~ $ ls -l ~/Test total 0 lrwxrwxrwx 1 thierry thierry 23 2012-02-27 09:08 foo -> /home/thierry/tmp/Test1 --8<---------------cut here---------------end--------------->8--- It is not what's copy-directory does: --8<---------------cut here---------------start------------->8--- (copy-directory "~/tmp/foo" "~/Test" nil t) => thierry@thierry-MM061:~ $ ls -l ~/Test total 4 drwxrwxr-x 2 thierry thierry 4096 2012-02-27 09:11 foo --8<---------------cut here---------------end--------------->8--- NOTE: I am not sending this bug-report via report-emacs-bug due to its last silly modifications. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 27 04:14:40 2012 Received: (at 10897) by debbugs.gnu.org; 27 Feb 2012 09:14:40 +0000 Received: from localhost ([127.0.0.1]:58900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S1wfI-0004va-Cj for submit@debbugs.gnu.org; Mon, 27 Feb 2012 04:14:40 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:38320) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S1wfE-0004vO-Mh for 10897@debbugs.gnu.org; Mon, 27 Feb 2012 04:14:38 -0500 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1S1wcK-0004fi-TK; Mon, 27 Feb 2012 10:11:36 +0100 From: Lars Magne Ingebrigtsen To: Thierry Volpiatto Subject: Re: bug#10897: copy-directory create new directory when copying a symlink References: <874nuchddl.fsf@gmail.com> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEXx8e2rqbJyXGbHxMiX lpuFfuCVAAACQUlEQVQ4jXVT62HzMAgknzyAiRigdjWAFDSAkdh/pu+w3bT9UeXhhNPxOID2Pw79 DRhnIkpKqTWBxccXILxSqsBqalkbrik1JU5NObuvbiAKnt64WSXhbsrmXTxTgtXdMpi0NPY43EDp ngEM/GPKYmGfNa77SvQQgd2oPbw4uyXEFEWY5txdMlWVfb7GMZATB5DctCD4rK99DuRewiPyrwui TKJco6qxD4T0McpB/7ZPMdSrvG/7KxgFxLItfZ/5BKTs+wIA7ryUYnlJ+14pK5fzvgMfZXevpOEx XF2R4xFP89rbDFfbazszGmdioVntAMQ/8QnA71PDSL11h6hwEPkKXtBl8U6ydkv+68zaXckuceX9 BTLEYrIVkrn1UL5fl5zFE0S8HZnVm33GJ7zRnyAMWcvljuLEFDR7wrJDM8/9C4gWLHLe5KMbvxnB Wa6MGi08b0Y9OYa0IhkAazo1QaPTbPVxFWFo+vrIivb1RN2WmA+706yN8wFgIbFe6a1GZYxhAJ3G lJXkC1hVVQJoJJMTPcc1JD61JlxMDyafDUBxdGmgJVnFGECm1TJpaDSig9Esy6AxjFPXu6mXtyQ1 gxGDqp2ePxuLwc4I7kfXU7uLECol+Edpa0b5/U04AaTLD/wuR4q9NLV8KZtIKppIejyZUUDVGzj7 kfxVPlDGsA0jUOn7tKQJoy0rNvgXgC1PDSGOxQUCfUOKLWN1m88YxxDxPtZ8HBWbg8EfpukNxCpP klyrbf4zBjKrWAcE2wvfwH8xKaxKZV01uAAAAABJRU5ErkJggg== X-Now-Playing: Polmo Polpo's _Kiss Me Again and Again_: "Kiss Me Again and Again" Date: Mon, 27 Feb 2012 10:11:35 +0100 In-Reply-To: <874nuchddl.fsf@gmail.com> (Thierry Volpiatto's message of "Mon, 27 Feb 2012 09:47:02 +0100") Message-ID: User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1S1wcK-0004fi-TK X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1330938696.97308@fnSMuotJ4kc/318I7cM06w X-Spam-Status: No X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10897 Cc: 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Thierry Volpiatto writes: > I am not sending this bug-report via report-emacs-bug due to its last > silly modifications. Which ones? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 27 04:33:54 2012 Received: (at 10897) by debbugs.gnu.org; 27 Feb 2012 09:33:54 +0000 Received: from localhost ([127.0.0.1]:58947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S1wxq-0006yS-9q for submit@debbugs.gnu.org; Mon, 27 Feb 2012 04:33:54 -0500 Received: from mail-wi0-f172.google.com ([209.85.212.172]:43692) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S1wxj-0006yG-KT for 10897@debbugs.gnu.org; Mon, 27 Feb 2012 04:33:49 -0500 Received: by wicr5 with SMTP id r5so569194wic.3 for <10897@debbugs.gnu.org>; Mon, 27 Feb 2012 01:30:52 -0800 (PST) Received-SPF: pass (google.com: domain of thierry.volpiatto@gmail.com designates 10.180.94.68 as permitted sender) client-ip=10.180.94.68; Authentication-Results: mr.google.com; spf=pass (google.com: domain of thierry.volpiatto@gmail.com designates 10.180.94.68 as permitted sender) smtp.mail=thierry.volpiatto@gmail.com; dkim=pass header.i=thierry.volpiatto@gmail.com Received: from mr.google.com ([10.180.94.68]) by 10.180.94.68 with SMTP id da4mr25931101wib.22.1330335052880 (num_hops = 1); Mon, 27 Feb 2012 01:30:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=dkN9jIsZ/+fvf3ItrVju+w+8BMHZevfz0hU+H1OftkY=; b=ofRkr7ukUXD5m59R2PqLefMoCgM9hL7zy/k0PBNZuvla4Lt0ApLK/ClgQzapVyLBvQ CJDEc0eauWt2XbucLfOvpKIeZq+LbKlYwoc7MouXS0QkzuhbHvJRzpqlbCue+dWDiUCL 60kDWzFVpwJ7oOiMNxJ9H97zva/fZGwaKNk8c= Received: by 10.180.94.68 with SMTP id da4mr20562340wib.22.1330335052798; Mon, 27 Feb 2012 01:30:52 -0800 (PST) Received: from thierry-MM061 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id s4sm44931814wiy.5.2012.02.27.01.30.51 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 27 Feb 2012 01:30:52 -0800 (PST) From: Thierry Volpiatto To: Lars Magne Ingebrigtsen Subject: Re: bug#10897: copy-directory create new directory when copying a symlink References: <874nuchddl.fsf@gmail.com> Date: Mon, 27 Feb 2012 10:30:49 +0100 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 27 Feb 2012 10:11:35 +0100") Message-ID: <87zkc4fws6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10897 Cc: 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Lars Magne Ingebrigtsen writes: > Thierry Volpiatto writes: > >> I am not sending this bug-report via report-emacs-bug due to its last >> silly modifications. > > Which ones? I just want to 'C-c C-c' like before, I don't want to be asked what to do as I don't know what answering. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 27 05:35:18 2012 Received: (at 10897) by debbugs.gnu.org; 27 Feb 2012 10:35:18 +0000 Received: from localhost ([127.0.0.1]:59037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S1xvK-0008RB-1g for submit@debbugs.gnu.org; Mon, 27 Feb 2012 05:35:18 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:38534) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S1xvG-0008R2-TF for 10897@debbugs.gnu.org; Mon, 27 Feb 2012 05:35:16 -0500 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1S1xsM-0001hc-Dt; Mon, 27 Feb 2012 11:32:14 +0100 From: Lars Magne Ingebrigtsen To: Thierry Volpiatto Subject: Re: bug#10897: copy-directory create new directory when copying a symlink References: <874nuchddl.fsf@gmail.com> <87zkc4fws6.fsf@gmail.com> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUMBATeqW8dDQyFRiYJ AgNFIxlw756WAAACWUlEQVQ4jU2U0dKjIAyFs4gPQB3v+XFzX8lw7+z4ABQm7/8qe4K2/TPTCnxy coxEKpHIRfxRcqzaXovsQfZM9SR/kAUuXLCK2MNCf88rjsMfp9MLIMifv8LPX/A8T/qF+AMe/oT+ Aa2R6Hi9QfYzN+hhbaCfNyDfWzO149L6AP9PSoOhO9PxC+xL9p8NX3Aeeyh0vG37D5AmZaOv4wss ncJS6oZy+CHmL1fyIAJ12TbcagM8nwYCm6mj9QR05Xh6A+U8Z8kUdtEW2wWwH4J+3kVSCAob668d 4qew9h5C65nLBcjAepLkcwshce43OAw8Dpqi2STSoncOA0+6q0oUnY6yZ2/JaZA/SK6VNhZReDTA j4RADpGSXs0mmhJKMt07FsGdrzFhHKfwmKqNXyicJvpZMXZcsSPzuAk1gwY5MZCag1TPWGHYTozr bhNVprAO2amH5hLUX9XF7UnOqnvJQsMM9ZrcXikZWCC6aaYYU2op0rRUN8C6hbyJJlVkwSNswwaO 5GMKZZMCL9FhA81QdTTvC8C6FXUmNOpmLUNuD3Vacm/om8ZptJB1EaUlPOcyKgR91muUmDgseG/3 +hckeJOKJkRKck65YRTZpDar6YyhcwlVTDFZsyJ5D6Iu9kiz6zgseid3hIm00iDOXcbbY1hRpa4x RbQIF1tHwHxLTQmPmiq31BdbxevNrmFHJ25O61TQ4FjHN0FQwIQzSQ1PVSe5YyklbwknpVEvrLW/ gRTOzL0hORfmykOlGNmKUeRQ3G2GcHrKjt9WzLkISdF9Hd8Jewhpo26q8h9KyKVWSAThEwAAAABJ RU5ErkJggg== X-Now-Playing: Colourbox's _Colourbox (MAD315CD)_: "The Official Colourbox World Cup Theme 12"" Date: Mon, 27 Feb 2012 11:32:13 +0100 In-Reply-To: <87zkc4fws6.fsf@gmail.com> (Thierry Volpiatto's message of "Mon, 27 Feb 2012 10:30:49 +0100") Message-ID: User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1S1xsM-0001hc-Dt X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1330943534.52965@lT8g8+1LMaVc1sNNh4X5Mw X-Spam-Status: No X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10897 Cc: 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Thierry Volpiatto writes: >>> I am not sending this bug-report via report-emacs-bug due to its last >>> silly modifications. >> >> Which ones? > I just want to 'C-c C-c' like before, I don't want to be asked what to > do as I don't know what answering. `report-emacs-bugs' hasn't changed (much) with regards to sending email. But Emacs itself has changed wrt Email sending. As you seem to be sending your email with Emacs, I'm not quite sure what you mean. Unless you're sending your bug reports with "emacs -Q"? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 27 10:25:33 2012 Received: (at 10897) by debbugs.gnu.org; 27 Feb 2012 15:25:33 +0000 Received: from localhost ([127.0.0.1]:59941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S22S9-0000Ym-HZ for submit@debbugs.gnu.org; Mon, 27 Feb 2012 10:25:33 -0500 Received: from mail-wi0-f172.google.com ([209.85.212.172]:36986) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S22S3-0000YW-TR for 10897@debbugs.gnu.org; Mon, 27 Feb 2012 10:25:28 -0500 Received: by wicr5 with SMTP id r5so784907wic.3 for <10897@debbugs.gnu.org>; Mon, 27 Feb 2012 07:22:31 -0800 (PST) Received-SPF: pass (google.com: domain of thierry.volpiatto@gmail.com designates 10.180.101.228 as permitted sender) client-ip=10.180.101.228; Authentication-Results: mr.google.com; spf=pass (google.com: domain of thierry.volpiatto@gmail.com designates 10.180.101.228 as permitted sender) smtp.mail=thierry.volpiatto@gmail.com; dkim=pass header.i=thierry.volpiatto@gmail.com Received: from mr.google.com ([10.180.101.228]) by 10.180.101.228 with SMTP id fj4mr19882754wib.4.1330356151885 (num_hops = 1); Mon, 27 Feb 2012 07:22:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=xx88g8hVBpcooiaZXP1ZP5tUC1Pv8qeEn4ZKLtcI9I4=; b=UXYQbMcDLURYnnxoo1KrnOJqWQkRc5vc4ZxL8AzeNAjpENKD3mCn4ptkjvax8efS6R pfiGjrQqnpJ3fPxGMCpLx5Zp4bAy8KKZJwrSY1p+6FjL7uJ+QlHfJdG5Ory8ZzuTaxku fJ/Yi42CaCVU25nkDwPStlyD7IKYsZqIfYuCw= Received: by 10.180.101.228 with SMTP id fj4mr15689625wib.4.1330356151778; Mon, 27 Feb 2012 07:22:31 -0800 (PST) Received: from thierry-MM061 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id dw7sm22539441wib.4.2012.02.27.07.22.29 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 27 Feb 2012 07:22:30 -0800 (PST) From: Thierry Volpiatto To: Lars Magne Ingebrigtsen Subject: Re: bug#10897: copy-directory create new directory when copying a symlink References: <874nuchddl.fsf@gmail.com> <87zkc4fws6.fsf@gmail.com> Date: Mon, 27 Feb 2012 16:22:28 +0100 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 27 Feb 2012 11:32:13 +0100") Message-ID: <87ipis47yj.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10897 Cc: 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Lars Magne Ingebrigtsen writes: > Thierry Volpiatto writes: > >>>> I am not sending this bug-report via report-emacs-bug due to its last >>>> silly modifications. >>> >>> Which ones? >> I just want to 'C-c C-c' like before, I don't want to be asked what to >> do as I don't know what answering. > > `report-emacs-bugs' hasn't changed (much) with regards to sending email. > But Emacs itself has changed wrt Email sending. As you seem to be > sending your email with Emacs, I'm not quite sure what you mean. I had to choose for "mail client" "nntp"(not sure) and something else I don't remember. I choose "mail client" and I end with something like "no method provided" > Unless you're sending your bug reports with "emacs -Q"? No. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 03 03:43:44 2012 Received: (at 10897) by debbugs.gnu.org; 3 Mar 2012 08:43:44 +0000 Received: from localhost ([127.0.0.1]:59707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3kYx-00065q-CZ for submit@debbugs.gnu.org; Sat, 03 Mar 2012 03:43:44 -0500 Received: from mail-wi0-f172.google.com ([209.85.212.172]:39086) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3kYS-00064m-Ub for 10897@debbugs.gnu.org; Sat, 03 Mar 2012 03:43:23 -0500 Received: by wicr5 with SMTP id r5so1046650wic.3 for <10897@debbugs.gnu.org>; Sat, 03 Mar 2012 00:42:29 -0800 (PST) Received-SPF: pass (google.com: domain of thierry.volpiatto@gmail.com designates 10.216.132.229 as permitted sender) client-ip=10.216.132.229; Authentication-Results: mr.google.com; spf=pass (google.com: domain of thierry.volpiatto@gmail.com designates 10.216.132.229 as permitted sender) smtp.mail=thierry.volpiatto@gmail.com; dkim=pass header.i=thierry.volpiatto@gmail.com Received: from mr.google.com ([10.216.132.229]) by 10.216.132.229 with SMTP id o79mr823029wei.64.1330764149343 (num_hops = 1); Sat, 03 Mar 2012 00:42:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=9R8+vwPNByrC35x6LNd51ovdEf/xQHrrWHUiF2kA9PE=; b=Bo2pa1uBDx1YLycf/RcGewlYpLms082ltBH3GoyP10jynCzpL/idn4OCB58AI8lzmh hWNnRogUQM6wQ2HW+BhrdgxjdGYBWMEIkFqO4mHzM7umieWmi8CECnFQtxqVEPkSC6ob VgkRi32jHA70hQNLTfPXL1fgY3QAhXPvU3chRKhdAHT3iJu8qubNTpSLwnNSUCbGk/O/ zEJwBNL0/HofTAIRY3DwmajdlzuOb9hX5ZErpGLJlNvpkDHk/7p9FScKez8f2CVPlVaN 6CKw3zde2pIYFiV0rFaf288wRC7fZracawDImhoPchPoGD5btwrQoWRUYP3rbT/d5hDB y7Ug== Received: by 10.216.132.229 with SMTP id o79mr671843wei.64.1330764149248; Sat, 03 Mar 2012 00:42:29 -0800 (PST) Received: from thierry-MM061 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id s4sm23910282wiy.5.2012.03.03.00.42.26 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 03 Mar 2012 00:42:28 -0800 (PST) From: Thierry Volpiatto To: Lars Magne Ingebrigtsen Subject: Re: sending mail via report-emacs-bug References: <874nuchddl.fsf@gmail.com> <87zkc4fws6.fsf@gmail.com> Date: Sat, 03 Mar 2012 09:42:24 +0100 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 27 Feb 2012 11:32:13 +0100") Message-ID: <87obseyt1r.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10897 Cc: 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Lars Magne Ingebrigtsen writes: > Thierry Volpiatto writes: > >>>> I am not sending this bug-report via report-emacs-bug due to its last >>>> silly modifications. >>> >>> Which ones? >> I just want to 'C-c C-c' like before, I don't want to be asked what to >> do as I don't know what answering. > > `report-emacs-bugs' hasn't changed (much) with regards to sending email. > But Emacs itself has changed wrt Email sending. Maybe I am wrong because I can't try without sending a bug-report, so correct me if so. It seem that `report-emacs-bug' is using the value of `send-mail-function' when sending bug reports even if the buffer is a message buffer. The new value of `send-mail-function' is `mailclient-send-it'. Which is not what I want. Why the value of `message-send-mail-function' isn't used there? I set here `message-send-mail-function' to `smtpmail-send-it'. > As you seem to be sending your email with Emacs, I'm not quite sure > what you mean. > > Unless you're sending your bug reports with "emacs -Q"? -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 03 03:50:29 2012 Received: (at 10897) by debbugs.gnu.org; 3 Mar 2012 08:50:29 +0000 Received: from localhost ([127.0.0.1]:59714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3kfd-0006G5-8V for submit@debbugs.gnu.org; Sat, 03 Mar 2012 03:50:29 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:65183) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3kfR-0006FV-Dt for 10897@debbugs.gnu.org; Sat, 03 Mar 2012 03:50:18 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M0A00500WGCNJ00@a-mtaout23.012.net.il> for 10897@debbugs.gnu.org; Sat, 03 Mar 2012 10:49:41 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.14.88]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M0A005V4WISML30@a-mtaout23.012.net.il>; Sat, 03 Mar 2012 10:49:41 +0200 (IST) Date: Sat, 03 Mar 2012 10:49:40 +0200 From: Eli Zaretskii Subject: Re: bug#10897: sending mail via report-emacs-bug In-reply-to: <87obseyt1r.fsf_-_@gmail.com> X-012-Sender: halo1@inter.net.il To: Thierry Volpiatto Message-id: <83aa3yax23.fsf@gnu.org> References: <874nuchddl.fsf@gmail.com> <87zkc4fws6.fsf@gmail.com> <87obseyt1r.fsf_-_@gmail.com> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 10897 Cc: larsi@gnus.org, 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Thierry Volpiatto > Date: Sat, 03 Mar 2012 09:42:24 +0100 > Cc: 10897@debbugs.gnu.org > > I can't try without sending a bug-report Why can't you? just edit the "To" address to your own, before actually sending it, and Bob's your uncle. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 03 04:30:45 2012 Received: (at 10897) by debbugs.gnu.org; 3 Mar 2012 09:30:45 +0000 Received: from localhost ([127.0.0.1]:59737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3lIV-0007BR-2a for submit@debbugs.gnu.org; Sat, 03 Mar 2012 04:30:45 -0500 Received: from mail-wi0-f172.google.com ([209.85.212.172]:52839) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3lID-0007B0-VI for 10897@debbugs.gnu.org; Sat, 03 Mar 2012 04:30:28 -0500 Received: by wicr5 with SMTP id r5so1059785wic.3 for <10897@debbugs.gnu.org>; Sat, 03 Mar 2012 01:29:46 -0800 (PST) Received-SPF: pass (google.com: domain of thierry.volpiatto@gmail.com designates 10.180.24.68 as permitted sender) client-ip=10.180.24.68; Authentication-Results: mr.google.com; spf=pass (google.com: domain of thierry.volpiatto@gmail.com designates 10.180.24.68 as permitted sender) smtp.mail=thierry.volpiatto@gmail.com; dkim=pass header.i=thierry.volpiatto@gmail.com Received: from mr.google.com ([10.180.24.68]) by 10.180.24.68 with SMTP id s4mr2855735wif.22.1330766986176 (num_hops = 1); Sat, 03 Mar 2012 01:29:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=20uO7WTEkReimAoK40cfl5Nh6sUlprFgL/nMJ1ezCn0=; b=0vvM7dtL09FD+N4h6EQRaIxQE0sGlvAoAxWA5kWbdOhIY9+M9PQ+0fyqR48ZVHylhW vXC2hsp48gyDOUWAZxmRGCGT9I3kUJXLxDfKjzgoAJ9Dh+6a+Z1gMWVHbgZibNEfkdWL Gw7M+Z4MpuiF26XhpdqNxBHBl0cO0GFDCHCkxng2Lx5GmzjJ0qGhwqsP6/Op3ujzUxH+ SjZAbfXTxxfQRyWJSoE0x8ba3axyAYqbsdqIJgPqvRr3SO49/8FX9iZwRSgMgw1xmwMZ saTZVjrK5IK826bLqMA9VPEEDEVpB97yE0Mk3vojR9yU/FSZwaiI0GS2ZODN70yVhDpO cNqw== Received: by 10.180.24.68 with SMTP id s4mr2263590wif.22.1330766986079; Sat, 03 Mar 2012 01:29:46 -0800 (PST) Received: from thierry-MM061 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id hb10sm24400738wib.10.2012.03.03.01.29.43 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 03 Mar 2012 01:29:45 -0800 (PST) From: Thierry Volpiatto To: Eli Zaretskii Subject: Re: bug#10897: sending mail via report-emacs-bug References: <874nuchddl.fsf@gmail.com> <87zkc4fws6.fsf@gmail.com> <87obseyt1r.fsf_-_@gmail.com> <83aa3yax23.fsf@gnu.org> Date: Sat, 03 Mar 2012 10:29:41 +0100 In-Reply-To: <83aa3yax23.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 03 Mar 2012 10:49:40 +0200") Message-ID: <87aa3yghh6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10897 Cc: larsi@gnus.org, 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Eli Zaretskii writes: >> From: Thierry Volpiatto >> Date: Sat, 03 Mar 2012 09:42:24 +0100 >> Cc: 10897@debbugs.gnu.org >> >> I can't try without sending a bug-report > > Why can't you? just edit the "To" address to your own, before actually > sending it, and Bob's your uncle. Of course :-), I can also change variable value. But there is nothing to edit and this is not the problem. Unless I have a Gnus session open, when I do M-x report-emacs-bug, I am prompted for subject, I write subject, then RET and "Subject" and "To" fields are empty, and when I do C-c C-c I have an error like: --8<---------------cut here---------------start------------->8--- Send this bug report to the Emacs maintainers? (y or n) y Sending... message-send: No methods specified to send by --8<---------------cut here---------------end--------------->8--- When a Gnus session is open and I do M-x report-emacs-bug, it works normally. ("Subject" and "To" are completed.) So I think this is a bug. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 03 05:05:45 2012 Received: (at submit) by debbugs.gnu.org; 3 Mar 2012 10:05:45 +0000 Received: from localhost ([127.0.0.1]:59744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3lqS-0007zx-VU for submit@debbugs.gnu.org; Sat, 03 Mar 2012 05:05:45 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48372) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3lq5-0007zP-E8 for submit@debbugs.gnu.org; Sat, 03 Mar 2012 05:05:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3lpU-0007fz-EA for submit@debbugs.gnu.org; Sat, 03 Mar 2012 05:04:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:55081) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3lpU-0007fr-BH for submit@debbugs.gnu.org; Sat, 03 Mar 2012 05:04:44 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3lpR-0001NI-FA for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 05:04:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3lpP-0007f1-IA for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 05:04:40 -0500 Received: from plane.gmane.org ([80.91.229.3]:46476) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3lpP-0007ev-Bo for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 05:04:39 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S3lpN-0006JO-G2 for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 11:04:37 +0100 Received: from lbe83-2-78-243-104-167.fbx.proxad.net ([78.243.104.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Mar 2012 11:04:37 +0100 Received: from thierry.volpiatto by lbe83-2-78-243-104-167.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Mar 2012 11:04:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Thierry Volpiatto Subject: Re: bug#10897: sending mail via report-emacs-bug Date: Sat, 03 Mar 2012 11:04:27 +0100 Lines: 35 Message-ID: <87fwdqxaok.fsf@gmail.com> References: <874nuchddl.fsf@gmail.com> <87zkc4fws6.fsf@gmail.com> <87obseyt1r.fsf_-_@gmail.com> <83aa3yax23.fsf@gnu.org> <87aa3yghh6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lbe83-2-78-243-104-167.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) Cancel-Lock: sha1:yWRnjSSn72lI7vL+URWEH6ta42k= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Thierry Volpiatto writes: > Eli Zaretskii writes: > >>> From: Thierry Volpiatto >>> Date: Sat, 03 Mar 2012 09:42:24 +0100 >>> Cc: 10897@debbugs.gnu.org >>> >>> I can't try without sending a bug-report >> >> Why can't you? just edit the "To" address to your own, before actually >> sending it, and Bob's your uncle. > Of course :-), I can also change variable value. > But there is nothing to edit and this is not the problem. > > Unless I have a Gnus session open, when I do M-x report-emacs-bug, > I am prompted for subject, I write subject, then RET and > "Subject" and "To" fields are empty, and when I do C-c C-c I have an > error like: > > Send this bug report to the Emacs maintainers? (y or n) y > Sending... > message-send: No methods specified to send by > > When a Gnus session is open and I do M-x report-emacs-bug, it works > normally. ("Subject" and "To" are completed.) > > So I think this is a bug. I confirm it is a bug as this doesn't happen in 24.0.92, it start to bug at beginning of 24.0.93 pretest. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 03 09:30:25 2012 Received: (at 10897) by debbugs.gnu.org; 3 Mar 2012 14:30:26 +0000 Received: from localhost ([127.0.0.1]:59850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3pya-0007AB-E3 for submit@debbugs.gnu.org; Sat, 03 Mar 2012 09:30:25 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:51290) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3pyF-00078e-11 for 10897@debbugs.gnu.org; Sat, 03 Mar 2012 09:30:13 -0500 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1S3pxY-0004N7-KV; Sat, 03 Mar 2012 15:29:20 +0100 From: Lars Magne Ingebrigtsen To: Thierry Volpiatto Subject: Re: bug#10897: sending mail via report-emacs-bug References: <874nuchddl.fsf@gmail.com> <87zkc4fws6.fsf@gmail.com> <87obseyt1r.fsf_-_@gmail.com> <83aa3yax23.fsf@gnu.org> <87aa3yghh6.fsf@gmail.com> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUMBgQcFgkCAAAFAgF9 eV8yKxQTDQaVlQXUAAACTUlEQVQ4jVWUzW7bMAzHmbjzOWxnnQfpBTSr8DlBpZ5rLMpZWha+/yPs T9kqWhoIbP7Cb1FkREYZCxENXn9m60IgKATPuIEAzWytdY5kIC6ktHhSvb/PdtaXQMxSRilk9a+n xRzhyseXQBmgcikN3A+sYIlvAKuIdDBUM9sAixQovrf4W1oDnyzAa74AXARAEAVpeX4B8E/NIhup yKAhDQGLgMwpprUCmAYqI1KYlw2wAhAADWGDe01DoIsptahSg/OztfMc6GfyiLGyWiAF2qpwcCkA KTMDavjKqGJGL+M5bGBqJqW2KuD0ByqPNzkY9bNVgUbRbnGR2oA29LgZUPwTKMH9X4fhhIVXdNxr hvHDk5b9rI2jx3RzXrtDT+oqQ9aMBDhnU80oKuk8NNCFp3VC5iLxA+4iEr6mDeCBvZGYAFSjdfAE 9aSAOb0DsOEhWLecft8I+lZwPANoZwqyN4GWKcMzTJLGEJkYox1vnsasAJU1i57SCtN8/QJSByhh 2izM9TuownuMVscnWBjgiu/dVYzdgmmcWp0mvn0JfhuLDY9WoOhKrB18CAZ+UL0pCloI7e1Y3OwO +0ECiNCxVDF0dMEetuE3oBMTMwTsUhuTdIARj9WQ12PZ9TrQmHlY2GDmfmHZjz2RHrjp/i91AC06 U8aiFlmuSXQxd0+QBkTCth+kR1j3QcWT1zOMmqT4TwOjIOhx1d1X0QC4D0iD46uru+h3uw++yewF AMsTcEJ0x7EYupbBlWNb+XartLf+8qt9edxDXbPLsekf/wFTQelfGPtgZwAAAABJRU5ErkJggg== X-Now-Playing: DJ Rupture's _58.46 Radio Mix_: "King Honey - Trinity:Instrumental" Date: Sat, 03 Mar 2012 15:29:19 +0100 In-Reply-To: <87aa3yghh6.fsf@gmail.com> (Thierry Volpiatto's message of "Sat, 03 Mar 2012 10:29:41 +0100") Message-ID: User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1S3pxY-0004N7-KV X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1331389760.75418@EB0RHQv4LV0UZvPAziYV+g X-Spam-Status: No X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10897 Cc: Eli Zaretskii , 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Thierry Volpiatto writes: > Unless I have a Gnus session open, when I do M-x report-emacs-bug, > I am prompted for subject, I write subject, then RET and > "Subject" and "To" fields are empty, and when I do C-c C-c I have an > error like: I'm unable to reproduce this bug with "emacs -Q" or just "emacs". Do you have some local customisations to your Message setup that wipes the headers? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 03 09:33:55 2012 Received: (at 10897) by debbugs.gnu.org; 3 Mar 2012 14:33:55 +0000 Received: from localhost ([127.0.0.1]:59866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3q1y-0007F5-N5 for submit@debbugs.gnu.org; Sat, 03 Mar 2012 09:33:55 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:54911) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3q1n-0007Ek-AS for 10897@debbugs.gnu.org; Sat, 03 Mar 2012 09:33:44 -0500 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1S3q16-0004QZ-Pb; Sat, 03 Mar 2012 15:33:00 +0100 From: Lars Magne Ingebrigtsen To: Thierry Volpiatto Subject: Re: sending mail via report-emacs-bug References: <874nuchddl.fsf@gmail.com> <87zkc4fws6.fsf@gmail.com> <87obseyt1r.fsf_-_@gmail.com> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUMBgQcFgkCAAAFAgF9 eV8yKxQTDQaVlQXUAAACTUlEQVQ4jVWUzW7bMAzHmbjzOWxnnQfpBTSr8DlBpZ5rLMpZWha+/yPs T9kqWhoIbP7Cb1FkREYZCxENXn9m60IgKATPuIEAzWytdY5kIC6ktHhSvb/PdtaXQMxSRilk9a+n xRzhyseXQBmgcikN3A+sYIlvAKuIdDBUM9sAixQovrf4W1oDnyzAa74AXARAEAVpeX4B8E/NIhup yKAhDQGLgMwpprUCmAYqI1KYlw2wAhAADWGDe01DoIsptahSg/OztfMc6GfyiLGyWiAF2qpwcCkA KTMDavjKqGJGL+M5bGBqJqW2KuD0ByqPNzkY9bNVgUbRbnGR2oA29LgZUPwTKMH9X4fhhIVXdNxr hvHDk5b9rI2jx3RzXrtDT+oqQ9aMBDhnU80oKuk8NNCFp3VC5iLxA+4iEr6mDeCBvZGYAFSjdfAE 9aSAOb0DsOEhWLecft8I+lZwPANoZwqyN4GWKcMzTJLGEJkYox1vnsasAJU1i57SCtN8/QJSByhh 2izM9TuownuMVscnWBjgiu/dVYzdgmmcWp0mvn0JfhuLDY9WoOhKrB18CAZ+UL0pCloI7e1Y3OwO +0ECiNCxVDF0dMEetuE3oBMTMwTsUhuTdIARj9WQ12PZ9TrQmHlY2GDmfmHZjz2RHrjp/i91AC06 U8aiFlmuSXQxd0+QBkTCth+kR1j3QcWT1zOMmqT4TwOjIOhx1d1X0QC4D0iD46uru+h3uw++yewF AMsTcEJ0x7EYupbBlWNb+XartLf+8qt9edxDXbPLsekf/wFTQelfGPtgZwAAAABJRU5ErkJggg== X-Now-Playing: DJ Rupture's _58.46 Radio Mix_: "King Honey - Trinity:Instrumental" Date: Sat, 03 Mar 2012 15:33:00 +0100 In-Reply-To: <87obseyt1r.fsf_-_@gmail.com> (Thierry Volpiatto's message of "Sat, 03 Mar 2012 09:42:24 +0100") Message-ID: User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1S3q16-0004QZ-Pb X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1331389980.98825@79bk/0OteGKBp8UV+nuPVg X-Spam-Status: No X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10897 Cc: 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Thierry Volpiatto writes: > It seem that `report-emacs-bug' is using the value of > `send-mail-function' when sending bug reports even if the buffer is a > message buffer. Hm... ah, I see. It's consulting `send-mail-function' (to see whether it really needs to worry about the From header, which it doesn't need to when we're going to send via mailclient) even in Message buffers. And that's wrong. I'll fix that... > Why the value of `message-send-mail-function' isn't used there? It does use `message-send-mail-function' when actually sending, though, so I don't see what the bug could be here... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 03 10:00:25 2012 Received: (at 10897) by debbugs.gnu.org; 3 Mar 2012 15:00:25 +0000 Received: from localhost ([127.0.0.1]:60143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3qRT-0007t5-7n for submit@debbugs.gnu.org; Sat, 03 Mar 2012 10:00:25 -0500 Received: from mail-wi0-f172.google.com ([209.85.212.172]:38084) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3qR7-0007rV-BI for 10897@debbugs.gnu.org; Sat, 03 Mar 2012 10:00:03 -0500 Received: by wicr5 with SMTP id r5so1153089wic.3 for <10897@debbugs.gnu.org>; Sat, 03 Mar 2012 06:59:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=DS1mJIsL2rZIvRs6GXDJGN9Sbf00PnYZeAAMxUi1eJo=; b=NJXVU3AyTZhnd2ZqydVErNWgA/CW6M0gWnNMkboV1jQeRvXk4jNyXvy+IOKt4OyWQO gaUjvW8AJkRFo6PC/X6BYKhP74a8GHQufym9m0jr7pN4z+o/3w/HF/sGCNPqpLF5LUCy y6N6VxuJe86CU++O8s5Xq2p6Kay2x0hWuI3KrLJZxVpLxO2koxpuCAIOktYRWyDmfpjS KsMNXdvLazKy/BiDtow+5DjqhrypyPaMmRxXxfE206ydwDwFZ+UT7SD3fBFtiaYwA8eE MNYnU02B9shbwGSOm6fIAz+kyiUQ5IJU9Mf7HxYC/QwW7dLsGJOJkkMpa2HKXZPn4h6f 4dQQ== Received: by 10.180.19.227 with SMTP id i3mr3435646wie.17.1330786756130; Sat, 03 Mar 2012 06:59:16 -0800 (PST) Received: from thierry-MM061 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id df3sm9869262wib.1.2012.03.03.06.59.13 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 03 Mar 2012 06:59:15 -0800 (PST) From: Thierry Volpiatto To: Lars Magne Ingebrigtsen Subject: Re: bug#10897: sending mail via report-emacs-bug References: <874nuchddl.fsf@gmail.com> <87zkc4fws6.fsf@gmail.com> <87obseyt1r.fsf_-_@gmail.com> <83aa3yax23.fsf@gnu.org> <87aa3yghh6.fsf@gmail.com> Date: Sat, 03 Mar 2012 15:59:10 +0100 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sat, 03 Mar 2012 15:29:19 +0100") Message-ID: <87d38tbuip.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10897 Cc: Eli Zaretskii , 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Lars Magne Ingebrigtsen writes: > Thierry Volpiatto writes: > >> Unless I have a Gnus session open, when I do M-x report-emacs-bug, >> I am prompted for subject, I write subject, then RET and >> "Subject" and "To" fields are empty, and when I do C-c C-c I have an >> error like: > > I'm unable to reproduce this bug with "emacs -Q" or just "emacs". Do > you have some local customisations to your Message setup that wipes the > headers? Maybe because in Emacs -Q the 'to' and 'subject' field are completed as expected. I use same configuration for Emacs-24.0.92 and 24.0.94 and behavior is different. (i.e nothing in 'to' and 'subject' for 24.0.94) Note: My Gnus configuration is not new and works fine since months (years). -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 03 10:05:57 2012 Received: (at 10897) by debbugs.gnu.org; 3 Mar 2012 15:05:57 +0000 Received: from localhost ([127.0.0.1]:60148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3qWy-00080Y-Vu for submit@debbugs.gnu.org; Sat, 03 Mar 2012 10:05:57 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:46675) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3qWm-000809-8u for 10897@debbugs.gnu.org; Sat, 03 Mar 2012 10:05:45 -0500 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1S3qW5-0004us-5d; Sat, 03 Mar 2012 16:05:01 +0100 From: Lars Magne Ingebrigtsen To: Thierry Volpiatto Subject: Re: bug#10897: sending mail via report-emacs-bug References: <874nuchddl.fsf@gmail.com> <87zkc4fws6.fsf@gmail.com> <87obseyt1r.fsf_-_@gmail.com> <83aa3yax23.fsf@gnu.org> <87aa3yghh6.fsf@gmail.com> <87d38tbuip.fsf@gmail.com> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEUZAxLjycSJT15nLkb+ //o6Eyn9+vKnbnbJnqH+//Lz5t3///+d6JMCAAACaUlEQVQ4jW2Uz2rbQBDGB4IfYC+x8amsCAq9 ZQfhFwgC44sasa+wJcpNOWivailaejYG9WYoPuhsCq1ert+s4hA7GfAf5rfzzezs7BJFsyXrBhZC aINSKgQqS2Y2XqnlAKuGyZQiZp02oR0Ozrl7WI5fN+wVmTR0vlUHt73fjGJ/XO6qYU9GdJfD43Zy j+PxPs8RQqnkuh7cdnw1yA0D3bZIK/rjGwItulUK/lOCF7UdgI8F5e4MQIuCAuhz9zS+Ja4S4HrZ wNsk47qidnlwu3fguAMY+l+o6kxKgKTYjpd2zAU89mfFRoug79/5x7+klh+CNaUtpD6KKNOAit+R NXl0Xanfl6CHFLq7V8PFPnoyHkqVuiDrnsqVl8bvD2cBO0cWIbL7zXFz6tYGba/Iah8UzuTpeFr+ 79pVak4YtKDCT1dNR4XpWQQ/54wsCAo7iNzoDpiPms1zgeFkI2Jqgdmq9mqpvrNlSxFgQrtGp2E5 b9pFba1lBFBhDfOq1sy3izlE7IyKac5nWnOidWZXXWIfmm+TG+CK05vM+JsyebbFF/f1xU8zJMnK 0GSFzQr63P4gutJZZsngwiSclFzMyk90t7Jc+yZjQ2njw3SHWrWIn+AbjYIbgFYJkW90J4Sm1gmf wCBL4Qyhg5+zKQJSQ9vJWYq/wXprYw4RaWu5WgE3V0uAgOYEPP52MQH8AqJWh8sbDQEAlrTWqajX ySp6k0SEAEq56F6ASWstyzkrCjQSjwUDtDgeLZaA2NhEixej6do6Ya2N5qkkekHGdKKRmKhk6bX1 9gEKVl4b5ljTKYhmkm4msrEka4v/YJnksEY1f3QAAAAASUVORK5CYII= X-Now-Playing: Hood's _Cold House_: "They Removed All Trace That Anything Had Ever Happened Here" Date: Sat, 03 Mar 2012 16:05:00 +0100 In-Reply-To: <87d38tbuip.fsf@gmail.com> (Thierry Volpiatto's message of "Sat, 03 Mar 2012 15:59:10 +0100") Message-ID: User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1S3qW5-0004us-5d X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1331391901.28395@1CpJvDC8RuvR7uVwExT2Zw X-Spam-Status: No X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10897 Cc: Eli Zaretskii , 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Thierry Volpiatto writes: > I use same configuration for Emacs-24.0.92 and 24.0.94 and behavior is > different. (i.e nothing in 'to' and 'subject' for 24.0.94) > > Note: My Gnus configuration is not new and works fine since months (years). Well, I'm not able to reproduce the bug. So do you have anything in your setup that could clear the headers? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 03 12:09:49 2012 Received: (at 10897) by debbugs.gnu.org; 3 Mar 2012 17:09:49 +0000 Received: from localhost ([127.0.0.1]:60211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3sSh-0002O5-V2 for submit@debbugs.gnu.org; Sat, 03 Mar 2012 12:09:49 -0500 Received: from mail-we0-f172.google.com ([74.125.82.172]:49185) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3sSM-0002NT-FI for 10897@debbugs.gnu.org; Sat, 03 Mar 2012 12:09:28 -0500 Received: by werb10 with SMTP id b10so1625368wer.3 for <10897@debbugs.gnu.org>; Sat, 03 Mar 2012 09:08:40 -0800 (PST) Received-SPF: pass (google.com: domain of thierry.volpiatto@gmail.com designates 10.216.132.222 as permitted sender) client-ip=10.216.132.222; Authentication-Results: mr.google.com; spf=pass (google.com: domain of thierry.volpiatto@gmail.com designates 10.216.132.222 as permitted sender) smtp.mail=thierry.volpiatto@gmail.com; dkim=pass header.i=thierry.volpiatto@gmail.com Received: from mr.google.com ([10.216.132.222]) by 10.216.132.222 with SMTP id o72mr1331192wei.95.1330794520926 (num_hops = 1); Sat, 03 Mar 2012 09:08:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=VEeEUGvrKdgipIegHh0c8Pvq7gRynDu4FuZOQX2GToU=; b=TdPHvvuG5AeaHfI33UCa5uFzJ3Gj+6xC+R6gMxPSBLRLTXzg2j/AWE3y+uFsU6+4Ef b3WHI5QDbbdGxsAP7p3Pye9ItKncgdRjYEVBACxtyQabfgCXS8yar4F/sXlhJVryx47h L6AOgnceC3MADaxzst6Or4VX6Km9kLwdNCYB3alC3/QzxU9mdFG/OnMG1GxL/Cw5/Bcz NbLax2A3kNNQkFU414No+K8CsetMbVl+PO9FU4lsywkhvGfJeNz7PujkXiMtzLAHZzXi oaV5WGKlAds2J2r+9alissNPp3lZY09rdsF4a3/DOchcRxzCnkjEU4iuzB6rMW81KQX8 9KUQ== Received: by 10.216.132.222 with SMTP id o72mr1089180wei.95.1330794520788; Sat, 03 Mar 2012 09:08:40 -0800 (PST) Received: from thierry-MM061 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id dr5sm30117087wib.0.2012.03.03.09.08.38 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 03 Mar 2012 09:08:39 -0800 (PST) From: Thierry Volpiatto To: Lars Magne Ingebrigtsen Subject: Re: bug#10897: sending mail via report-emacs-bug References: <874nuchddl.fsf@gmail.com> <87zkc4fws6.fsf@gmail.com> <87obseyt1r.fsf_-_@gmail.com> <83aa3yax23.fsf@gnu.org> <87aa3yghh6.fsf@gmail.com> <87d38tbuip.fsf@gmail.com> Date: Sat, 03 Mar 2012 18:08:36 +0100 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sat, 03 Mar 2012 16:05:00 +0100") Message-ID: <87399pipd7.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10897 Cc: Eli Zaretskii , 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Lars Magne Ingebrigtsen writes: > Thierry Volpiatto writes: > >> I use same configuration for Emacs-24.0.92 and 24.0.94 and behavior is >> different. (i.e nothing in 'to' and 'subject' for 24.0.94) >> >> Note: My Gnus configuration is not new and works fine since months (years). > > Well, I'm not able to reproduce the bug. > > So do you have anything in your setup that could clear the headers? Ok I found: --8<---------------cut here---------------start------------->8--- (defun gnus-msg-mail (&optional to subject other-headers continue switch-action yank-action send-actions return-action) "Start editing a mail message to be sent. Like `message-mail', but with Gnus paraphernalia, particularly the Gcc: header for archiving purposes. If Gnus isn't running, a plain `message-mail' setup is used instead." (interactive) (if (not (gnus-alive-p)) (message-mail) [...] --8<---------------cut here---------------end--------------->8--- `compose-mail' is calling `gnus-msg-mail' which have changed and call `message-mail' with no arguments unless a gnus session is alive. Fallback to old version of `gnus-msg-mail' and all works fine. --8<---------------cut here---------------start------------->8--- (defun gnus-msg-mail (&optional to subject other-headers continue switch-action yank-action send-actions return-action) "Start editing a mail message to be sent. Like `message-mail', but with Gnus paraphernalia, particularly the Gcc: header for archiving purposes." (interactive) (let ((buf (current-buffer)) mail-buf) (gnus-setup-message 'message (message-mail to subject other-headers continue nil yank-action send-actions return-action)) (when switch-action (setq mail-buf (current-buffer)) (switch-to-buffer buf) (apply switch-action mail-buf nil))) ;; COMPOSEFUNC should return t if succeed. Undocumented ??? t) --8<---------------cut here---------------end--------------->8--- -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 03 12:22:09 2012 Received: (at submit) by debbugs.gnu.org; 3 Mar 2012 17:22:09 +0000 Received: from localhost ([127.0.0.1]:60220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3sej-0002g6-5m for submit@debbugs.gnu.org; Sat, 03 Mar 2012 12:22:09 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49752) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3seU-0002fb-DH for submit@debbugs.gnu.org; Sat, 03 Mar 2012 12:21:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3sdr-0005ul-LR for submit@debbugs.gnu.org; Sat, 03 Mar 2012 12:21:12 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:57762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3sdr-0005ud-IV for submit@debbugs.gnu.org; Sat, 03 Mar 2012 12:21:11 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3sdm-0001Br-Vb for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 12:21:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3sdi-0005tg-8a for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 12:21:06 -0500 Received: from plane.gmane.org ([80.91.229.3]:38084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3sdi-0005tW-1X for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 12:21:02 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S3sde-0007xf-Bk for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 18:20:58 +0100 Received: from lbe83-2-78-243-104-167.fbx.proxad.net ([78.243.104.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Mar 2012 18:20:58 +0100 Received: from thierry.volpiatto by lbe83-2-78-243-104-167.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Mar 2012 18:20:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Thierry Volpiatto Subject: Re: bug#10897: sending mail via report-emacs-bug Date: Sat, 03 Mar 2012 18:20:44 +0100 Lines: 40 Message-ID: <87d38tlhxv.fsf@gmail.com> References: <874nuchddl.fsf@gmail.com> <87zkc4fws6.fsf@gmail.com> <87obseyt1r.fsf_-_@gmail.com> <83aa3yax23.fsf@gnu.org> <87aa3yghh6.fsf@gmail.com> <87d38tbuip.fsf@gmail.com> <87399pipd7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lbe83-2-78-243-104-167.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) Cancel-Lock: sha1:iuJjoe7P1I0eW6KaW0HhrSh9270= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Thierry Volpiatto writes: > Lars Magne Ingebrigtsen writes: > >> Thierry Volpiatto writes: >> >>> I use same configuration for Emacs-24.0.92 and 24.0.94 and behavior is >>> different. (i.e nothing in 'to' and 'subject' for 24.0.94) >>> >>> Note: My Gnus configuration is not new and works fine since months (years). >> >> Well, I'm not able to reproduce the bug. >> >> So do you have anything in your setup that could clear the headers? > Ok I found: More exactly we need (if (not (gnus-alive-p))..., otherwise we fail with error `gnus-setup-message' function not found. So just need to call message-mail with args. here a patch: --8<---------------cut here---------------start------------->8--- diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el --- a/lisp/gnus/gnus-msg.el +++ b/lisp/gnus/gnus-msg.el @@ -486,7 +486,8 @@ instead." (interactive) (if (not (gnus-alive-p)) - (message-mail) + (message-mail to subject other-headers continue + nil yank-action send-actions return-action) (let ((buf (current-buffer)) mail-buf) (gnus-setup-message 'message --8<---------------cut here---------------end--------------->8--- -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 04 10:03:46 2012 Received: (at 10897) by debbugs.gnu.org; 4 Mar 2012 15:03:46 +0000 Received: from localhost ([127.0.0.1]:32855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4CyP-00014Y-Un for submit@debbugs.gnu.org; Sun, 04 Mar 2012 10:03:46 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:40348) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4Cy4-00013y-6Q for 10897@debbugs.gnu.org; Sun, 04 Mar 2012 10:03:35 -0500 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1S4CxG-0005tr-UW; Sun, 04 Mar 2012 16:02:34 +0100 From: Lars Magne Ingebrigtsen To: Thierry Volpiatto Subject: Re: bug#10897: sending mail via report-emacs-bug References: <874nuchddl.fsf@gmail.com> <87zkc4fws6.fsf@gmail.com> <87obseyt1r.fsf_-_@gmail.com> <83aa3yax23.fsf@gnu.org> <87aa3yghh6.fsf@gmail.com> <87d38tbuip.fsf@gmail.com> <87399pipd7.fsf@gmail.com> <87d38tlhxv.fsf@gmail.com> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEUOCgkUDw4RDQwQCwtJ RUJbfo3SAAACgklEQVQ4jUVUgbEjOwgjcQMP2wWsIQXYcAV873P/NX1pczOXZDKJZZAQsFKG/ntZ rZ7h06qLW0mzMUwVXz7TM2eaS8WpVRtq+OF+MSJxIFot3VrEFJmSCJhBUJAYOOLTpUixgnPzYgQU uXE3pZRYIBmj2iWPGhBlgKOSqA6tYfKo/fIjtFb7q5tAxR2oWrheEUTZSg4kAmbm1DGIIsofDl/8 GqxDUa2725ejaXXGIOAXzDz/AhWCq9ZM64SbwZWH46uM96DPw+iGUJ4rbImMtJt1wMK8hAa8w1Bx xrVu8/6Gu0hVMq/MVasi4AO124LWiQfeyjJh6kbeg2SAZCE5OIy+QKnpZoc8BHXWv40FYD4OS08T SBgUbAqZ/H2MPYTcQXs6OzBblLCTJUtxeSRAe0qujjM7d5b5dnB4jBYp0crve0p8tp5LkIoFm83x 5+57/yDm7JO+UHnQuDxn9nMOGn+QLAGwUejr2XMdVQzL55xWliSrMjvnyviPo6WdQAEA8fWD8IDX sA75Ts2QwfOK5GHRUJpPAPBMnmnq57bQ+sOKGbLrEPYVAWj5p+rZHWLxajARTuEf5mbDTOYnoFS1 GxjMV2tjysj5AC+BAwywHNaW/ujPA+whfY9+FAvS2ZDNa+QgoP1uGL++O2fv9QTMF4GDRkWOrfv0 1k/23mQJru1n2D/kxOfOV9JE9vrZFzChEE0FC4aVqdQd7lguzPpoE5zoKIZ63EjTNQN3Zr9Tlq0t 7IflZx+/BiZks/tY3tGexbG+z5vLlEs7ipXasYPo3mz1tzjWAvEIMpHXE3Fd/aOLW8IJa1IuDAsA CPqA11iNYimcD4/1fQBgcP49mwb2IK7/AV4jmo5/rdssAAAAAElFTkSuQmCC X-Now-Playing: Japan's _Oil On Canvas (2)_: "Still Life in Mobile Homes" Date: Sun, 04 Mar 2012 16:02:34 +0100 In-Reply-To: <87d38tlhxv.fsf@gmail.com> (Thierry Volpiatto's message of "Sat, 03 Mar 2012 18:20:44 +0100") Message-ID: User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1S4CxG-0005tr-UW X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1331478155.10308@KztHsUt6vQ1GDBh2otU8Cw X-Spam-Status: No X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10897 Cc: 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Thierry Volpiatto writes: > More exactly we need (if (not (gnus-alive-p))..., otherwise we fail with > error `gnus-setup-message' function not found. > So just need to call message-mail with args. D'oh. Thanks for the patch; applied to No Gnus (and Emacs 24 later). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 05 08:59:59 2012 Received: (at 10897) by debbugs.gnu.org; 5 Mar 2012 13:59:59 +0000 Received: from localhost ([127.0.0.1]:33866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4YS5-0001r7-Ta for submit@debbugs.gnu.org; Mon, 05 Mar 2012 08:59:59 -0500 Received: from mail-wi0-f172.google.com ([209.85.212.172]:50561) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4YRb-0001qL-IX for 10897@debbugs.gnu.org; Mon, 05 Mar 2012 08:59:38 -0500 Received: by wicr5 with SMTP id r5so1944981wic.3 for <10897@debbugs.gnu.org>; Mon, 05 Mar 2012 05:58:31 -0800 (PST) Received-SPF: pass (google.com: domain of thierry.volpiatto@gmail.com designates 10.180.83.97 as permitted sender) client-ip=10.180.83.97; Authentication-Results: mr.google.com; spf=pass (google.com: domain of thierry.volpiatto@gmail.com designates 10.180.83.97 as permitted sender) smtp.mail=thierry.volpiatto@gmail.com; dkim=pass header.i=thierry.volpiatto@gmail.com Received: from mr.google.com ([10.180.83.97]) by 10.180.83.97 with SMTP id p1mr15305907wiy.19.1330955911104 (num_hops = 1); Mon, 05 Mar 2012 05:58:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=6xMu5h5FPZF5iOJlNwS6Eq5qm3Ryr242MQPCGSnlT0I=; b=aKCqrPlGCi78ELHU2XkoA/xu7DsYFM8pARm/DPplPSxl3KCFOLF2n2FqneLgqVsOZf Do8uESt/ivR9V3j71XAOR2T7s5fpv07WBhXNlYlgK93iSQvC2hXedbtf+2nqPv2pYFLL dq9702Zq2FbApfHL0KguNvh8bwHlsAqv9u9zC3vqr4pbU/Ae70kFPYj7A1wWKaifk0SS EtZ2hUFgJHOIDy4ZjRY8McB4h4/gb78KukK7Aqejuwv2ITp0QqNeAlWlapZVJfsE+Jey jEwb4g8KkZgJKiD8c5xBuXjZMswNMdwuXiZEkt6grcK3dGyKbftzvSZ3805yEGK4lEaM rpBA== Received: by 10.180.83.97 with SMTP id p1mr12195018wiy.19.1330955910951; Mon, 05 Mar 2012 05:58:30 -0800 (PST) Received: from thierry-MM061 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id fw5sm21098970wib.0.2012.03.05.05.58.28 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 05 Mar 2012 05:58:30 -0800 (PST) From: Thierry Volpiatto To: Lars Magne Ingebrigtsen Subject: Re: bug#10897: sending mail via report-emacs-bug References: <874nuchddl.fsf@gmail.com> <87zkc4fws6.fsf@gmail.com> <87obseyt1r.fsf_-_@gmail.com> <83aa3yax23.fsf@gnu.org> <87aa3yghh6.fsf@gmail.com> <87d38tbuip.fsf@gmail.com> <87399pipd7.fsf@gmail.com> <87d38tlhxv.fsf@gmail.com> Date: Mon, 05 Mar 2012 14:58:27 +0100 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 04 Mar 2012 16:02:34 +0100") Message-ID: <87r4x75ev0.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10897 Cc: 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Lars Magne Ingebrigtsen writes: > Thierry Volpiatto writes: > >> More exactly we need (if (not (gnus-alive-p))..., otherwise we fail with >> error `gnus-setup-message' function not found. >> So just need to call message-mail with args. > > D'oh. > > Thanks for the patch; applied to No Gnus (and Emacs 24 later). Now it is in Emacs 24 and works fine, thanks. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 09 18:08:09 2012 Received: (at 10897) by debbugs.gnu.org; 9 Mar 2012 23:08:09 +0000 Received: from localhost ([127.0.0.1]:41276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S68uu-0003dZ-Mk for submit@debbugs.gnu.org; Fri, 09 Mar 2012 18:08:09 -0500 Received: from smtp.getmail.no ([84.208.15.66]:55253) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S68us-0003dS-RB for 10897@debbugs.gnu.org; Fri, 09 Mar 2012 18:08:07 -0500 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain Received: from get-mta-scan02.get.basefarm.net ([10.5.16.4]) by get-mta-out01.get.basefarm.net (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <0M0N00M6W47W3350@get-mta-out01.get.basefarm.net> for 10897@debbugs.gnu.org; Sat, 10 Mar 2012 00:07:08 +0100 (MET) Received: from get-mta-scan02.get.basefarm.net (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 4E0821EA5471_F5A8D1CB for <10897@debbugs.gnu.org>; Fri, 09 Mar 2012 23:07:08 +0000 (GMT) Received: from smtp.getmail.no (unknown [10.5.16.4]) by get-mta-scan02.get.basefarm.net (Sophos Email Appliance) with ESMTP id 3095E1EA2768_F5A8D1CF for <10897@debbugs.gnu.org>; Fri, 09 Mar 2012 23:07:08 +0000 (GMT) Received: from stories.gnus.org ([84.215.51.58]) by get-mta-in02.get.basefarm.net (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <0M0N001EN47WQL20@get-mta-in02.get.basefarm.net> for 10897@debbugs.gnu.org; Sat, 10 Mar 2012 00:07:08 +0100 (MET) From: Lars Magne Ingebrigtsen To: Thierry Volpiatto Subject: Re: bug#10897: copy-directory create new directory when copying a symlink References: <874nuchddl.fsf@gmail.com> <87zkc4fws6.fsf@gmail.com> <87ipis47yj.fsf@gmail.com> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX41qSJLS3+wl36vmXO m3H9xmOlYE1wDxw0QHIBAAACX0lEQVQ4jXWTwYrjMAyGVTDutYJgX7uZpufdmRdwUuPcA73bs8a5 jiFYr79K4ww7010RQqsvvyRbErT/MVhfL8Nwe30ZLm+3YbCD/QvYd/t+ixdrfw8uxtXVVTC44cUy uA03mzr23+Fr5G6687PaF9DdO3ZN3X36Btrpvn3+XdFO3TR1n+AMInhrrGsOJ5eCmbPYwUEZsKE/ SSMxwZGwAqGCAcBwAnbmRWrawEUFdAYcmgCCEoqgN3BVWFIUoUDAiClAshWgXlLqOU+PxiEHTDVU tCagBdkcIkj0wo/dpoj8jW5CRj9m4MqbuSpS5OioED1zKcKyVxWSD6h0zieNOs64K66oYp9Rl+w1 ZZ2DD1XRpNJ/IDsNQ0Q+SlWEpPrTqAkNQ9JkK+DGgUDH6YFBHvMOzpAMIMdIXJw+HZcj7cAl068F R0SdtB+p3XI0Mnmh+Cq1qiVMNbl3EdyccUYscyMpbqF+EIr0k689a52TAuFhB+QFdwpk4XuHmf9O O2jAcLOZCgtEtNQcRApSmAurXOqJcvisSokS5tXfvo1U7KPc1/bKEY46Jc6Sfi0jeeaPob4YMIJL sY4fM0awpu1WcC3CJZCcNK+18b2omiNHa62j1Zj0iHFTXJRi8GgiFSH5YmDbqCvyyW2SynDXBSI2 wHvyOEc2q4SrjdwVxJOoOaLjqniuPniqVvNhW7Uz9BnAwLisU8Q2501xxgMSFkmLXPvI07B3MEdC WmZaDqtbjVQVl1yQdCxUeiMCmpnqJZ5zJioHykpA4Dnm309by3bf3s+ga6d1rZ9BXet/gekh/AMS JfPmGzKIQAAAAABJRU5ErkJggg== X-Now-Playing: Talk Talk's _The Colour of Spring_: "Chameleon Day" Date: Sat, 10 Mar 2012 00:07:08 +0100 In-reply-to: <87ipis47yj.fsf@gmail.com> Message-id: User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.94 (gnu/linux) X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10897 Cc: 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Thierry Volpiatto writes: > I had to choose for "mail client" "nntp"(not sure) and something else I > don't remember. > I choose "mail client" and I end with something like "no method provided" Could you send a backtrace? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 10 01:38:14 2012 Received: (at 10897) by debbugs.gnu.org; 10 Mar 2012 06:38:14 +0000 Received: from localhost ([127.0.0.1]:41659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S6FwG-0001Kt-Vj for submit@debbugs.gnu.org; Sat, 10 Mar 2012 01:38:14 -0500 Received: from mail-wi0-f174.google.com ([209.85.212.174]:55164) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S6FwA-0001Kg-MM for 10897@debbugs.gnu.org; Sat, 10 Mar 2012 01:37:59 -0500 Received: by wibhr17 with SMTP id hr17so1120937wib.15 for <10897@debbugs.gnu.org>; Fri, 09 Mar 2012 22:08:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=+Zxwsn+Gx8wSxe35H/iDVmViu6NzkfRYYu92Mrmpaq0=; b=zFKx4/wid8DY5z2+Jex1z4Ao2YfHI5/HvpNgFeUGFzckZhX7Cw0MzDtUHhRsZLVXZ6 IJkvl3xJhIWFTJf7/yldHLfENmglILxigpZU5u4W2LHFlZtcl4zKOGEsHwbPcXPH61Tj 67iZhJLVyAzwIJhxS1h0CLu6eoG6FoHHT07T9G052Y0/to/7BE6Zg3AGdsCx2iB37WmM D9aKiEG/Kl+NizH7Cp0sHqEIHr229Lg3l3+eggTKSYKsX+QwJy++Tu4QDze2LL39E41+ VDDM7rJRO+/PafWbMTsKyufmuM217hmrSNlVgmoa7GmmeRhxc3pCbmZ2HxIFFP0IPI9/ ZpvQ== Received: by 10.216.136.72 with SMTP id v50mr2981571wei.73.1331359696264; Fri, 09 Mar 2012 22:08:16 -0800 (PST) Received: from thierry-MM061 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id fl2sm21208624wib.4.2012.03.09.22.08.14 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 09 Mar 2012 22:08:15 -0800 (PST) From: Thierry Volpiatto To: Lars Magne Ingebrigtsen Subject: Re: bug#10897: copy-directory create new directory when copying a symlink References: <874nuchddl.fsf@gmail.com> <87zkc4fws6.fsf@gmail.com> <87ipis47yj.fsf@gmail.com> Date: Sat, 10 Mar 2012 07:08:12 +0100 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sat, 10 Mar 2012 00:07:08 +0100") Message-ID: <87aa3pt2cz.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10897 Cc: 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Lars Magne Ingebrigtsen writes: > Thierry Volpiatto writes: > >> I had to choose for "mail client" "nntp"(not sure) and something else I >> don't remember. >> I choose "mail client" and I end with something like "no method provided" > > Could you send a backtrace? I think its ok now. What I did was trying to send the bug report with the "To" and "Subject" not completed (didn't look at headers and just C-c C-c), so smtp or something else was complaining and asking on what to do. But now we have fixed "To" and "Subject" at startup of report-emacs-bug, I think we can forget that. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 10 20:22:31 2016 Received: (at control) by debbugs.gnu.org; 11 Aug 2016 00:22:31 +0000 Received: from localhost ([127.0.0.1]:52745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXdlW-00009z-Ke for submit@debbugs.gnu.org; Wed, 10 Aug 2016 20:22:30 -0400 Received: from mail-io0-f170.google.com ([209.85.223.170]:36291) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXdlV-00009k-Fa for control@debbugs.gnu.org; Wed, 10 Aug 2016 20:22:29 -0400 Received: by mail-io0-f170.google.com with SMTP id b62so57157141iod.3 for ; Wed, 10 Aug 2016 17:22:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=imPZI22cm+TFYZ3whid/kXg1Qo2MgUEiCWSPgDCWyE8=; b=u3Nlv4s/gh5HP5UAj0d2aMREj69uHzVkIH2gxocUBMsZGEOktZb3mgOdkcip6E5Loq jrPc1q+qBNa53uf35iceAsVcVRvx8twv0vUCBjv+vzZJufN0XpTGnNBfoepV8olF/dLT FgYptAFvIbtplumkiRSmEp6akJqUM+gJQT6uGiDB71zuRrE1+NOSwm43kevGA0V5SR1G at7HONtnM4cc48iQc7zXWhIVe4lo4M7IgyTpnSsOFhVCvKsnADujn8zjkvCqO1gv8z+j 2gwJwbLEWWe/q6JmebZECEnXdpdCC5sMXLLY7CESClay8FZMT8ZNHDzBlgl0i6CCHY4i eoAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=imPZI22cm+TFYZ3whid/kXg1Qo2MgUEiCWSPgDCWyE8=; b=cWahqUODSmp2JXbPsrhvv679yZrgw9m9AlSWD+Ci+Eehmq5zXf5aE9Ll5PWB6O8Bz+ jwmYXiagJTUIir7QwQglAXOq4nrWU7hKn4YFx9H+K9105dRu99vguVcx8yel50K2Ljaa wAp+pl6ytES0zTszZBo+pxuVjCdA9Iko+6legW+nTfDXLD0L6EiAlYQqArnp3w+Eor4p dSHvrj5CEDqoMVdvFkNYIs33U3kxe3gzbye+Y9JPXHpTySRUOsEBvOdUIyTdoQ6uuDmO YfVBTx5qZBkKRqE3bGp91Jkrh3xRAa83yMIs4IkMKx35RKtx+MCh1GdFr77T9oA4p4Br XE0g== X-Gm-Message-State: AEkoouuCOYrWrSqY17RLzaLBTroeMaCFTc7LIjFOsWICD/3JKXT74IKf3cn1C845m2ki+A== X-Received: by 10.107.27.144 with SMTP id b138mr8349747iob.163.1470874943792; Wed, 10 Aug 2016 17:22:23 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id c192sm4807986ith.11.2016.08.10.17.22.23 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Aug 2016 17:22:23 -0700 (PDT) From: npostavs@users.sourceforge.net To: control@debbugs.gnu.org Subject: Re: bug#10897: copy-directory create new directory when copying a symlink References: <874nuchddl.fsf@gmail.com> Date: Wed, 10 Aug 2016 20:22:32 -0400 In-Reply-To: <874nuchddl.fsf@gmail.com> (Thierry Volpiatto's message of "Mon, 27 Feb 2012 09:47:02 +0100") Message-ID: <87ziokxign.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tags 10897 confirmed found 10897 25.1 severity 10897 minor quit Thierry Volpiatto writes: > Hi all, > when copying a directory symlink to another directory, the behavior of > 'cp' is to create a new symlink in this directory: > > thierry@thierry-MM061:~ $ mkdir ~/Test > thierry@thierry-MM061:~ $ mkdir ~/tmp/Test1 > thierry@thierry-MM061:~ $ ln -s ~/tmp/Test1 ~/tmp/foo > thierry@thierry-MM061:~ $ cp -r ~/tmp/foo ~/Test > thierry@thierry-MM061:~ $ ls -l ~/Test > total 0 > lrwxrwxrwx 1 thierry thierry 23 2012-02-27 09:08 foo -> /home/thierry/tmp/Test1 > > > It is not what's copy-directory does: > > (copy-directory "~/tmp/foo" "~/Test" nil t) > => > thierry@thierry-MM061:~ $ ls -l ~/Test > total 4 > drwxrwxr-x 2 thierry thierry 4096 2012-02-27 09:11 foo > > NOTE: > I am not sending this bug-report via report-emacs-bug due to its last > silly modifications. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 25 08:47:22 2020 Received: (at 10897) by debbugs.gnu.org; 25 Aug 2020 12:47:23 +0000 Received: from localhost ([127.0.0.1]:60661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAYME-0001yh-NS for submit@debbugs.gnu.org; Tue, 25 Aug 2020 08:47:22 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAYMC-0001yU-Sr for 10897@debbugs.gnu.org; Tue, 25 Aug 2020 08:47:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jwK1EqzKsS/9fCl8D73ERBdx+TmiWQVEYekstJSzCkQ=; b=fyKxXxJEFiCiyyr8Ejk6BwTTiC kwp5xz0gAZGSjOUw8ozUzTvvEVnUHpft64vHOJhqDZje0vDvfCCIetz0kNu5b93e67R/27g/MY5H1 zpX9rFwChmn8ril5yLBzPoeuMbjlGV0TSC3/F4eNpaPOeKcDpvdB8t6uBYcs8QZMUh9Y=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kAYM0-0005Yz-H4; Tue, 25 Aug 2020 14:47:14 +0200 From: Lars Ingebrigtsen To: Thierry Volpiatto Subject: Re: bug#10897: copy-directory create new directory when copying a symlink References: <874nuchddl.fsf@gmail.com> X-Now-Playing: DACM's =?utf-8?B?X1N0w4PCqXLDg8Kpb3R5cGllXzo=?= "Vidya" Date: Tue, 25 Aug 2020 14:47:07 +0200 In-Reply-To: <874nuchddl.fsf@gmail.com> (Thierry Volpiatto's message of "Mon, 27 Feb 2012 09:47:02 +0100") Message-ID: <87zh6i99kk.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Thierry Volpiatto writes: > when copying a directory symlink to another directory, the behavior of > 'cp' is to create a new symlink in this directory: > > thierry@thierry-MM061:~ $ mkdir ~/Test > thierry@thierry-MM061:~ $ mkd [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 10897 Cc: 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Thierry Volpiatto writes: > when copying a directory symlink to another directory, the behavior of > 'cp' is to create a new symlink in this directory: > > thierry@thierry-MM061:~ $ mkdir ~/Test > thierry@thierry-MM061:~ $ mkdir ~/tmp/Test1 > thierry@thierry-MM061:~ $ ln -s ~/tmp/Test1 ~/tmp/foo > thierry@thierry-MM061:~ $ cp -r ~/tmp/foo ~/Test > thierry@thierry-MM061:~ $ ls -l ~/Test > total 0 > lrwxrwxrwx 1 thierry thierry 23 2012-02-27 09:08 foo -> /home/thierry/tmp/Test1 > > It is not what's copy-directory does: > > (copy-directory "~/tmp/foo" "~/Test" nil t) > => > thierry@thierry-MM061:~ $ ls -l ~/Test > total 4 > drwxrwxr-x 2 thierry thierry 4096 2012-02-27 09:11 foo I'm unable to reproduce the bug using this recipe -- at the end of this, I just have an empty ~/Test directory. Which is also different from what cp -r does, but I'm not sure that's a bug -- when you tell copy-directory to copy a symlink, I think it's natural to dereference that symlink first? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 12 22:33:30 2020 Received: (at 10897) by debbugs.gnu.org; 13 Oct 2020 02:33:30 +0000 Received: from localhost ([127.0.0.1]:44649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSA82-0007yl-CX for submit@debbugs.gnu.org; Mon, 12 Oct 2020 22:33:30 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSA80-0007yW-6f for 10897@debbugs.gnu.org; Mon, 12 Oct 2020 22:33:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=sdE9c3ypx+BEuQYnk6QJ/Kv9MbZN4eCxfNc/8euYSTw=; b=BVRJP8GTSy2OsVNWu2uG3TFVEl ia9+BN6vHV9IEEMcwTCD0BlWgKYVRjTwELghK79bI2/ajzp4iwLhRbCwbnWd02pNq7JGIcidpR8VX BWFZLYsvNunqjLfFqK3IjfbBePgjXJhJZvNBZbdiiSj5SvzXlnYhfRbsefs+5aQd+Bxg=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kSA7q-00014o-Pc; Tue, 13 Oct 2020 04:33:22 +0200 From: Lars Ingebrigtsen To: Thierry Volpiatto Subject: Re: bug#10897: copy-directory create new directory when copying a symlink References: <874nuchddl.fsf@gmail.com> <87zh6i99kk.fsf@gnus.org> X-Now-Playing: Oval's _Wohnton_: "Babylon" Date: Tue, 13 Oct 2020 04:33:17 +0200 In-Reply-To: <87zh6i99kk.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 25 Aug 2020 14:47:07 +0200") Message-ID: <87wnzu7t3m.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > I'm unable to reproduce the bug using this recipe -- at the end of this, > I just have an empty ~/Test directory. More information was requested, but none was given, so I'm closing this bug report. If there's still problems in this area, please respond to the debbugs address, and we'll reopen the report. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 10897 Cc: 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > I'm unable to reproduce the bug using this recipe -- at the end of this, > I just have an empty ~/Test directory. More information was requested, but none was given, so I'm closing this bug report. If there's still problems in this area, please respond to the debbugs address, and we'll reopen the report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 12 22:33:35 2020 Received: (at control) by debbugs.gnu.org; 13 Oct 2020 02:33:36 +0000 Received: from localhost ([127.0.0.1]:44652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSA87-0007z5-LW for submit@debbugs.gnu.org; Mon, 12 Oct 2020 22:33:35 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSA86-0007yi-15 for control@debbugs.gnu.org; Mon, 12 Oct 2020 22:33:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Msa2p1ioXS4Rv4cR/9Pd5PTPj8VxbP/kEX80sBrX0+4=; b=JcyQxY2dGY4mqn/rnJnd/gRHB4 eAJVx5jHo8itUYGwl5jxC32nH18Ex0HHCC9Bj1PtRciI4Vxx5NZBXwm/592pKoTbiXGwrOZibuwT/ gTmVuiPbRONQ5W9vun8gNyv8vvBEnFyH0EBVOne7n/4vn96tcRXR+/7QtYmwpKvTh9kM=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kSA7y-00014x-Bo for control@debbugs.gnu.org; Tue, 13 Oct 2020 04:33:28 +0200 Date: Tue, 13 Oct 2020 04:33:25 +0200 Message-Id: <87v9fe7t3e.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #10897 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 10897 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 10897 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 12 23:15:34 2020 Received: (at 10897) by debbugs.gnu.org; 13 Oct 2020 03:15:34 +0000 Received: from localhost ([127.0.0.1]:44709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSAmk-0003DX-Ev for submit@debbugs.gnu.org; Mon, 12 Oct 2020 23:15:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSAmh-00036Q-RY for 10897@debbugs.gnu.org; Mon, 12 Oct 2020 23:15:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55459) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSAmc-0007gs-Ib; Mon, 12 Oct 2020 23:15:26 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1kSAma-00079L-Ck; Mon, 12 Oct 2020 23:15:24 -0400 From: Glenn Morris To: Lars Ingebrigtsen Subject: Re: bug#10897: copy-directory create new directory when copying a symlink References: <874nuchddl.fsf@gmail.com> <87zh6i99kk.fsf@gnus.org> <87wnzu7t3m.fsf@gnus.org> X-Spook: Gulf Cartel Abbas NWO ANC assassination Closure USDOJ X-Ran: /kMv.{lgW}u)$_0=zx=l>Z@ZW[ZApy[Ps`23*
^YHd`PqY*^^2(lUrd1{7EK`R8~I<< X-Hue: blue X-Attribution: GM Date: Mon, 12 Oct 2020 23:15:24 -0400 In-Reply-To: <87wnzu7t3m.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 13 Oct 2020 04:33:17 +0200") Message-ID: <2ilfgag6k3.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 10897 Cc: 10897@debbugs.gnu.org, Thierry Volpiatto X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen wrote: > Lars Ingebrigtsen writes: > >> I'm unable to reproduce the bug using this recipe -- at the end of this, >> I just have an empty ~/Test directory. > > More information was requested, but none was given, so I'm closing this > bug report. If there's still problems in this area, please respond to > the debbugs address, and we'll reopen the report. I saw this had previously been tagged "confirmed". The issue from the OP is reproducible in emacs-27, but changes in Emacs since it was reported means one now needs to use: (copy-directory "~/tmp/foo" "~/Test/" nil t) ^ From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 12 23:19:41 2020 Received: (at 10897) by debbugs.gnu.org; 13 Oct 2020 03:19:41 +0000 Received: from localhost ([127.0.0.1]:44730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSAqj-0004yP-9u for submit@debbugs.gnu.org; Mon, 12 Oct 2020 23:19:41 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSAqg-0004yB-Ox for 10897@debbugs.gnu.org; Mon, 12 Oct 2020 23:19:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=UvdYVh13Adp3UVvhwxtvmFoFiDG9Ok09JoZ4ktN/PWI=; b=STf3xpcmccm7ftM94FOUtC9gZ9 87ok2IAGs8BtFLsKGj63gIGXn9qzMJWpBAEF5QeVonL0C3ml6AcBryEm0MVeU+1EymwcqC2lYG96L IWdktqqaWGjq4U0Mq12RUI3RA7XBI9r8B3VFVZD+fmVC1zpYnCOhBMvyS+XTu1SS6LpI=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kSAqV-0001Wv-2T; Tue, 13 Oct 2020 05:19:32 +0200 From: Lars Ingebrigtsen To: Glenn Morris Subject: Re: bug#10897: copy-directory create new directory when copying a symlink References: <874nuchddl.fsf@gmail.com> <87zh6i99kk.fsf@gnus.org> <87wnzu7t3m.fsf@gnus.org> <2ilfgag6k3.fsf@fencepost.gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXP6/OsqamBYFH/ //+yxoaJAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+QKDQMTDwrN0RIAAAFzSURBVCjPPZIxbsMwDEWp INaQKSmSoM4RdAotXTolgGnUnjo0RaNTuEAP4KEO0Ewa7MDiKUtSRTVQfhb1yW8aQJeNeT9KWIz6 TEmimQsFkrgnigqeD4g0Q4Olm74kST7wieRRx+AEZoaeIVC+JKdyn+QScblFhg4k1WboRXq9+gfy W1Xu2ijweKCpHcEcGfrSkc8eWorOJfZg2cuORufGo0lOqmPlyppLUDbrBumEstkgewbUcqBds5z0 u8hWTfvXOIOpijqqP4YCwYz6GRJCiQAfsLYn+g5wZgjw6lIyAVLFsp9fFxt3CPQCEKe32Y6Iavue fGUngckXCZewitgwYD3wvupZigasUep0InBCXiwp5WmosEEZX1HBfV5iXen0AK5UmfLi83wHTL6R E8OzaYjaQcD6LdQtBRQBY55gc2EjiPmP2Ny5h4aQJZZgnhnef3BU7X3ghhKyL4YiTE2T8DZorf0V 8YztpGWLZrc54wML/gKlkLItpRQ5UAAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0xMC0xM1QwMzox OToxNSswMDowMNlWlfgAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTAtMTNUMDM6MTk6MTUrMDA6 MDCoCy1EAAAAAElFTkSuQmCC X-Now-Playing: Brokeback's _Looks At The Bird_: "Name's Winston, Friends Call Me James" Date: Tue, 13 Oct 2020 05:19:25 +0200 In-Reply-To: <2ilfgag6k3.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon, 12 Oct 2020 23:15:24 -0400") Message-ID: <871ri27qyq.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Glenn Morris writes: > The issue from the OP is reproducible in emacs-27, but changes in Emacs > since it was reported means one now needs to use: > > (copy-directory "~/tmp/foo" "~/Test/" nil t) > ^ Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 10897 Cc: 10897@debbugs.gnu.org, Thierry Volpiatto X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Glenn Morris writes: > The issue from the OP is reproducible in emacs-27, but changes in Emacs > since it was reported means one now needs to use: > > (copy-directory "~/tmp/foo" "~/Test/" nil t) > ^ OK; reopening. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Fri Sep 19 14:23:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Tue, 13 Oct 2020 03:20:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 19 18:16:49 2021 Received: (at submit) by debbugs.gnu.org; 19 Aug 2021 22:16:49 +0000 Received: from localhost ([127.0.0.1]:60913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGqL9-0007tB-Mz for submit@debbugs.gnu.org; Thu, 19 Aug 2021 18:16:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:58190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGpt9-0007CV-Bi for submit@debbugs.gnu.org; Thu, 19 Aug 2021 17:47:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGpt9-0007Yw-3z for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2021 17:47:51 -0400 Received: from smtp.fing.edu.uy ([164.73.32.16]:57962) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGpt3-0005h2-Bf for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2021 17:47:49 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.fing.edu.uy (Postfix) with ESMTP id AF15FE0E15 for ; Thu, 19 Aug 2021 18:47:38 -0300 (-03) X-Virus-Scanned: amavisd-new at fing.edu.uy Received: from smtp.fing.edu.uy ([127.0.0.1]) by localhost (smtp.fing.edu.uy [127.0.0.1]) (amavisd-new, port 10024) with LMTP id k_VijP6wPriZ for ; Thu, 19 Aug 2021 18:47:33 -0300 (-03) Received: from localhost.localdomain (r186-48-97-167.dialup.adsl.anteldata.net.uy [186.48.97.167]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mcenturion) by smtp.fing.edu.uy (Postfix) with ESMTPSA id 8E744E0E19 for ; Thu, 19 Aug 2021 18:47:33 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fing.edu.uy; s=default; t=1629409653; bh=J97fkVyvKQxSFkKzlvSNpIB4CUcc4ynrV08iIQQyY/0=; h=From:To:Subject:Date; b=DAXbM5uwj8UYc6/PSrLWDOqBF5coTSbQ2tDqA6qpuHMEPBh71dt7gNcD7xkAysURe P0CcJfnd9VvblpCXgXNHHYWzkLjYTciKC8COcnGdtI+pHNk5+7kCAuIT7V2S6B1O5M JED0YPlIi/L1nUrJTsvOBnpfmwS2GRbF3tQIhB54= From: Marco Centurion To: bug-gnu-emacs@gnu.org Subject: Re: bug#10897: copy-directory create new directory when copying a symlink Date: Thu, 19 Aug 2021 18:47:33 -0300 Message-ID: <87y28xrtsa.fsf@fing.edu.uy> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=164.73.32.16; envelope-from=mcenturion@fing.edu.uy; helo=smtp.fing.edu.uy X-Spam_score_int: -5 X-Spam_score: -0.6 X-Spam_bar: / X-Spam_report: (-0.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FAKE_REPLY_C=1.486, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 19 Aug 2021 18:16:46 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain This patch seems to fix this issue. Turns out that the code didn't take into consideration the case when the directory we want to copy is itself a symlink. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=bug#10897.patch diff --git a/lisp/files.el b/lisp/files.el index 875ac55316..424cf1bea0 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -6193,42 +6193,48 @@ copy-directory (setq directory (directory-file-name (expand-file-name directory)) newname (expand-file-name newname)) - (cond ((not (directory-name-p newname)) - ;; If NEWNAME is not a directory name, create it; - ;; that is where we will copy the files of DIRECTORY. - (make-directory newname parents)) - ;; NEWNAME is a directory name. If COPY-CONTENTS is non-nil, - ;; create NEWNAME if it is not already a directory; - ;; otherwise, create NEWNAME/[DIRECTORY-BASENAME]. - ((if copy-contents - (or parents (not (file-directory-p newname))) - (setq newname (concat newname - (file-name-nondirectory directory)))) - (make-directory (directory-file-name newname) parents)) - (t (setq follow t))) - - ;; Copy recursively. - (dolist (file - ;; We do not want to copy "." and "..". - (directory-files directory 'full - directory-files-no-dot-files-regexp)) - (let ((target (concat (file-name-as-directory newname) - (file-name-nondirectory file))) - (filetype (car (file-attributes file)))) - (cond - ((eq filetype t) ; Directory but not a symlink. - (copy-directory file target keep-time parents t)) - ((stringp filetype) ; Symbolic link - (make-symbolic-link filetype target t)) - ((copy-file file target t keep-time))))) - - ;; Set directory attributes. - (let ((modes (file-modes directory)) - (times (and keep-time (file-attribute-modification-time - (file-attributes directory)))) - (follow-flag (unless follow 'nofollow))) - (if modes (set-file-modes newname modes follow-flag)) - (if times (set-file-times newname times follow-flag)))))) + ;; If DIRECTORY is a symlink, create a NEWNAME symlink + ;; with the same target. + (if (file-symlink-p directory) + (let ((target (car (file-attributes directory)))) + (make-symbolic-link target newname t)) + ;; Else proceed to copy as a regular directory + (cond ((not (directory-name-p newname)) + ;; If NEWNAME is not a directory name, create it; + ;; that is where we will copy the files of DIRECTORY. + (make-directory newname parents)) + ;; NEWNAME is a directory name. If COPY-CONTENTS is non-nil, + ;; create NEWNAME if it is not already a directory; + ;; otherwise, create NEWNAME/[DIRECTORY-BASENAME]. + ((if copy-contents + (or parents (not (file-directory-p newname))) + (setq newname (concat newname + (file-name-nondirectory directory)))) + (make-directory (directory-file-name newname) parents)) + (t (setq follow t))) + + ;; Copy recursively. + (dolist (file + ;; We do not want to copy "." and "..". + (directory-files directory 'full + directory-files-no-dot-files-regexp)) + (let ((target (concat (file-name-as-directory newname) + (file-name-nondirectory file))) + (filetype (car (file-attributes file)))) + (cond + ((eq filetype t) ; Directory but not a symlink. + (copy-directory file target keep-time parents t)) + ((stringp filetype) ; Symbolic link + (make-symbolic-link filetype target t)) + ((copy-file file target t keep-time))))) + + ;; Set directory attributes. + (let ((modes (file-modes directory)) + (times (and keep-time (file-attribute-modification-time + (file-attributes directory)))) + (follow-flag (unless follow 'nofollow))) + (if modes (set-file-modes newname modes follow-flag)) + (if times (set-file-times newname times follow-flag))))))) ;; At time of writing, only info uses this. --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 Marco Centurion Unidad de Recursos Inform=C3=A1ticos Facultad de Ingenier=C3=ADa - UdelaR --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 19 21:36:17 2021 Received: (at submit) by debbugs.gnu.org; 20 Aug 2021 01:36:17 +0000 Received: from localhost ([127.0.0.1]:32778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGtS7-00046h-D4 for submit@debbugs.gnu.org; Thu, 19 Aug 2021 21:36:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:48618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGt1h-0003TC-Iz for submit@debbugs.gnu.org; Thu, 19 Aug 2021 21:08:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGt1h-0005v6-EY for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2021 21:08:53 -0400 Received: from smtp.fing.edu.uy ([164.73.32.16]:53032) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGt1d-0001xG-5A for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2021 21:08:51 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.fing.edu.uy (Postfix) with ESMTP id 495BADF819 for ; Thu, 19 Aug 2021 22:08:44 -0300 (-03) X-Virus-Scanned: amavisd-new at fing.edu.uy Received: from smtp.fing.edu.uy ([127.0.0.1]) by localhost (smtp.fing.edu.uy [127.0.0.1]) (amavisd-new, port 10024) with LMTP id eVM9l-X69G4o for ; Thu, 19 Aug 2021 22:08:39 -0300 (-03) Received: from localhost.localdomain (r167-60-28-245.dialup.adsl.anteldata.net.uy [167.60.28.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mcenturion) by smtp.fing.edu.uy (Postfix) with ESMTPSA id 0890CE0DA4 for ; Thu, 19 Aug 2021 22:08:38 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fing.edu.uy; s=default; t=1629421719; bh=+Y/zfsNMdcbQ/A5x9JCf3YFXNbO8Ma5xbHHPIHVqrko=; h=From:To:Subject:Date; b=NlOMdkDxgxfsXoRcauBsaEwYVvxHbkDrqeh1+TqTXuFlDtucxE4l3EO9PHijcYm2k JfqGPHkM+TZusN76sqnI9xqPj/F9foIo6hOd8qilOuOBq+8V2R28vSb6ZIJoEAcpsf uXHWRFNzk+3EMGgVufqpYm9NMlwBU0Aq8k/WV3+g= From: Marco Centurion To: bug-gnu-emacs@gnu.org Subject: Re: bug#10897: copy-directory create new directory when copying a symlink Date: Thu, 19 Aug 2021 22:08:30 -0300 Message-ID: <87tujksz1t.fsf@fing.edu.uy> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=164.73.32.16; envelope-from=mcenturion@fing.edu.uy; helo=smtp.fing.edu.uy X-Spam_score_int: -5 X-Spam_score: -0.6 X-Spam_bar: / X-Spam_report: (-0.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FAKE_REPLY_C=1.486, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 19 Aug 2021 21:36:10 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain I failed to document the new behaviour in the docstring. The patch I sent didn't manage the creation of the new symlink correctly either, as it created it with the same name as the target. That is, in the examples given the result was: ------------------------- (copy-directory "~/tmp/foo" "~/Test" nil t) => [mcenturion@localhost ~]$ ls -l Test total 4 lrwxrwxrwx. 1 mcenturion mcenturion 26 ago 19 21:21 Test1 -> /home/mcenturion/tmp/Test1 ------------------------- This new patch corrects both mistakes. Sorry for the misfire. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=bug#10897.patch diff --git a/lisp/files.el b/lisp/files.el index 875ac55316..0bf8a2ea8d 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -6165,6 +6165,9 @@ copy-directory parent directories if they don't exist. Interactively, this happens by default. +If DIRECTORY is a symlink, create a symlink with the same target +as DIRECTORY. + If NEWNAME is a directory name, copy DIRECTORY as a subdirectory there. However, if called from Lisp with a non-nil optional argument COPY-CONTENTS, copy the contents of DIRECTORY directly @@ -6193,42 +6196,52 @@ copy-directory (setq directory (directory-file-name (expand-file-name directory)) newname (expand-file-name newname)) - (cond ((not (directory-name-p newname)) - ;; If NEWNAME is not a directory name, create it; - ;; that is where we will copy the files of DIRECTORY. - (make-directory newname parents)) - ;; NEWNAME is a directory name. If COPY-CONTENTS is non-nil, - ;; create NEWNAME if it is not already a directory; - ;; otherwise, create NEWNAME/[DIRECTORY-BASENAME]. - ((if copy-contents - (or parents (not (file-directory-p newname))) - (setq newname (concat newname - (file-name-nondirectory directory)))) - (make-directory (directory-file-name newname) parents)) - (t (setq follow t))) - - ;; Copy recursively. - (dolist (file - ;; We do not want to copy "." and "..". - (directory-files directory 'full - directory-files-no-dot-files-regexp)) - (let ((target (concat (file-name-as-directory newname) - (file-name-nondirectory file))) - (filetype (car (file-attributes file)))) - (cond - ((eq filetype t) ; Directory but not a symlink. - (copy-directory file target keep-time parents t)) - ((stringp filetype) ; Symbolic link - (make-symbolic-link filetype target t)) - ((copy-file file target t keep-time))))) - - ;; Set directory attributes. - (let ((modes (file-modes directory)) - (times (and keep-time (file-attribute-modification-time - (file-attributes directory)))) - (follow-flag (unless follow 'nofollow))) - (if modes (set-file-modes newname modes follow-flag)) - (if times (set-file-times newname times follow-flag)))))) + ;; If DIRECTORY is a symlink, create a symlink with the same target. + (if (file-symlink-p directory) + (let ((target (car (file-attributes directory)))) + (if (directory-name-p newname) + (make-symbolic-link target + (concat newname + (file-name-nondirectory directory)) + t) + (make-symbolic-link target newname t))) + ;; Else proceed to copy as a regular directory + (cond ((not (directory-name-p newname)) + ;; If NEWNAME is not a directory name, create it; + ;; that is where we will copy the files of DIRECTORY. + (make-directory newname parents)) + ;; NEWNAME is a directory name. If COPY-CONTENTS is non-nil, + ;; create NEWNAME if it is not already a directory; + ;; otherwise, create NEWNAME/[DIRECTORY-BASENAME]. + ((if copy-contents + (or parents (not (file-directory-p newname))) + (setq newname (concat newname + (file-name-nondirectory directory)))) + (make-directory (directory-file-name newname) parents)) + (t (setq follow t))) + + ;; Copy recursively. + (dolist (file + ;; We do not want to copy "." and "..". + (directory-files directory 'full + directory-files-no-dot-files-regexp)) + (let ((target (concat (file-name-as-directory newname) + (file-name-nondirectory file))) + (filetype (car (file-attributes file)))) + (cond + ((eq filetype t) ; Directory but not a symlink. + (copy-directory file target keep-time parents t)) + ((stringp filetype) ; Symbolic link + (make-symbolic-link filetype target t)) + ((copy-file file target t keep-time))))) + + ;; Set directory attributes. + (let ((modes (file-modes directory)) + (times (and keep-time (file-attribute-modification-time + (file-attributes directory)))) + (follow-flag (unless follow 'nofollow))) + (if modes (set-file-modes newname modes follow-flag)) + (if times (set-file-times newname times follow-flag))))))) ;; At time of writing, only info uses this. --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 Marco Centurion Unidad de Recursos Inform=C3=A1ticos Facultad de Ingenier=C3=ADa - UdelaR --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 20 01:51:47 2021 Received: (at 10897) by debbugs.gnu.org; 20 Aug 2021 05:51:47 +0000 Received: from localhost ([127.0.0.1]:32844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGxRS-00024P-Oj for submit@debbugs.gnu.org; Fri, 20 Aug 2021 01:51:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGxRQ-00024B-Ko for 10897@debbugs.gnu.org; Fri, 20 Aug 2021 01:51:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48224) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGxRJ-0002zw-QH; Fri, 20 Aug 2021 01:51:37 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3029 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGxRJ-0007ro-AS; Fri, 20 Aug 2021 01:51:37 -0400 Date: Fri, 20 Aug 2021 08:51:19 +0300 Message-Id: <83im001x60.fsf@gnu.org> From: Eli Zaretskii To: Marco Centurion In-Reply-To: <87tujksz1t.fsf@fing.edu.uy> (message from Marco Centurion on Thu, 19 Aug 2021 22:08:30 -0300) Subject: Re: bug#10897: copy-directory create new directory when copying a symlink References: <874nuchddl.fsf@gmail.com> <87tujksz1t.fsf@fing.edu.uy> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 10897 Cc: 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Marco Centurion > Date: Thu, 19 Aug 2021 22:08:30 -0300 > > I failed to document the new behaviour in the docstring. > > The patch I sent didn't manage the creation of the new symlink correctly > either, as it created it with the same name as the target. That is, in > the examples given the result was: > > ------------------------- > (copy-directory "~/tmp/foo" "~/Test" nil t) > => > [mcenturion@localhost ~]$ ls -l Test > total 4 > lrwxrwxrwx. 1 mcenturion mcenturion 26 ago 19 21:21 Test1 -> /home/mcenturion/tmp/Test1 > ------------------------- > > This new patch corrects both mistakes. Thanks. FWIW, I think this feature should be controlled by a user option, at least because it changes a very old behavior. Also, on some systems (MS-Windows, for example) creating a symlink requires non-default privileges, so it could be a nuisance to force this on such users. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 20 09:44:42 2021 Received: (at 10897) by debbugs.gnu.org; 20 Aug 2021 13:44:42 +0000 Received: from localhost ([127.0.0.1]:33304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH4p8-0003zL-AQ for submit@debbugs.gnu.org; Fri, 20 Aug 2021 09:44:42 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH4p6-0003z4-DT for 10897@debbugs.gnu.org; Fri, 20 Aug 2021 09:44:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=H8iVr82KUvUvx4siFu/HFQ2ZrLwsPFmjzkv6+0zkysQ=; b=II+5KkD13GGkvHnZnyCC+90u7K 9vmW+4SXQj4rdUUiC/JcBvo3arppXljLBbit8l2J1aMO8I9kO5QNxwX9UnHgrX1Xr2J1k3Tq+9HnM nwGmDhdxfocAeb/gkG/ds6Ytqh5b/joeYzMeiClFK9N2chy/howCPT1LSkHUKuscYxGU=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mH4ou-0004Yg-M1; Fri, 20 Aug 2021 15:44:33 +0200 From: Lars Ingebrigtsen To: Marco Centurion Subject: Re: bug#10897: copy-directory create new directory when copying a symlink References: <874nuchddl.fsf@gmail.com> <87tujksz1t.fsf@fing.edu.uy> Date: Fri, 20 Aug 2021 15:44:28 +0200 In-Reply-To: <87tujksz1t.fsf@fing.edu.uy> (Marco Centurion's message of "Thu, 19 Aug 2021 22:08:30 -0300") Message-ID: <87a6lc8c3n.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Marco Centurion writes: > This new patch corrects both mistakes. Thanks; applied to Emacs 28 (but I added the user option to control this, as Eli suggested). Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 10897 Cc: 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Marco Centurion writes: > This new patch corrects both mistakes. Thanks; applied to Emacs 28 (but I added the user option to control this, as Eli suggested). This change was small enough to apply without assigning copyright to the FSF, but for future patches you want to submit, it might make sense to get the paperwork started now, so that subsequent patches can be applied speedily. Would you be willing to sign such paperwork? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 20 09:44:45 2021 Received: (at control) by debbugs.gnu.org; 20 Aug 2021 13:44:45 +0000 Received: from localhost ([127.0.0.1]:33308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH4pB-0003zc-HS for submit@debbugs.gnu.org; Fri, 20 Aug 2021 09:44:45 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH4pA-0003zB-07 for control@debbugs.gnu.org; Fri, 20 Aug 2021 09:44:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=m8CTK1N4vPxbtAEGir3jHOME3e8aaHgoMBJYFSamY/o=; b=Rd+YS0bnvrlh/rieDvr2XN37v+ VMwZerjxIroMBNHlKSaovh/qT9cnb+PkHD1SEIzIM054MNPpIB50dtlZjbQoVgerHkVQBlKhcmxdo Xz3ampiviOPDXZ1q8WIdz2R1VDaasOSFGlm1PSTSO2BeNKATCFVZox7roY1TsXObB6YQ=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mH4p2-0004Yn-4T for control@debbugs.gnu.org; Fri, 20 Aug 2021 15:44:38 +0200 Date: Fri, 20 Aug 2021 15:44:35 +0200 Message-Id: <878s0w8c3g.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #10897 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 10897 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 10897 28.1 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 20 10:29:53 2021 Received: (at 10897) by debbugs.gnu.org; 20 Aug 2021 14:29:53 +0000 Received: from localhost ([127.0.0.1]:35243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH5Wr-0001Q8-3a for submit@debbugs.gnu.org; Fri, 20 Aug 2021 10:29:53 -0400 Received: from smtp.fing.edu.uy ([164.73.32.16]:60744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH5Wo-0001Ps-KA for 10897@debbugs.gnu.org; Fri, 20 Aug 2021 10:29:52 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.fing.edu.uy (Postfix) with ESMTP id 15CC4E0E03; Fri, 20 Aug 2021 11:29:43 -0300 (-03) X-Virus-Scanned: amavisd-new at fing.edu.uy Received: from smtp.fing.edu.uy ([127.0.0.1]) by localhost (smtp.fing.edu.uy [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yHkz1o8qWfIx; Fri, 20 Aug 2021 11:29:38 -0300 (-03) Received: from crusher.fing.edu.uy (crusher.fing.edu.uy [164.73.32.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mcenturion) by smtp.fing.edu.uy (Postfix) with ESMTPSA id E611EDF819; Fri, 20 Aug 2021 11:29:37 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fing.edu.uy; s=default; t=1629469778; bh=trnD+2WLKWvNWVsDJhj1VCUpYSKwCIVoaW6nIro2A9c=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=PlONPoA7n/xZKrKKfgcD8gYxD3gy819MJPpgWtosZIXg3/yUgIZVUDyhJfJEm571J vEEzBS40qEYg/SYayfuixFk+RzoVXVDPCUW6tkOWGprICK5c6ysYeiBcYX2QtWw1wK pwKRCbTTNSp4R++kUqInD7lmhxvnZ6kYmUXrB4Qs= From: Marco Centurion - URI To: Lars Ingebrigtsen Subject: Re: bug#10897: copy-directory create new directory when copying a symlink In-Reply-To: <87a6lc8c3n.fsf@gnus.org> References: <874nuchddl.fsf@gmail.com> <87tujksz1t.fsf@fing.edu.uy> <87a6lc8c3n.fsf@gnus.org> Date: Fri, 20 Aug 2021 11:29:32 -0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 10897 Cc: 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > This change was small enough to apply without assigning copyright to the > FSF, but for future patches you want to submit, it might make sense to > get the paperwork started now, so that subsequent patches can be applied > speedily. Would you be willing to sign such paperwork? Of course! I'll email assign@gnu.org to get the paperwork going. --=20 Marco Centurion Unidad de Recursos Inform=C3=A1ticos Facultad de Ingenier=C3=ADa - UdelaR From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 20 10:38:47 2021 Received: (at 10897) by debbugs.gnu.org; 20 Aug 2021 14:38:47 +0000 Received: from localhost ([127.0.0.1]:35263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH5fT-0003pg-KC for submit@debbugs.gnu.org; Fri, 20 Aug 2021 10:38:47 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH5fR-0003pS-Cx for 10897@debbugs.gnu.org; Fri, 20 Aug 2021 10:38:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=L9mVY4mANUCszUOc+m4Kw8uQG7GbG16S96PGBmxEI80=; b=GptkX+IzcP/FeyycgP1oFXSPzZ wpC/mncXyinNnhw2X+lRlg2FM0YVFFAU0Hu3gTRSYj3tlGyjoTBTFERnsPvWM6qzu1g+aiCt3gcxn 1O+MogJyvoC8NtzGxH6/LYREEwHuhMM8n0XLfGt1m9tlv43LikHElmbZHcxQUUa9yB1Y=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mH5fG-0004xH-4n; Fri, 20 Aug 2021 16:38:38 +0200 From: Lars Ingebrigtsen To: Marco Centurion - URI Subject: Re: bug#10897: copy-directory create new directory when copying a symlink References: <874nuchddl.fsf@gmail.com> <87tujksz1t.fsf@fing.edu.uy> <87a6lc8c3n.fsf@gnus.org> Date: Fri, 20 Aug 2021 16:38:30 +0200 In-Reply-To: (Marco Centurion's message of "Fri, 20 Aug 2021 11:29:32 -0300") Message-ID: <87h7fk6v15.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Marco Centurion - URI writes: >> This change was small enough to apply without assigning copyright to the >> FSF, but for future patches you want to submit, it might make sense to >> get the paperwork started now, so that subseque [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 10897 Cc: 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Marco Centurion - URI writes: >> This change was small enough to apply without assigning copyright to the >> FSF, but for future patches you want to submit, it might make sense to >> get the paperwork started now, so that subsequent patches can be applied >> speedily. Would you be willing to sign such paperwork? > > Of course! I'll email assign@gnu.org to get the paperwork going. Great! -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 22 09:35:11 2021 Received: (at 10897) by debbugs.gnu.org; 22 Aug 2021 13:35:11 +0000 Received: from localhost ([127.0.0.1]:38320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHnd1-0001M4-Df for submit@debbugs.gnu.org; Sun, 22 Aug 2021 09:35:11 -0400 Received: from mout.gmx.net ([212.227.15.19]:57963) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHncx-0001Lj-Rg for 10897@debbugs.gnu.org; Sun, 22 Aug 2021 09:35:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1629639299; bh=zWAKIkDVNNUPC7HBKnaUZcp9gdeQ9IolkuXREwuH0ww=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=TWX0ZhuRGKDNXTT8taIHUOotNPI6YX9NLJzomUy/NLVrWnRyDZKB/JC9jRh5gCg6c Vpr8KPfH3tkWb9sDlkKOTMLaJs/crhNxXUZ+KIn32yNz6HV9QDZvd/gWH8WFA+v8Yi XzjzZmp/YrQOqwzTirxgZY132ItUpg5waoHOQ8DE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([213.220.157.218]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M6UZv-1mOfO613s1-006w2K; Sun, 22 Aug 2021 15:34:59 +0200 From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#10897: copy-directory create new directory when copying a symlink References: <874nuchddl.fsf@gmail.com> <87tujksz1t.fsf@fing.edu.uy> <83im001x60.fsf@gnu.org> Date: Sun, 22 Aug 2021 15:34:57 +0200 In-Reply-To: <83im001x60.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 20 Aug 2021 08:51:19 +0300") Message-ID: <87r1elvbzy.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:awh6ai10VoPpccq22YI17rUEQ7bb97QxcA0zfLPuaXjsIGz8XCX y91jjbnmCXeO1PRGprETNZ9v1+iCH0UkiDGbSkSEeM9fwJkISMT2XqyEfIRE9myNVaiyR76 RHJJW3DZjYfATybaRaufvUcU44lpl/NlwQ2ctKEWUZjOMUCQmSal8m8giKspmxpAkgkehDv O65FFV/RvH5YP2EEj7/kA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:fIVF8G0XVSg=:0SDv5Eg3Z6oUppH7spVaR2 +LknooSfkDWa2c8gsQvsRcdIKKBYHuFFtBdleNwyUXgbBhjj5BwHUzMCzfYaEwJOc3PDU9nRD QpSesiv0I4GzBG2BPFUhuntQqr8m3myFx6KiRxVLcNXv+aclpgmr3JbVdtPaKZewO94Vveh6g W8/uCETrTMf4fQlUyDr+KFie23uTI/CugvI5UMjlBiFkG2qeQfCeGIOetWXTDM9xFYzUqbBd+ dwI9LvpvFvO5p2FRpQcn51R7coGAlMxsarv+gEAK8iAXq2r8Kuw3PzmIHfsAYpIG3kHxRiYql mePMPaHY8CiKMroKnjsRfQTVk8JxFhM3AdBsRfTb1ASbYcsi8wDWtuzAfWzC0K8+CTOzoueHJ 12t+3vddVb+tnuwrgSvrvFTXhj5+EhP1Ov1lCo1BThk1ZMIRgX764blFbMcxHVIH6p+nLi1Xz rzOwh1uBSg8L/ISq4DpwJxmnHQeVwiV4lHTHSUJwtRzB8WR38FKAxi5iQ8G5aVB88vt7rH8/T jUXTAwX9U5esUUbknxNAbKiEranQV2gQcHW0uzzAqQ1leUFMqugZnISRySpQg3mIM2Xy0EhMF mL1tPDZtSVgmV7ANPj0jMSLo10CEqCaX8q7j+6jAurJajkXJfRENzWc5bc6GZTNUsnCnb6e3K C4NU9JwxYWeeV5nBLVN1CxOgWNplH50B9/QDgVPtUAcrq+OPJO1Sgmh+ng5+LtpiUK6rtyGZO r+coQHUTH2N1lJfbexAMdD7LrADiQbahJwraYwJeGCti5ED/FxlElqJfZITczsSuhwyavqjNg SdkMEtkhUVLcjd0fu1Wx9cIvTBx5FzA4LbwpFcfx03qtE+zKhbP7fMchgIvvWgUuWcFiS6PNG P3vv16+jjtYn/8vAUHNngO9Kqhu2RAz3RmrLpdYxMLT09aBmaYZxNt2na3jKgtJ72ubAKzod0 4kFNqArbcNqPYUMbUPj8KTck4V7YvzyAzB6Jy5M0T6JnXAG9KOE8d/D3tUDWujikq+Wxg5mTb cHGT5IRkFUAmBNbyEaKBZswk6d6c3Sx2LwgLjk3I+XWHhJxxFrz1+LwhflZ1AymIH0sxIyrwb JWIEKRInXNM5UhSHn2vFawFdO2CMMHiEoZ9vJhWfSWkjaQI/2+Vp/gHqA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 10897 Cc: Marco Centurion , 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: > FWIW, I think this feature should be controlled by a user option, at > least because it changes a very old behavior. Also, on some systems > (MS-Windows, for example) creating a symlink requires non-default > privileges, so it could be a nuisance to force this on such users. Hmm. Is this something we want also in Tramp? Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 22 09:47:08 2021 Received: (at 10897) by debbugs.gnu.org; 22 Aug 2021 13:47:08 +0000 Received: from localhost ([127.0.0.1]:38324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHnoW-0001dL-Gw for submit@debbugs.gnu.org; Sun, 22 Aug 2021 09:47:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHnoQ-0001cm-R3 for 10897@debbugs.gnu.org; Sun, 22 Aug 2021 09:47:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48110) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHnoJ-00054h-KQ; Sun, 22 Aug 2021 09:46:51 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3615 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHnoJ-0007Vn-3w; Sun, 22 Aug 2021 09:46:51 -0400 Date: Sun, 22 Aug 2021 16:46:39 +0300 Message-Id: <8335r1y4lc.fsf@gnu.org> From: Eli Zaretskii To: Michael Albinus In-Reply-To: <87r1elvbzy.fsf@gmx.de> (message from Michael Albinus on Sun, 22 Aug 2021 15:34:57 +0200) Subject: Re: bug#10897: copy-directory create new directory when copying a symlink References: <874nuchddl.fsf@gmail.com> <87tujksz1t.fsf@fing.edu.uy> <83im001x60.fsf@gnu.org> <87r1elvbzy.fsf@gmx.de> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 10897 Cc: mcenturion@fing.edu.uy, 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Michael Albinus > Cc: Marco Centurion , 10897@debbugs.gnu.org > Date: Sun, 22 Aug 2021 15:34:57 +0200 > > Eli Zaretskii writes: > > > FWIW, I think this feature should be controlled by a user option, at > > least because it changes a very old behavior. Also, on some systems > > (MS-Windows, for example) creating a symlink requires non-default > > privileges, so it could be a nuisance to force this on such users. > > Hmm. Is this something we want also in Tramp? Which part, specifically? From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 22 10:58:32 2021 Received: (at 10897) by debbugs.gnu.org; 22 Aug 2021 14:58:32 +0000 Received: from localhost ([127.0.0.1]:39703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHovg-0005w2-3L for submit@debbugs.gnu.org; Sun, 22 Aug 2021 10:58:32 -0400 Received: from mout.gmx.net ([212.227.15.19]:36165) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHovb-0005vl-86 for 10897@debbugs.gnu.org; Sun, 22 Aug 2021 10:58:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1629644301; bh=1qQqpGGXToSib1WP9fuGHgsOl2iSrQC+G4KdzxQy7QU=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=exrsnRP5Xbbn2aoJlmLhoccPZWmPR8npN1YyYA0FIQY80z/Fbr0RNiKFshu1dVqpm zvFnWhL9x8sS99gZy+nm786PeIQJpejIyXwyPbE7G4PRmH3wY++RMER4hSOxFZdgd1 qVblIyjktUABL/cnF3hePJ584vvdsbat+RYyNoew= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([213.220.157.218]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MLi8g-1mZLoL0SJs-00HiZ2; Sun, 22 Aug 2021 16:58:21 +0200 From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#10897: copy-directory create new directory when copying a symlink References: <874nuchddl.fsf@gmail.com> <87tujksz1t.fsf@fing.edu.uy> <83im001x60.fsf@gnu.org> <87r1elvbzy.fsf@gmx.de> <8335r1y4lc.fsf@gnu.org> Date: Sun, 22 Aug 2021 16:58:16 +0200 In-Reply-To: <8335r1y4lc.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 22 Aug 2021 16:46:39 +0300") Message-ID: <87ilzxv853.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:JGed3/mx62fsD4OwKcQ8wTcYsG/ZeXrLCUkHg644kUWnqZ9/ziX WBQJptuF4xCsRcz9jVqE24vQgU5ptY2/61q7VaN/MEzV/eeLN1bJW/hLqiUhzxR1XGYQaJL GhxrytOHwfYpYV6e+j1XqRE51KGr963MdpuXUMj8S8mVu2zxQuPT8AsurPSJpZKL4McAwRE cqUIQGYdYGK29iceUbbow== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:S3UC9PQ8L5M=:H4ZujH/a6exHfulpm9vMli JDJQ7KI7vuWulZS0vm9AoVamnetdJQJbNm+sES6ymD7ogEMJWPTgy3uiznp4a1QLHUJOPihWj 0nJAVpP8A1WRC2PSMPkhj5M/1FJXBKiJfS1eDl1dOvnrN3m6dBuBRGliV5RDEcW01ORK/JmXi AKZMx4CkFRWlUC94JRn2eU8BvuN0Tk5M34Wo5kfaOiig4dSEZswi47DcGHB1syAK9kPGI3Uh+ tAiiMNqoUp8jcpyE7xfEKoiW6pPm1YkjWhTqTXeSmySb6O1WS9leABuYpaZscU5ryrSWTLQnn q5qlvidqZekh1vhFJmXplNH7bP6AOoDPyl98tOI+2bi/+LhLMyYX6iU92Df2dtrMVfM/IINof oY1e9KNHSGTGBuAkpG9F+1qJM8Ipv9RAybViwR22/+O4dgeH0rBYgCxR90yO8NABLmZqAi6CQ FW3h0aTzWAZrQ5zsS1AcA50UkjOtU/4j+Ivyd0HqnB+jeilmlKWCUZEz30EbbGEigQk4QRN7w v3xJKRa+iQZiOYUIlen+kHq/4XQMiPb/Nc8z1scARhGzy760lOPplvykDT7We01/jf5pdxARe z/Uj/nWHDxAyryzRvRjwI1LHIBNQGCqsU0EuEFcmBiCudwZbOUG4oImKeekzA8JX8F4MuJJn4 sHtB8u/7TxVPtuFW70hgmfcKglZxrOMK/gHmMAgLYYGwyrsKD5p0q4ehDc+KHctOQMFZbu1Hx 7EQdkNm0cakOK7TBxKkUuwTQt43dm4DUTRinvdlRGYmSZtWwBRNO0/y76YyNIOH2615ofxhO6 /qLnEByNn6AV+etJTk02sZd5Gvv8gRlA+2RRzVUVIpMpsK5sIdIJG3Xl5ryrFCFYXtCwPxv78 eqP131uNshlZgP9DkkAbnENt/UMEDngwYqYYlioKnHcd+oekMORuX/0Qk61uKbjknSVuJL7hF D7gzC/IuubcckX0XBKH8v5ExWJ9Xby1eUvJLT7b/0DzImR8XLDWihGJb9Q1P2I86xpkqP/DXo glF0tADJNw7dDPIK20856pFBgD3Z0WjFEop53VSMukObyM/MIVQUlfW0lnj6GpSJ1VR1bWDSi 2XuKUEKZk/OnG6Cu3e+TcDDZAOr2nD2m3aNsiQ1o04mWK4/0GZ+3X2ICA== Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 10897 Cc: mcenturion@fing.edu.uy, 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: Hi Eli, >> > FWIW, I think this feature should be controlled by a user option, at >> > least because it changes a very old behavior. Also, on some systems >> > (MS-Windows, for example) creating a symlink requires non-default >> > privileges, so it could be a nuisance to force this on such users. >> >> Hmm. Is this something we want also in Tramp? > > Which part, specifically? Copy a symbolic link as-is. Example: =2D-8<---------------cut here---------------start------------->8--- (make-directory "/ssh::/tmp/foo") (write-region "baz" nil "/ssh::/tmp/foo/baz") (make-symbolic-link "/ssh::/tmp/foo" "/ssh::/tmp/bar") (copy-directory "/ssh::/tmp/bar" "/ssh::/tmp/bla") =2D-8<---------------cut here---------------end--------------->8--- Currently, this creates a new directory "/ssh::/tmp/bla", which contains the file "baz". If the new user option copy-directory-create-symlink is non-nil, this should create the symlink "/ssh::/tmp/bla", pointing to "/tmp/foo". There are many traps in implementation, especially in case DIRECTORY and NEWNAME of copy-directory are located on different hosts. But first, we shall decide whether such a feature is useful for Tramp files in general. (I would say yes, with all pain I see in the implementation.) Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 22 12:47:38 2021 Received: (at 10897) by debbugs.gnu.org; 22 Aug 2021 16:47:38 +0000 Received: from localhost ([127.0.0.1]:39733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHqdF-0004Qi-2c for submit@debbugs.gnu.org; Sun, 22 Aug 2021 12:47:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHqd9-0004QS-NT for 10897@debbugs.gnu.org; Sun, 22 Aug 2021 12:47:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51268) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHqd2-0007m2-Qj; Sun, 22 Aug 2021 12:47:24 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2742 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHqd2-0007As-Ds; Sun, 22 Aug 2021 12:47:24 -0400 Date: Sun, 22 Aug 2021 19:47:12 +0300 Message-Id: <831r6lxw8f.fsf@gnu.org> From: Eli Zaretskii To: Michael Albinus In-Reply-To: <87ilzxv853.fsf@gmx.de> (message from Michael Albinus on Sun, 22 Aug 2021 16:58:16 +0200) Subject: Re: bug#10897: copy-directory create new directory when copying a symlink References: <874nuchddl.fsf@gmail.com> <87tujksz1t.fsf@fing.edu.uy> <83im001x60.fsf@gnu.org> <87r1elvbzy.fsf@gmx.de> <8335r1y4lc.fsf@gnu.org> <87ilzxv853.fsf@gmx.de> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 10897 Cc: mcenturion@fing.edu.uy, 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Michael Albinus > Cc: mcenturion@fing.edu.uy, 10897@debbugs.gnu.org > Date: Sun, 22 Aug 2021 16:58:16 +0200 > > >> Hmm. Is this something we want also in Tramp? > > > > Which part, specifically? > > Copy a symbolic link as-is. Example: > > --8<---------------cut here---------------start------------->8--- > (make-directory "/ssh::/tmp/foo") > (write-region "baz" nil "/ssh::/tmp/foo/baz") > (make-symbolic-link "/ssh::/tmp/foo" "/ssh::/tmp/bar") > (copy-directory "/ssh::/tmp/bar" "/ssh::/tmp/bla") > --8<---------------cut here---------------end--------------->8--- > > Currently, this creates a new directory "/ssh::/tmp/bla", which contains > the file "baz". If the new user option copy-directory-create-symlink is > non-nil, this should create the symlink "/ssh::/tmp/bla", pointing to > "/tmp/foo". Yes, sure. We should support that with remote files as much as possible. From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 22 13:13:25 2021 Received: (at 10897) by debbugs.gnu.org; 22 Aug 2021 17:13:25 +0000 Received: from localhost ([127.0.0.1]:39745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHr29-00053l-Vi for submit@debbugs.gnu.org; Sun, 22 Aug 2021 13:13:25 -0400 Received: from mout.gmx.net ([212.227.15.15]:41543) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHr25-00053V-Gm for 10897@debbugs.gnu.org; Sun, 22 Aug 2021 13:13:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1629652389; bh=KIvHFhOD6G6sQqS1cqoZhmlLeDDTdHCWq2WDCQZJwdA=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=H5TkPXYtkCmzYVh1mByCobW1E9DUe6Is6A4EP5J1hw7q85MsunScQp2kbWJKQVr0O mbuFYaWG0GQKixLqI0iLPOVNph+TPZiymebKv8vJTWqr0KNFFWdSWisWeUlWFKm5SA 6ID/VoKo+YiDTSnsmn3lgrJYaxF9tVoKbK3eNFDM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([213.220.157.218]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MIdiZ-1mEsLp2w5d-00EbQD; Sun, 22 Aug 2021 19:13:08 +0200 From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#10897: copy-directory create new directory when copying a symlink References: <874nuchddl.fsf@gmail.com> <87tujksz1t.fsf@fing.edu.uy> <83im001x60.fsf@gnu.org> <87r1elvbzy.fsf@gmx.de> <8335r1y4lc.fsf@gnu.org> <87ilzxv853.fsf@gmx.de> <831r6lxw8f.fsf@gnu.org> Date: Sun, 22 Aug 2021 19:13:03 +0200 In-Reply-To: <831r6lxw8f.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 22 Aug 2021 19:47:12 +0300") Message-ID: <87eealv1wg.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:S1BlLK9xxRsBJ0DV5AFxOerBIt4rWEn+F0yGHDz2V8/NZZ5R5EU +vqrun1GlaGlT+a4uhmpO9zuLvbQtsVU8AEAZxj7GyHaPm36PKcxnjmwP/aKt6Io+sGhBOh bQ9c+jdWnlDiO1oGuPlup0x322YaeMfxIl8h28ESNTzxEN2AFLB5SYMW0Pe6r1S56cCN0AU i1bcYuvTwzT4hwGETwYyA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:HRib6xg9P8Y=:r1/bf8Saw6x9By79gRkOVC gP7cSbabhpR4SV5yKhjQtyKoH8RIsFb1QiAaOGRouy8gjQwut9x5hUOSlp4mUqj2law2ZCDF4 WzrNj5GGl1lzUlUyXrpDJAlAGGAPJQHPSIqaO2TI3R3O3maQcKoChI9GaCq630LY5PMj2MfAd Gq3TR2HGacTjvBh1qW7UPbmWiDP1M3OydEy9d9z0F97X+AEZ35dEB3MDhgqTBMCjFMlOlUumv 1+B10jqdyF8domA5FiwPnG6MXx1853P/0MTszfCidlNRla4wmiRlJBftjzzofzRuKeSEJzlAo 0f1y8Zz3sNwlC2gmouENPiqVoHSs6R3WVwk3Em4Ey9LvquDwdO2Ff/fknaVwzswA1AtPaGFeI XZQxD8hYZ0Ixh/AF/sDOiGrRcx9vVXYgMsETE7MNavmQ5bG0/XRT+4wiHWM/SvT/u7ZJP0ns+ yXYeqfsf3V7h56lQVqL5OB6s/NJD+vz7yJ83DPtU5He5fHK2FPeQiHd3z73uqUccawI8W8Rnu l3nNwP0jtHpBMJ+ZzsLST13lxNlJ1mm8l2Av4EMBlvBprxiMpwwMVoTaQmHZ7rerBrHhZtV52 Cl0tcV5LPyFNz54d67QR20JOIibeFJ7ygY68nmXDV9mXxl9T5FC99cy88ghjrnlyrvXJfDGCk yu2f/+wM3eLspOHSQSfvITE0FbAvB0lIXuQkkkom843NDn6dq5jIvn5f7WIbVJt5VY+efqXdz uszVywUdlacrgdhiF1aMc78WPnDzBv4RruHFySbwrI2d8e3OIRuTPzkebl2ycX7/wGbXoIAl3 Iv7wkjH5x9j0G/X3e60P/45bZR8kbajcbmTdAH7yR9EPYyu+wkA7+HVBw4izCYYtq2EnV6YuQ cAFrZirZCmtEXAVoe4Ut/ddReL7aujFjibfoeVxfCtjYxQe1jNj6M3wc9wubsWBpz6uY8LIV9 oXic3yVfcT/ZdgbNGiK/0WT9stn9NB6H/L85TZ7VQmT1AHet2J2jm1Iop5OsnNFAtRwlDkbbX lTcqZFtbd9YTl7+zcJQ9d2385w8y5xHphcB+hgaSKcyGmPUDWBXT+0J7Wg0fBuh2SHLn8SGYz laxu67yzsoa/ckqGPMMgHwlFmL0LL9pqOLLfVXu+KBYuglQJQMNJt8fNw== Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 10897 Cc: mcenturion@fing.edu.uy, 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: Hi Eli, >> Copy a symbolic link as-is. Example: >> >> --8<---------------cut here---------------start------------->8--- >> (make-directory "/ssh::/tmp/foo") >> (write-region "baz" nil "/ssh::/tmp/foo/baz") >> (make-symbolic-link "/ssh::/tmp/foo" "/ssh::/tmp/bar") >> (copy-directory "/ssh::/tmp/bar" "/ssh::/tmp/bla") >> --8<---------------cut here---------------end--------------->8--- >> >> Currently, this creates a new directory "/ssh::/tmp/bla", which contain= s >> the file "baz". If the new user option copy-directory-create-symlink is >> non-nil, this should create the symlink "/ssh::/tmp/bla", pointing to >> "/tmp/foo". > > Yes, sure. We should support that with remote files as much as > possible. Will do. Thinking about, it makes only sense when both DIRECTORY and NEWNAME are located on the same host. That's what I'm going to implement. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 22 14:48:24 2021 Received: (at 10897) by debbugs.gnu.org; 22 Aug 2021 18:48:24 +0000 Received: from localhost ([127.0.0.1]:39792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHsW8-0007Oo-IQ for submit@debbugs.gnu.org; Sun, 22 Aug 2021 14:48:24 -0400 Received: from mout.gmx.net ([212.227.17.22]:52027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHsW6-0007Ob-P9 for 10897@debbugs.gnu.org; Sun, 22 Aug 2021 14:48:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1629658095; bh=9BDkYyEfD71Rk6SDs/kcd8Zx5/WOFwzGvMsPAgrZT/w=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=NAGRbbrThpnfHzT5wVPFXztomkfdDHn5a2eUIZe/ukjlqJWIdbpHrljGj+wvqT1yY KBBYlEppt59cUJLQRz7WJ66x5zDIMiClDnTRLjliJu5tuRCARaUEc5z/vKZQGtdSEB 5LoN2v0F2RivJVXRt/epOiQvhVqMCvLhqfoixpeg= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([213.220.157.218]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N9dwj-1n5bJb3m1F-015WpN; Sun, 22 Aug 2021 20:48:15 +0200 From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#10897: copy-directory create new directory when copying a symlink References: <874nuchddl.fsf@gmail.com> <87tujksz1t.fsf@fing.edu.uy> <83im001x60.fsf@gnu.org> <87r1elvbzy.fsf@gmx.de> <8335r1y4lc.fsf@gnu.org> <87ilzxv853.fsf@gmx.de> <831r6lxw8f.fsf@gnu.org> <87eealv1wg.fsf@gmx.de> Date: Sun, 22 Aug 2021 20:48:12 +0200 In-Reply-To: <87eealv1wg.fsf@gmx.de> (Michael Albinus's message of "Sun, 22 Aug 2021 19:13:03 +0200") Message-ID: <87eealb9jn.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:mWaR9yRKvVpG2IU8yRdBXAf5XQ526HGFl/Exs3WVUkSr/hDZHAd fVlvKlXirZaOkawZ7AqBh4g3NfR/noAaYQaqhp8FI8/b3N5nNH0r7AkrEzf5Et7R1JFuo25 sWTkysCEbrEf3SRPbEHj+luGbNNn3L7lx8Sew5NL0Ysx8jzRPDMaBSSJRieNO+QCNEEXMSi VlhlUwUNebPG7JPckRZug== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Hx/rab5HF0Q=:pFQcTpS/JzCwj7p118+7k6 nQzbL9JVsiFQ8Mh+MLutGXohug3d7hDMkiFlGXPtT5ud1BY24nAny5E1wqGFaf6CKU96mHI+G bnJ1dAOLpVSTCz5+XUndKNjhGhR26AGUzCqry03kyCdSc4IDjGt6jYWoR9zFQvr7Nna20w33E +4uoToXatJrbSFcRDOsbNY8T7szgnMHfUZsYaZACTf2m1MAx6m5RJrvwk14kfSQ1b0ZDTz+am A4UH1+rK7a4bWKH6CzoGxyUkjA+vYxwC8njBENcE+9+AIWEtX+o22wUj4k1nKlOJmzOujV2/o TaWlQTcRk+Eut+ms7/npZBIfb9SCec4HdqarCMpyJzZt/IXfVpWJGgoduzirJajSp111B/SyJ zMJHSNQh+ofBSuOooKy7RxOlJUqBCiu0oCQZjt2bwcQWup7KSIKX5ksz1GnP3fV0bajb6xGOl N6ggLtUdRdSftITKerg1NZTGFko33QwUnrc79QPmZRN8G7EzOX837BsqyYGnLnik4dkiTXxuf 5q9PNEH92n+wAB1rvHhzgNAvmlwMMNtH6+WQAnwtWYsZ3fvBNEzEGZuYek+zXRL3p9EQ0gFe2 piShYUbi9vt+xS6+kWnG78CEp/AcsHkPKrlwWSb7qadl/CRNIKZBk3S1LJpqCy+JJuRJjtMEp tcXT1P376C4J3+FCzWWu4Zqtey6JvJdheAC+lPuMg31hp8LAiXmjNQDle/oPPRK7whEWzl0u6 ZcaJgzsN+wgijm+SaLUQkfaA1NvOGE5uR8iMdJJOY5b07e7hOThkRTz02DN++FcHRKuKzqbYM mM/aM7+fC5UMFT0OqUmw+0Cgfpd1R2a9FoUD7LqkPNln8FVYNdEX8hi0fzy412j3DcAW0khih N5t7j+HcewuqP/IzCwwZMWfmFnVTYOmmphSJXyh5Msk0VV1jb36ahYhYRWg2SljqvLpmiIjBZ ms36UYJTbbCVG49sCcBB12jZ2whP9XXYq/QkLZgRERhwFCnbaGkarNB5z64iDnW5q7gBDLMCZ h/G6ABpraH/5vNqLWvLSegLgzwXuWZ+D8MsQDLZi2ktKfHx58Z4ZVyyx539P5ay1scvLM7w1A zHX+O/x9zZtJ6sxQLR2YdMtZ2oVAX9sUHAk5NWKKAgwWshEfFin+aJosw== Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 10897 Cc: mcenturion@fing.edu.uy, 10897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Michael Albinus writes: Hi Eli, >>> Currently, this creates a new directory "/ssh::/tmp/bla", which contai= ns >>> the file "baz". If the new user option copy-directory-create-symlink i= s >>> non-nil, this should create the symlink "/ssh::/tmp/bla", pointing to >>> "/tmp/foo". >> >> Yes, sure. We should support that with remote files as much as >> possible. > > Will do. Thinking about, it makes only sense when both DIRECTORY and > NEWNAME are located on the same host. That's what I'm going to implement= . Done. I've implemented it for all methods declared in tramp-sh.el; for other methods it isn't relevant. Best regards, Michael. From unknown Fri Sep 19 14:23:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 20 Sep 2021 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator