From unknown Sun Jun 22 07:58:53 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3736: 23.1.50; Please use null-device instead of /dev/null Reply-To: Lennart Borgman , 3736@debbugs.gnu.org Resent-From: Lennart Borgman Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 01 Jul 2009 20:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 3736 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.1246479763856 (code B ref -1); Wed, 01 Jul 2009 20:30:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 1 Jul 2009 20:22:43 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.0 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n61KMdNC000851 for ; Wed, 1 Jul 2009 13:22:40 -0700 Received: from mx10.gnu.org ([199.232.76.166]:39398) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MM6KE-0004KG-Nc for emacs-pretest-bug@gnu.org; Wed, 01 Jul 2009 16:22:38 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MM6KE-0003PI-Fm for emacs-pretest-bug@gnu.org; Wed, 01 Jul 2009 16:22:38 -0400 Received: from mail-bw0-f207.google.com ([209.85.218.207]:45060) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MM6KE-0003P2-5s for emacs-pretest-bug@gnu.org; Wed, 01 Jul 2009 16:22:38 -0400 Received: by bwz3 with SMTP id 3so52411bwz.42 for ; Wed, 01 Jul 2009 13:22:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=JZ0swBpqsfqA6yPPOxH+6dvm/DOb+uN2lw5UdyNvAd4=; b=UtfC8yQ9sZiIBeD1diPmzQ+p8bDEyjCTuVUkaWY+CZlgeY4w6idrsMShs02i1+mQqB iHQ1M34g7DR0/zO4zFIzs5JYFgsQUwgrXDx7pxnxuFPKB4COQjXs5anT5l21tK4hLhOA YjK+sbpajbey/nnkZYSrx4cj80FUwKHvDtOC8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=wC4QDxTElmmZOeNCEBL950sQdX3S5RHDSquFIVrsQ/SK2gdAUx9CnWgQYv+eaF+ZrA iXz7lJDbKqGbCpa8Y85iGZwX1jDxmntc89c1H2LFrAJnRZN13YNaEwevPz53B5UtuJ1i 3lMyGIRc8C1Il8tMnZhyZIq7Sb33g4T9HF61k= MIME-Version: 1.0 Received: by 10.239.132.147 with SMTP id 19mr839312hbr.153.1246479756673; Wed, 01 Jul 2009 13:22:36 -0700 (PDT) Date: Wed, 1 Jul 2009 22:22:36 +0200 Message-ID: From: Lennart Borgman To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) There are nearly a hundred places in Emacs lisp sources where /dev/null is used instead of null-device. Please convert those to use null-device so that it gets system-independent. (I wonder what to do with those in Tramp.) In GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-06-30 From unknown Sun Jun 22 07:58:53 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3736: 23.1.50; Please use null-device instead of /dev/null Reply-To: Michael Albinus , 3736@debbugs.gnu.org Resent-From: Michael Albinus Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 02 Jul 2009 12:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3736 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12465373856015 (code B ref -1); Thu, 02 Jul 2009 12:30:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 2 Jul 2009 12:23:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.3 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER autolearn=unavailable version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n62CN09s006007 for ; Thu, 2 Jul 2009 05:23:01 -0700 Received: from mail.gnu.org ([199.232.76.166]:60449 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MMLJc-0000tI-1F for emacs-pretest-bug@gnu.org; Thu, 02 Jul 2009 08:23:00 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MMLJZ-000482-J2 for emacs-pretest-bug@gnu.org; Thu, 02 Jul 2009 08:22:58 -0400 Received: from mailrelay1.alcatel.de ([194.113.59.95]:49277) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MMLJZ-00047m-4t for emacs-pretest-bug@gnu.org; Thu, 02 Jul 2009 08:22:57 -0400 Received: from destgsu0048.stgl.sel.alcatel.de (destgsu0048.de.alcatel-lucent.com [149.204.242.4]) by mailrelay1.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n62CMdrA004171; Thu, 2 Jul 2009 14:22:39 +0200 Received: from slbhn1.alcatel.de (slbhn1.de.alcatel-lucent.com [149.204.90.35]) by destgsu0048.stgl.sel.alcatel.de (8.12.3/8.12.3) with ESMTP id n62CMdY4010616; Thu, 2 Jul 2009 14:22:39 +0200 (MEST) From: Michael Albinus To: Lennart Borgman Cc: 3736@debbugs.gnu.org, emacs-pretest-bug@gnu.org References: Date: Thu, 02 Jul 2009 14:22:38 +0200 In-Reply-To: (Lennart Borgman's message of "Wed, 1 Jul 2009 22:22:36 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Alcanet-virus-scanned: n62CMdY4010616 at destgsu0048.stgl.sel.alcatel.de X-Scanned-By: MIMEDefang 2.57 on 149.204.45.72 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 2) Lennart Borgman writes: > There are nearly a hundred places in Emacs lisp sources where > /dev/null is used instead of null-device. Please convert those to use > null-device so that it gets system-independent. (I wonder what to do > with those in Tramp.) On W32 systems, null-device is "NUL". Not useful for Tramp, it needs "/dev/null" on remote machines. Best regards, Michael. From unknown Sun Jun 22 07:58:53 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3736: 23.1.50; Please use null-device instead of /dev/null Reply-To: Jason Rumney , 3736@debbugs.gnu.org Resent-From: Jason Rumney Original-Sender: Jason Rumney Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 02 Jul 2009 13:10:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3736 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124653988613483 (code B ref -1); Thu, 02 Jul 2009 13:10:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 2 Jul 2009 13:04:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.6 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=unavailable version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n62D4e7M013450 for ; Thu, 2 Jul 2009 06:04:41 -0700 Received: from mail.gnu.org ([199.232.76.166]:34173 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MMLxu-0006tQ-Mz for emacs-pretest-bug@gnu.org; Thu, 02 Jul 2009 09:04:39 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MMLxt-0003Io-5y for emacs-pretest-bug@gnu.org; Thu, 02 Jul 2009 09:04:37 -0400 Received: from mail-pz0-f197.google.com ([209.85.222.197]:44811) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MMLxs-0003IE-NF for emacs-pretest-bug@gnu.org; Thu, 02 Jul 2009 09:04:36 -0400 Received: by pzk35 with SMTP id 35so225064pzk.14 for ; Thu, 02 Jul 2009 06:04:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=J2uRWRzMX1EZSUsK3GLn63jq06skTOmKVTlQogYaWGs=; b=We7y1tU2oY3rBpd8P/vU3p8v5XLbiZRCQGQOqYepFFDTaP7Br+UaAVUf8R3Gzozth/ SxxyexwVt7F67olqNMm5Yh+HbDLfGrxzPG8EdWpYbzDYS1KpWPJ4b7jCmJtfzj917B6C CGZ13dbjzB+pl0aJ41fBr0N3FS2oQzEI20ifg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=kSjLVgdywmhhzDLNGkm924TMSRZDlyyrZJXfs8KR9PyWchhohySHKANDfGgJtR0GaR kkotqiDdssI/GruN1LsPJMGoTZq9ejFskh7qC74SgeSmGpkIixAk9eGFJAHjFPz8Kku6 V56Vuf1tpX+nUI+1y/hjMetF4mwrhBq9tFMwQ= Received: by 10.142.78.10 with SMTP id a10mr1772wfb.306.1246539874407; Thu, 02 Jul 2009 06:04:34 -0700 (PDT) Received: from ?192.168.249.26? ([118.101.237.115]) by mx.google.com with ESMTPS id 30sm6923967wfa.15.2009.07.02.06.04.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Jul 2009 06:04:33 -0700 (PDT) Sender: Jason Rumney Message-ID: <4A4CB03E.2000602@gnu.org> Date: Thu, 02 Jul 2009 21:03:58 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Michael Albinus , 3736@debbugs.gnu.org CC: Lennart Borgman , emacs-pretest-bug@gnu.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Michael Albinus wrote: > On W32 systems, null-device is "NUL". Not useful for Tramp, it needs > "/dev/null" on remote machines. > What if the remote machine uses "NUL", "NLA0:" or "Dev:Nul" for its null device? I think tramp benefits from the use of null-device instead of hard-coded "/dev/null" as much as any other part of Emacs. From unknown Sun Jun 22 07:58:53 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3736: 23.1.50; Please use null-device instead of /dev/null Reply-To: Sven Joachim , 3736@debbugs.gnu.org Resent-From: Sven Joachim Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 02 Jul 2009 14:05:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3736 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3736-submit@emacsbugs.donarmstrong.com id=B3736.124654306724326 (code B ref 3736); Thu, 02 Jul 2009 14:05:08 +0000 Received: (at 3736) by emacsbugs.donarmstrong.com; 2 Jul 2009 13:57:47 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-4.0 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id n62Dvfnx024291 for <3736@emacsbugs.donarmstrong.com>; Thu, 2 Jul 2009 06:57:42 -0700 Received: (qmail invoked by alias); 02 Jul 2009 13:57:34 -0000 Received: from p54867930.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.121.48] by mail.gmx.net (mp001) with SMTP; 02 Jul 2009 15:57:34 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1+CFnUYhe2Cuphe6j47dKF1k8aqLFdrIvdiytPZXF EgwRSg/lYiYpky Received: by turtle.gmx.de (Postfix, from userid 1000) id 93358354A2; Thu, 2 Jul 2009 15:57:33 +0200 (CEST) From: Sven Joachim To: Jason Rumney Cc: 3736@debbugs.gnu.org, Michael Albinus References: <4A4CB03E.2000602@gnu.org> Date: Thu, 02 Jul 2009 15:57:33 +0200 In-Reply-To: <4A4CB03E.2000602@gnu.org> (Jason Rumney's message of "Thu, 02 Jul 2009 21:03:58 +0800") Message-ID: <87tz1v2nn6.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.66 On 2009-07-02 15:03 +0200, Jason Rumney wrote: > Michael Albinus wrote: > >> On W32 systems, null-device is "NUL". Not useful for Tramp, it needs >> "/dev/null" on remote machines. >> > > What if the remote machine uses "NUL", "NLA0:" or "Dev:Nul" for its > null device? I think tramp benefits from the use of null-device > instead of hard-coded "/dev/null" as much as any other part of Emacs. Not really, you know what null-device should be for the local machine, but not for remote computers. Sven From unknown Sun Jun 22 07:58:53 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3736: 23.1.50; Please use null-device instead of /dev/null Reply-To: Jason Rumney , 3736@debbugs.gnu.org Resent-From: Jason Rumney Original-Sender: Jason Rumney Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 02 Jul 2009 14:20:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3736 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3736-submit@emacsbugs.donarmstrong.com id=B3736.124654410628000 (code B ref 3736); Thu, 02 Jul 2009 14:20:04 +0000 Received: (at 3736) by emacsbugs.donarmstrong.com; 2 Jul 2009 14:15:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.6 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n62EF0kK027912 for <3736@emacsbugs.donarmstrong.com>; Thu, 2 Jul 2009 07:15:02 -0700 Received: by ewy24 with SMTP id 24so2124061ewy.1 for <3736@emacsbugs.donarmstrong.com>; Thu, 02 Jul 2009 07:14:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=Pel6FJvdlYBogIitKu+uUZJ5hAy43ITljQaKAXFf1/Y=; b=pDaK/ki0ioY5bVDdcxnoxHV5LZ43I5USUTwrbAHLXZxnDmb9u25U+scngpeI2nsSTd Gdyfn0t3romQOFpHZg0k4YdNe/GohNL5EhGVNqNdU901NoflKo3NmoZdUkHvh+cV9MQw qzNy0zAVFxAU+7N4E3xhWp/HdS/ajSDooxb8o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=LKY4l7KVhulOJNnRatmpzNz9G6EiJ0wk4+/yw9mtVjMRzQQjPzwnAu22k9wVvBq1r8 /c71mjHyPWzS/1gkR/0MdameucR8F3n+D6ebqHct69k30R547HXh3dLW4ZPiazyDMetF yNhms2jQ1+32z3vuQWW8BkXXv/e24EbrQHNo4= Received: by 10.210.13.12 with SMTP id 12mr1004568ebm.63.1246544094696; Thu, 02 Jul 2009 07:14:54 -0700 (PDT) Received: from ?192.168.249.26? ([118.101.237.115]) by mx.google.com with ESMTPS id 10sm250919eyd.58.2009.07.02.07.14.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Jul 2009 07:14:53 -0700 (PDT) Sender: Jason Rumney Message-ID: <4A4CC0B7.9040907@gnu.org> Date: Thu, 02 Jul 2009 22:14:15 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Sven Joachim CC: 3736@debbugs.gnu.org, Michael Albinus References: <4A4CB03E.2000602@gnu.org> <87tz1v2nn6.fsf@turtle.gmx.de> In-Reply-To: <87tz1v2nn6.fsf@turtle.gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sven Joachim wrote: > Not really, you know what null-device should be for the local machine, > but not for remote computers. > Probably the best solution is for tramp to implement a general server-local-variable mechanism, as there are probably other variables that need different values for different servers too. The user could then configure a variable (such as tramp-server-local-variable-alist) to define any such variables that they need to, which would then be let bound as appropriate in tramp functions. From unknown Sun Jun 22 07:58:53 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3736: 23.1.50; Please use null-device instead of /dev/null Reply-To: Lennart Borgman , 3736@debbugs.gnu.org Resent-From: Lennart Borgman Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 02 Jul 2009 14:25:17 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3736 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3736-submit@emacsbugs.donarmstrong.com id=B3736.124654448329581 (code B ref 3736); Thu, 02 Jul 2009 14:25:17 +0000 Received: (at 3736) by emacsbugs.donarmstrong.com; 2 Jul 2009 14:21:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-4.7 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n62ELIPq029575 for <3736@emacsbugs.donarmstrong.com>; Thu, 2 Jul 2009 07:21:20 -0700 Received: by fg-out-1718.google.com with SMTP id l26so1121764fgb.20 for <3736@emacsbugs.donarmstrong.com>; Thu, 02 Jul 2009 07:21:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Ng0Bf7mHY86vO9yt2Ihz4Fa+Te18p+R4ZEzr7T50ac8=; b=fqXfNTB7wTwVQ+kQywjTpwa+8VGcsgIObf7jNH3rLiCuKl58ogQxgzk86fOttEZcqy iKERxURZUVAqIXkMrcQJPAQ6+brpz9QTdiHDpvjql1NxGMynfsk5fF7+tU+bfEAVn+7J foG2BMNCeSq3wlTNYLuwGMoYhhMbL2nos+rk4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Sfi5wxGK0KNzcf+hLA8HMgqUsnHmJckPi4sLoYrrKoZeNOWviiPHUtEDA83juKbIvQ RRVjVS7afwe3SGYoKDpEfqfmsGzEsBslyR+c8teFLSohz8Rc2PCgNMYL3Ao9WrMY4f2Z QXIr5HtLTLiAc3qV4JumdaHIojuBMB4s7/bAY= MIME-Version: 1.0 Received: by 10.239.156.146 with SMTP id m18mr11620hbc.24.1246544478032; Thu, 02 Jul 2009 07:21:18 -0700 (PDT) In-Reply-To: <87tz1v2nn6.fsf@turtle.gmx.de> References: <4A4CB03E.2000602@gnu.org> <87tz1v2nn6.fsf@turtle.gmx.de> Date: Thu, 2 Jul 2009 16:21:18 +0200 Message-ID: From: Lennart Borgman To: Sven Joachim , 3736@debbugs.gnu.org Cc: Jason Rumney , Michael Albinus Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On Thu, Jul 2, 2009 at 3:57 PM, Sven Joachim wrote: > On 2009-07-02 15:03 +0200, Jason Rumney wrote: > >> Michael Albinus wrote: >> >>> On W32 systems, null-device is "NUL". Not useful for Tramp, it needs >>> "/dev/null" on remote machines. >>> >> >> What if the remote machine uses "NUL", "NLA0:" or "Dev:Nul" for its >> null device? I think tramp benefits from the use of null-device >> instead of hard-coded "/dev/null" as much as any other part of Emacs. > > Not really, you know what null-device should be for the local machine, > but not for remote computers. Does not the remote computer identify itself so that it is possible to at least make a better guess? From unknown Sun Jun 22 07:58:53 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3736: 23.1.50; Please use null-device instead of /dev/null Reply-To: Michael Albinus , 3736@debbugs.gnu.org Resent-From: Michael Albinus Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 02 Jul 2009 15:15:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3736 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3736-submit@emacsbugs.donarmstrong.com id=B3736.12465472036254 (code B ref 3736); Thu, 02 Jul 2009 15:15:04 +0000 Received: (at 3736) by emacsbugs.donarmstrong.com; 2 Jul 2009 15:06:43 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.7 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mailrelay2.alcatel.de (mailrelay2.alcatel.de [194.113.59.96]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n62F6doT006241 for <3736@emacsbugs.donarmstrong.com>; Thu, 2 Jul 2009 08:06:40 -0700 Received: from destgsu0048.stgl.sel.alcatel.de (destgsu0048.de.alcatel-lucent.com [149.204.242.4]) by mailrelay2.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n62F6XNx021659; Thu, 2 Jul 2009 17:06:33 +0200 Received: from slbhn1.alcatel.de (slbhn1.de.alcatel-lucent.com [149.204.90.35]) by destgsu0048.stgl.sel.alcatel.de (8.12.3/8.12.3) with ESMTP id n62F6WY4016003; Thu, 2 Jul 2009 17:06:32 +0200 (MEST) From: Michael Albinus To: Jason Rumney Cc: 3736@debbugs.gnu.org, Lennart Borgman References: <4A4CB03E.2000602@gnu.org> Date: Thu, 02 Jul 2009 17:06:31 +0200 In-Reply-To: <4A4CB03E.2000602@gnu.org> (Jason Rumney's message of "Thu, 02 Jul 2009 21:03:58 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Alcanet-virus-scanned: n62F6WY4016003 at destgsu0048.stgl.sel.alcatel.de X-Scanned-By: MIMEDefang 2.57 on 149.204.45.73 Jason Rumney writes: >> On W32 systems, null-device is "NUL". Not useful for Tramp, it needs >> "/dev/null" on remote machines. > > What if the remote machine uses "NUL", "NLA0:" or "Dev:Nul" for its > null device? I think tramp benefits from the use of null-device > instead of hard-coded "/dev/null" as much as any other part of Emacs. In case Tramp uses "/dev/null", the remote machine is expected to be unixish. For other remote machine types, "/dev/null" is not used. I would not carve this sentence in stone, but that's the situation today. Best regards, Michael. From unknown Sun Jun 22 07:58:53 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3736: 23.1.50; Please use null-device instead of /dev/null Reply-To: Michael Albinus , 3736@debbugs.gnu.org Resent-From: Michael Albinus Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 02 Jul 2009 15:15:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3736 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3736-submit@emacsbugs.donarmstrong.com id=B3736.12465474647091 (code B ref 3736); Thu, 02 Jul 2009 15:15:07 +0000 Received: (at 3736) by emacsbugs.donarmstrong.com; 2 Jul 2009 15:11:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.6 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mailrelay2.alcatel.de (mailrelay2.alcatel.de [194.113.59.96]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n62FAxqe006944 for <3736@emacsbugs.donarmstrong.com>; Thu, 2 Jul 2009 08:11:01 -0700 Received: from destgsu0048.stgl.sel.alcatel.de (destgsu0048.de.alcatel-lucent.com [149.204.242.4]) by mailrelay2.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n62FArZ6024171; Thu, 2 Jul 2009 17:10:53 +0200 Received: from slbhn1.alcatel.de (slbhn1.de.alcatel-lucent.com [149.204.90.35]) by destgsu0048.stgl.sel.alcatel.de (8.12.3/8.12.3) with ESMTP id n62FArY4023210; Thu, 2 Jul 2009 17:10:53 +0200 (MEST) From: Michael Albinus To: Jason Rumney Cc: Sven Joachim , 3736@debbugs.gnu.org References: <4A4CB03E.2000602@gnu.org> <87tz1v2nn6.fsf@turtle.gmx.de> <4A4CC0B7.9040907@gnu.org> Date: Thu, 02 Jul 2009 17:10:53 +0200 In-Reply-To: <4A4CC0B7.9040907@gnu.org> (Jason Rumney's message of "Thu, 02 Jul 2009 22:14:15 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Alcanet-virus-scanned: n62FArY4023210 at destgsu0048.stgl.sel.alcatel.de X-Scanned-By: MIMEDefang 2.57 on 149.204.45.73 Jason Rumney writes: > Probably the best solution is for tramp to implement a general > server-local-variable mechanism, as there are probably other variables > that need different values for different servers too. The user could > then configure a variable (such as tramp-server-local-variable-alist) > to define any such variables that they need to, which would then be > let bound as appropriate in tramp functions. Nice idea. Tramp does it already in some cases (for example for environment variables of the remote host), but your proposal is more general. Noted. Best regards, Michael. From unknown Sun Jun 22 07:58:53 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3736: 23.1.50; Please use null-device instead of /dev/null Reply-To: Eli Zaretskii , 3736@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 02 Jul 2009 18:50:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3736 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3736-submit@emacsbugs.donarmstrong.com id=B3736.124656055415891 (code B ref 3736); Thu, 02 Jul 2009 18:50:06 +0000 Received: (at 3736) by emacsbugs.donarmstrong.com; 2 Jul 2009 18:49:14 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-4.5 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mtaout1.012.net.il (mtaout1.012.net.il [84.95.2.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n62In97i015884 for <3736@emacsbugs.donarmstrong.com>; Thu, 2 Jul 2009 11:49:11 -0700 Received: from conversion-daemon.i-mtaout1.012.net.il by i-mtaout1.012.net.il (HyperSendmail v2007.08) id <0KM600C0048B4100@i-mtaout1.012.net.il> for 3736@emacsbugs.donarmstrong.com; Thu, 02 Jul 2009 21:49:03 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.194.175]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KM6005ZG49QY350@i-mtaout1.012.net.il>; Thu, 02 Jul 2009 21:49:03 +0300 (IDT) Date: Thu, 02 Jul 2009 21:49:02 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Michael Albinus , 3736@debbugs.gnu.org Cc: lennart.borgman@gmail.com Message-id: <83skhe3opt.fsf@gnu.org> References: > From: Michael Albinus > Date: Thu, 02 Jul 2009 14:22:38 +0200 > Cc: emacs-pretest-bug@gnu.org, 3736@emacsbugs.donarmstrong.com > > Lennart Borgman writes: > > > There are nearly a hundred places in Emacs lisp sources where > > /dev/null is used instead of null-device. Please convert those to use > > null-device so that it gets system-independent. (I wonder what to do > > with those in Tramp.) > > On W32 systems, null-device is "NUL". Not useful for Tramp, it needs > "/dev/null" on remote machines. On remote machines, Tramp indeed shouldn't use a value that is correct for the local OS. From unknown Sun Jun 22 07:58:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#3736: 23.1.50; Please use null-device instead of /dev/null Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Nov 2020 02:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 3736 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: 3736@debbugs.gnu.org, Sven Joachim , Jason Rumney Received: via spool by 3736-submit@debbugs.gnu.org id=B3736.16057530938169 (code B ref 3736); Thu, 19 Nov 2020 02:32:01 +0000 Received: (at 3736) by debbugs.gnu.org; 19 Nov 2020 02:31:33 +0000 Received: from localhost ([127.0.0.1]:37335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfZjQ-00026w-VS for submit@debbugs.gnu.org; Wed, 18 Nov 2020 21:31:33 -0500 Received: from mail-ed1-f50.google.com ([209.85.208.50]:35017) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfZjK-0001wA-6X for 3736@debbugs.gnu.org; Wed, 18 Nov 2020 21:31:28 -0500 Received: by mail-ed1-f50.google.com with SMTP id cf17so653643edb.2 for <3736@debbugs.gnu.org>; Wed, 18 Nov 2020 18:31:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=XldZwnRT1nQSq0BvsWed/waZSMj/T64ca5rqvurrNlw=; b=tUO6vVd58t7hRdF2Gk3DAdVmYGrBmDn/Tt+pUk/0QBkS6UDsBeA0BF/TEK7CTa3PM2 +jSiIsl9hv0kAacsrA32VEMFULZIUDNPW12HYgz3RvbJGGmDgQb/D9wTqHdMIOTZ8ymP HafCUz1BKEl3WetvRHHTQQ8GvbpmVil2gugKmu3K6V+KkIMpPh/IWg9WhAqr35jpYHnX DHJvKUWUwEfNwXJRrtYDgacW/TenV+toizGDIJF+KZMRC39/mj1VNAUZG09pscqDvN7S yf1gapXsEd6Dv9b/ebaEzd5UDk4BYf224v5ikWL5LhpzFpE51r+BjGjPMJqIgODjk90s vPOg== X-Gm-Message-State: AOAM533l75FEh/WfV1njgllz5RMlGX/rxs5xmSwq9aCWjV6PVx5jD/+E 1Fgpf1Q/g8mIprZG3VpeOVMAQpWO9eF/pp3SQ88= X-Google-Smtp-Source: ABdhPJx+kRpFzZok3Vu4jz35WInFon1aBifS2NOk3T0a/2Oykp3tu5tIJg1BIMKILZ7mt/2pagbzGi1hDoGhvPkXA1I= X-Received: by 2002:a05:6402:716:: with SMTP id w22mr29305575edx.214.1605753080592; Wed, 18 Nov 2020 18:31:20 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 18 Nov 2020 18:31:20 -0800 From: Stefan Kangas In-Reply-To: (Michael Albinus's message of "Thu, 02 Jul 2009 17:10:53 +0200") References: <4A4CB03E.2000602@gnu.org> <87tz1v2nn6.fsf@turtle.gmx.de> <4A4CC0B7.9040907@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Wed, 18 Nov 2020 18:31:20 -0800 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) 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.5 (/) Michael Albinus writes: > Jason Rumney writes: > >> Probably the best solution is for tramp to implement a general >> server-local-variable mechanism, as there are probably other variables >> that need different values for different servers too. The user could >> then configure a variable (such as tramp-server-local-variable-alist) >> to define any such variables that they need to, which would then be >> let bound as appropriate in tramp functions. > > Nice idea. Tramp does it already in some cases (for example for > environment variables of the remote host), but your proposal is more > general. > > Noted. (That was 12 years ago.) Now that we have this concept of "connection local variables", does that satisfy the requirement to be able to specify null-device for remote hosts? From unknown Sun Jun 22 07:58:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#3736: 23.1.50; Please use null-device instead of /dev/null Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Nov 2020 16:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 3736 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 3736@debbugs.gnu.org, Sven Joachim , Jason Rumney Received: via spool by 3736-submit@debbugs.gnu.org id=B3736.16058035727258 (code B ref 3736); Thu, 19 Nov 2020 16:33:02 +0000 Received: (at 3736) by debbugs.gnu.org; 19 Nov 2020 16:32:52 +0000 Received: from localhost ([127.0.0.1]:40775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfmrc-0001t0-8r for submit@debbugs.gnu.org; Thu, 19 Nov 2020 11:32:52 -0500 Received: from mout.gmx.net ([212.227.17.20]:55463) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfmra-0001sn-D6 for 3736@debbugs.gnu.org; Thu, 19 Nov 2020 11:32:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1605803563; bh=hI8YsDiF3yls95KXK8PQCcFWS2fu0JoL256faASSh78=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=KMDj2NXsaF2LH9pkMdyLr5leVkAA4UNLDs/eQFbhpEeIs9sJnRz1ySdLeHBQ4SJqR doZXSnhjwB4hHul0lomwt+BAdE/qBhem8vlmb60h7h6v8tmARxYrgBPC/Ztm+RGEVh +E9VdmwcZPAC87hj8/MIwnRL0R2lwAgL2vY3eqAA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([79.140.117.1]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MyKHc-1kKn4R14ii-00yiKV; Thu, 19 Nov 2020 17:32:43 +0100 From: Michael Albinus References: <4A4CB03E.2000602@gnu.org> <87tz1v2nn6.fsf@turtle.gmx.de> <4A4CC0B7.9040907@gnu.org> Date: Thu, 19 Nov 2020 17:32:41 +0100 In-Reply-To: (Stefan Kangas's message of "Wed, 18 Nov 2020 18:31:20 -0800") Message-ID: <87y2ix5mty.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:u7Zos4tjS0nM1Hq/lyvF2ins5AxVOSer7Xud2XgdF+OoIU7V1ox ZeJ4WYCUKgcsKzF9Cbj0DTOe2mJqTMwu6OEA5zF7VcE0y2EBNcXdMZ4pSmkUGB7eqc1I14k lsd5W8EKpgq7neBoMtcOyopVn7gm1WaaNNWxg2I+sMy2O4tYse0q9SNe8/GGcHnTAQx6IJq 2fOpYT9Saem0EYzDuo3kQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:D6pMXLJTiOg=:s+IgVSN91BfE3h/RCrXCRH L5KWqCmVuzjAfqVrWPn397wLkWETSvL+bVel9E97OcKCbNU9ljP7bqhbEqn320baU/Z1iPoOr bVW79EH6tP2bRGcCEQEkw8Np6TATYoxigUNiLyIu3aYomkFwnMcxGWtqUB+W93JJihbgbPobW RSbUQ2IXoBmrQqqEG/c4nRCMzJruZyeYo03otV5BEcvsiNY0POF/exVl6NIALXuqxNs1iqLMx ilYscmjBnxyUAJ/L16RrwOFse3gf/2uezNAz2cjvDrdNdRBM67E+/MuEVItH7laJupeb9b5ec Y91AnHM85xwPvSmWRqovtJS3Tr22VZhSFQpj1z6C1naNELpYZUNZn/AeixoW2AKoA1bUwyorr wMVCMLVnfT82L5PpUDWMAKg1E7ev9WMuHFpASLzlrIwSR6eybIt+04V1TvA/sony5V4630vcL +n87EGxwRm196Uer5/NALp2hbqwtC1Y41dAM4g4faNr0fIDcnLZ43eY4nShDwr3YG6rvMkko3 hpj+otLHSGOz1ejZBbh6kfE5pT3Di4msvisqm+acWFJWH1fceQlmu0wdmzvp/aXvJPLd0HB8Q Th+t3xlwqm3VAZTjEPwfqIgxAJh5uyFmRDZAvr2932SHGu29B+0KVwboHOiu6VoGEBqz8HBDN JeOU6kKE0k0ha57We+prKgwehMkFlUQaUy6M/U3agYmT6Or5tFnPJ8TLT4AhzRHoYEmipXUSj vbeDKOnis2rCNpc7p3tHwTiAq9cShyVpwGTq7W2snpO89hzcRS3oP9vlXQhl7lVGsTF4xgYNC v1egQA9q1T4VkLpCCxnZWOeB2sZa79jK4aX+3FnSqURCblNfJ27woLRwxNM8sWnnR8HNLlKId iEXEyxUVy1jHZjehwZ8Q== X-Spam-Score: -0.7 (/) 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 (-) Stefan Kangas writes: Hi Stefan, > Michael Albinus writes: > >> Jason Rumney writes: >> >>> Probably the best solution is for tramp to implement a general >>> server-local-variable mechanism, as there are probably other variables >>> that need different values for different servers too. The user could >>> then configure a variable (such as tramp-server-local-variable-alist) >>> to define any such variables that they need to, which would then be >>> let bound as appropriate in tramp functions. >> >> Nice idea. Tramp does it already in some cases (for example for >> environment variables of the remote host), but your proposal is more >> general. >> >> Noted. > > (That was 12 years ago.) Thanks for the reminder. Somehow, I've missed to tag this bug locally, so I've lost it. > Now that we have this concept of "connection local variables", does that > satisfy the requirement to be able to specify null-device for remote > hosts? Yes, shall be possible. I'll see what I could do (with slow progress, as it happens these days to me). Target will be Emacs 28. Best regards, Michael. From unknown Sun Jun 22 07:58:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#3736: 23.1.50; Please use null-device instead of /dev/null Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Nov 2020 15:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 3736 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 3736@debbugs.gnu.org, Sven Joachim , Jason Rumney Received: via spool by 3736-submit@debbugs.gnu.org id=B3736.16059717711404 (code B ref 3736); Sat, 21 Nov 2020 15:17:02 +0000 Received: (at 3736) by debbugs.gnu.org; 21 Nov 2020 15:16:11 +0000 Received: from localhost ([127.0.0.1]:45948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kgUcV-0000MK-G1 for submit@debbugs.gnu.org; Sat, 21 Nov 2020 10:16:11 -0500 Received: from mout.gmx.net ([212.227.15.19]:60395) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kgUcU-0000Fz-2B for 3736@debbugs.gnu.org; Sat, 21 Nov 2020 10:16:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1605971763; bh=cTTKhTmuFOSYkbpCGGg5DO516m01gkbeK5wFCyeZZhc=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=Tl7xK2mvw+oG4TSMf5g+x3naMM/Ra55A7gwDZPV67SuqaR8HdTCQrANEwowaEdSAt G2L2w/bsaVrXNCa+CHiq+mFVEFuCV8PKKmlwdZkF5Tc+57Ce32x478dx96Hi3Cs3Ok knQ5JCQGLCbS60hs5bvaZ9Ow+JkaXffF0443wqro= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.86.60.33]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MhD6W-1k3b9t0rqc-00eNgH; Sat, 21 Nov 2020 16:16:03 +0100 From: Michael Albinus References: <4A4CB03E.2000602@gnu.org> <87tz1v2nn6.fsf@turtle.gmx.de> <4A4CC0B7.9040907@gnu.org> <87y2ix5mty.fsf@gmx.de> Date: Sat, 21 Nov 2020 16:16:01 +0100 In-Reply-To: <87y2ix5mty.fsf@gmx.de> (Michael Albinus's message of "Thu, 19 Nov 2020 17:32:41 +0100") Message-ID: <87o8jqu4em.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:hCoQJP0cNdO6n9l5SA15OantHR5VZWp/4UmlfLUHyMnT6GeGFhu UX7rTAfM1XjfCfXcQGKoeABCwI/GFsWHv4Da9jVJx8WNE3ZUn9wRcvnUmBwxj6HNmIKcYah aUaJvt0cIuUP7SrNjk1/lfeXbxSY94GVirTju+nkzwzVQLPdFcERJf6N2mvUs0xlVF0A7fp euSv5i3maxCqFwjySAgAw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:zcL8rOMmnf8=:b/W2jhYTRWdmcNZkHD7T9b SJJnAW8F5reWc+ehEUrf42oP6nR1+coFMo/VCMDaLsIIAO1J7zRRmJhU6CBzXG6CZDsXsP5Xg k0GzDPJXyRFG3FRJRWTWtYf+i9jFVhT9IniP17CzHjvHdTOZOYj5LHnHsSXxDp804ptLTCRkI y+PJ223dbs64Hw06/Z2hBluWvRJRnrob+Rg9ZUhlVHDyu1BfMGuIJ7Y5BGDo0TjkMrUvzvZXM VilYJ7Vz8caUkTbzZaaORNJ4iFiDdL3bsW+U2b0pJdoEc70ze+gNOLWj2ePFuBs5UscJz5OEZ t/AIJpQmzZZ5JibniCNkAjq65jRweKzV6BepEKd46TFQMtYjoL/bb57tir9CBkE9qnH7M/ZHi HG6nbPbj0TiSUPVF1HEldqDa9xVcyJwVzpZGRR3QjAT9wJCgWLb1BrQZ168OdODobjLJSO/ja smsvrkKXtdkKezt3x974AONigTtZaItFnTyXPhAkTvjWEYqZU+n8R8zqY7chGgMrVD70nP8KI C2IBMwXaSBYLMVQ+9gZ1ZqznQuNRhX++i7x2oeXwW6vVZflStINvqxrpYDTlhlVcmDAO7BYB8 DURK4RQEtAq1nEoVH/pJ7XyXdxngPaydAEwJhN27+N5ZY/PecgmczxdTkf1U0MOC+PM4qDfNi oCkGkE0UycJlQkUzng3CM+BGZlkIpDxVXsyQI58N0K6tBq1eMdVrgvvu8DWK5e85a3oeFaXxN mI+HTe3QTQ1Exs3fiQq8X9iuemKZMj4qQzwl++ndpseBTVRmyf7uvpaRwFCgXMobkwFRFU5ew y8fqDc/64TZ+e0HToanQyQdnJPQBSAlhoe1cAf/tHjOhp7uaYhcAY6rFbTQTZPJw09rI7I4xl WFuPCmmPk4czoqdp4gAw== X-Spam-Score: -0.7 (/) 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 (-) Michael Albinus writes: Hi Stefan, >>>> Probably the best solution is for tramp to implement a general >>>> server-local-variable mechanism, as there are probably other variables >>>> that need different values for different servers too. The user could >>>> then configure a variable (such as tramp-server-local-variable-alist) >>>> to define any such variables that they need to, which would then be >>>> let bound as appropriate in tramp functions. >>> >>> Nice idea. Tramp does it already in some cases (for example for >>> environment variables of the remote host), but your proposal is more >>> general. > >> Now that we have this concept of "connection local variables", does that >> satisfy the requirement to be able to specify null-device for remote >> hosts? > > Yes, shall be possible. I'll see what I could do (with slow progress, as > it happens these days to me). Target will be Emacs 28. I've added the functions null-device and path-separator, which return the connection-local values of the respective variables. As first shot, I've changed grep.el using this. Let's see whether there's feedback. However, people will see a difference only if they work on a local w32 system, and apply Emacs's grep command on a remote machine -- a constellation I cannot test myself. I'll continue to adapt other Emacs Lisp files. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 26 10:28:48 2020 Received: (at control) by debbugs.gnu.org; 26 Nov 2020 15:28:48 +0000 Received: from localhost ([127.0.0.1]:42495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kiJCR-0001yo-I8 for submit@debbugs.gnu.org; Thu, 26 Nov 2020 10:28:48 -0500 Received: from mout.gmx.net ([212.227.17.21]:44401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kiJCM-0001yY-8T for control@debbugs.gnu.org; Thu, 26 Nov 2020 10:28:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606404516; bh=l92XyMyb5CInFw1igMRgNEKIr1L9jYiY6d8rsuI4S1E=; h=X-UI-Sender-Class:Date:To:From:Subject; b=gbTwOzWPjYgw37Nj5mzopDYVJ2f6N1w6bN1hk2xEpKP14MkpwSg0K9pBLUgDYTw9n y1+96CW7UQ9+RSvxCZYU+ukONk+cl5MUDFYJDrycpY/0s/3TNCwi2PVGQH/Aj6IRWH hzWQCeaZ0iiYH/KJgZ2AS8oVQs1wDbx1x/MUjYFc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([178.20.90.0]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MUXpQ-1kr4dg13ce-00QTa8 for ; Thu, 26 Nov 2020 16:28:36 +0100 Date: Thu, 26 Nov 2020 16:28:35 +0100 Message-Id: <87zh346st8.fsf@gmx.de> To: control@debbugs.gnu.org From: Michael Albinus Subject: control message for bug #3736 X-Provags-ID: V03:K1:hJf1VHQFZrbhisczmj85Rr1RP5vb1ZmwwABqt36EX8bD1sGGURE yw7wW1nq/LUzUUZZoWnYUJDmrkzqZuf+imhHGxmDt/owFPcP9Mfau1Tbj5IBjjJll5tmaI7 XYG2p9TGzN4+7edh747oXaqkE9fSwQTXzIkzH+UrwoFRe463kN4DWYt5rK3kZ8GABQe/PHY HkKA3QO3kZaXNfJdTQajA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:BM8YtYq13kU=:sHH6Jbe8bGXWIOdPMu/sdl Atp4h/nYHoL4V9GelkOxjkXI03j3Xs428jRtQMYRin5gMPeczUr/5jbHwv4AvXozrvdvxki5x M7aIlKuEXkovVMxBN5rGeyMwBOafQoRZkd8sDbpOye0xgqqtWW+1rM/shKEeABM+PwwHR7pC7 L78khP7v9kOXDkTYHUvDouPcZi8fXRSp5HLU6nx548h9VqhRGOMg3CO4wmIz7v5jkOZTHWztI LcBESNlKcGKFkyKmrCfLPsEzldeRbpQ843foPk+yXB5g94h7sBk6ScpJLrMSBVmCzklPc5Xg9 UAgbm8v6caq3ZatrFMmhtI4S9eZ+CMeN9BKfAidl4cU6NZ4texiHyeURRQsXkPhBgDuFSNLZa EAeO9lI5KM+5QUzN4+ooiMrtJpPtYdz7cpSNuiunMcuZvmD+wx3YVuDSIRW+9BvdsoxySKocN Dw9wfFY5XT+8m5BZ6w18jPUdsl/8OJcNeVxA1/MDpPZ/2oQXe9nbT2DPzNo//hMuOO6lUDPmi XcF1IJtO2NHSFal0MQIv+jgY6riVG/6CBAmRI+LyJAz5Uk58wjAx5uJDIad9nXkcaNBWg9HMy O+qxReb8eR8DwNOGh1pUVtxqQSZ3hZaj6TyMkRBLCtRPZRCufdMArT5mZs8pU6OGuaLL6RVKl s3wD3dob+2diFNl9ChC/xancAHW13Yy95ya4GlRQKaNI8JnWAs04+aCjhdtODLzyijipkiAL6 7DgvKrrMXRQ5iHsiVO5kuiY1bFbld2VOB/CJCReOCM74mjbJaLeuzVyeyWGnRBAP3YdC5tpTI MIUUOIqrGDgyBcFX2VsjCRs+VjCc/ka3IvdDmSug/pWL9f3HtjQSPHQBXYBJIcXycIyTcYCmv MZaBx+MHB46XmhWKcBpA== 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: -1.7 (-) fixed 3736 28.1 quit From unknown Sun Jun 22 07:58:53 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Lennart Borgman Subject: bug#3736: closed (Re: bug#3736: 23.1.50; Please use null-device instead of /dev/null) Message-ID: References: <871rgg87ec.fsf@gmx.de> X-Gnu-PR-Message: they-closed 3736 X-Gnu-PR-Package: emacs Reply-To: 3736@debbugs.gnu.org Date: Thu, 26 Nov 2020 15:29:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1606404542-7667-1" This is a multi-part message in MIME format... ------------=_1606404542-7667-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #3736: 23.1.50; Please use null-device instead of /dev/null which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 3736@debbugs.gnu.org. --=20 3736: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D3736 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1606404542-7667-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3736-done) by debbugs.gnu.org; 26 Nov 2020 15:28:22 +0000 Received: from localhost ([127.0.0.1]:42492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kiJC2-0001yD-9C for submit@debbugs.gnu.org; Thu, 26 Nov 2020 10:28:22 -0500 Received: from mout.gmx.net ([212.227.15.18]:46485) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kiJC0-0001xz-Ep for 3736-done@debbugs.gnu.org; Thu, 26 Nov 2020 10:28:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606404493; bh=AD0Jabv7rGVr/mo1pT6oxDIn1TQpMprW9uNNC3xjkQs=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=BuNlFMX55z3br43AZkKfcu9WrSOytrc5/VCWmi/traS6iAvCXbuseWVUHOawA9dPO AK5ESCaAtH2YUXmfkM/5xKryut4rUlBQ3lqVbjJ/t9JmfrVIIzC5y4rG2oXn/p96gV rpBCmJ2e9fOpLbxPeRYwof4vHoFVcU0q1bxRNXEs= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([178.20.90.0]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MkYXs-1jwM7v20uk-00lzp3; Thu, 26 Nov 2020 16:28:13 +0100 From: Michael Albinus To: Stefan Kangas Subject: Re: bug#3736: 23.1.50; Please use null-device instead of /dev/null References: <4A4CB03E.2000602@gnu.org> <87tz1v2nn6.fsf@turtle.gmx.de> <4A4CC0B7.9040907@gnu.org> <87y2ix5mty.fsf@gmx.de> <87o8jqu4em.fsf@gmx.de> Date: Thu, 26 Nov 2020 16:28:11 +0100 In-Reply-To: <87o8jqu4em.fsf@gmx.de> (Michael Albinus's message of "Sat, 21 Nov 2020 16:16:01 +0100") Message-ID: <871rgg87ec.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:qVcnlKdanNhK+wTCKI7QeNS4R/KCZIgci8aHo9wzdYxKD1edsY5 bzDqkk46UFsIelzB9kInP39N7Fi2/g9d6pyIT7/T742r5JHSfAfFz7OEiFqdgHCE44/TqNm 1gCkLnP1cN7xH3aaLRINQ+SnEvJcA1gaeDVdMm1aLAWJEObfA4H6ELrShfvJM0T9BWKm9oZ GrI1qGfKgDGyrqbHifhqg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:eAjBb/I9jSM=:J0+Dw+wytAPXpIeeRyqWbf uJe8uMSZV49M6NcvZ3/IZav0BGyQ7nQPjAz5OxElaH/k60aS06k/ISTPTRUAnErP3yyvO+d9+ Hi0p1D6qrBqq9crZBVf0d7bYVGhCHjzIH75SSGOSxQWJl2h/88yMTEj0TrDYzuPNV0EpdnxfS tW7rfWI9wTo8MjJzk0VCvzoU9ggzIBz8xnfiKqhW7KSQTJNsXMJ9qodo5TImCgE2ZBEihk7je 9pQZDdtMYDLRaF0nf89HKlu6y3S7WhQFhq7VyaEnAesQ1golkyEE9xfsQTZLxs92CKlODVQhW 5qVQmTjDd0DrBu/jjL1W5IVH4xIl/kUMfvRhCTNasMCBASOVsxrU+YiXRLj6k7J9GOH5gHBmp YpHuQ8wwE7X8Gvn44h7ZUxDbqGMd5DDCCMLfAT8eOWJGemqiP+CeX48soKFqQ6NpRn6w3QEb/ 1TEHKHAr7svIPdUOCLZKFCNp7QDThllconl5vUza4IrWkFxE5g18z9e4BLGqnwQT7yAkKXlWG 3uNUq0dm3fglYD4wuNnz4ZidtarBrHJIHVHVXhlr6COxLwGWmef1j6RyU2bJrfJT9szzqZpA6 Kf+pqiZxoS/ebbA00D/tcRK7qV5zNxuFW9C3310FwtcbcZ4o2dIKqWBBSn1GmIiLzA8O1koFK L3bMMFQR730MRL6Eja5rPfhA0zwRo0tx8ijGdOH2FJn+u/EweUlDxCxFCysjUt2x9NbzOmdwF y8aIDNHIpQiAoHJ7yxqTSyRU/+WfyXDYAKnWqdimLM2+f03p+k5T4dX+xVtqK1kvt4LdIsr5E 7CWCuC/AStePTKkXQmq+syoq0oYW1mmAgScOWXrKujgQfLSxXeH+cb3XecXAQvT1yquoiyR4A SeHycAsBiB6s68lLUs+Q== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 3736-done Cc: 3736-done@debbugs.gnu.org, Sven Joachim , Jason Rumney 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 (-) Michael Albinus writes: Hi Stefan, > I've added the functions null-device and path-separator, which return > the connection-local values of the respective variables. As first shot, > I've changed grep.el using this. Let's see whether there's > feedback. However, people will see a difference only if they work on a > local w32 system, and apply Emacs's grep command on a remote machine -- > a constellation I cannot test myself. > > I'll continue to adapt other Emacs Lisp files. I have applied all respective changes in the master branch which look obvious to me. There are still ~40 occurences of /dev/null in the lisp directory, but most of them are comments. So I'll close this bug. If people are interested in fixing the few other places, they could do now by using the null-device variable or function. In case they don't know what's better, a new bug report for the given case would do, instead of keeping *this* bug report open forever. Best regards, Michael. ------------=_1606404542-7667-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 1 Jul 2009 20:22:43 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.0 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n61KMdNC000851 for ; Wed, 1 Jul 2009 13:22:40 -0700 Received: from mx10.gnu.org ([199.232.76.166]:39398) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MM6KE-0004KG-Nc for emacs-pretest-bug@gnu.org; Wed, 01 Jul 2009 16:22:38 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MM6KE-0003PI-Fm for emacs-pretest-bug@gnu.org; Wed, 01 Jul 2009 16:22:38 -0400 Received: from mail-bw0-f207.google.com ([209.85.218.207]:45060) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MM6KE-0003P2-5s for emacs-pretest-bug@gnu.org; Wed, 01 Jul 2009 16:22:38 -0400 Received: by bwz3 with SMTP id 3so52411bwz.42 for ; Wed, 01 Jul 2009 13:22:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=JZ0swBpqsfqA6yPPOxH+6dvm/DOb+uN2lw5UdyNvAd4=; b=UtfC8yQ9sZiIBeD1diPmzQ+p8bDEyjCTuVUkaWY+CZlgeY4w6idrsMShs02i1+mQqB iHQ1M34g7DR0/zO4zFIzs5JYFgsQUwgrXDx7pxnxuFPKB4COQjXs5anT5l21tK4hLhOA YjK+sbpajbey/nnkZYSrx4cj80FUwKHvDtOC8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=wC4QDxTElmmZOeNCEBL950sQdX3S5RHDSquFIVrsQ/SK2gdAUx9CnWgQYv+eaF+ZrA iXz7lJDbKqGbCpa8Y85iGZwX1jDxmntc89c1H2LFrAJnRZN13YNaEwevPz53B5UtuJ1i 3lMyGIRc8C1Il8tMnZhyZIq7Sb33g4T9HF61k= MIME-Version: 1.0 Received: by 10.239.132.147 with SMTP id 19mr839312hbr.153.1246479756673; Wed, 01 Jul 2009 13:22:36 -0700 (PDT) Date: Wed, 1 Jul 2009 22:22:36 +0200 Message-ID: Subject: 23.1.50; Please use null-device instead of /dev/null From: Lennart Borgman To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) There are nearly a hundred places in Emacs lisp sources where /dev/null is used instead of null-device. Please convert those to use null-device so that it gets system-independent. (I wonder what to do with those in Tramp.) In GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-06-30 ------------=_1606404542-7667-1-- From unknown Sun Jun 22 07:58:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#3736: 23.1.50; Please use null-device instead of /dev/null Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Nov 2020 16:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 3736 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: 3736-done@debbugs.gnu.org, Sven Joachim , Jason Rumney Received: via spool by 3736-done@debbugs.gnu.org id=D3736.160640928523634 (code D ref 3736); Thu, 26 Nov 2020 16:49:02 +0000 Received: (at 3736-done) by debbugs.gnu.org; 26 Nov 2020 16:48:05 +0000 Received: from localhost ([127.0.0.1]:42663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kiKRB-000698-FH for submit@debbugs.gnu.org; Thu, 26 Nov 2020 11:48:05 -0500 Received: from mail-ej1-f50.google.com ([209.85.218.50]:44156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kiKRA-00068W-9J for 3736-done@debbugs.gnu.org; Thu, 26 Nov 2020 11:48:04 -0500 Received: by mail-ej1-f50.google.com with SMTP id k9so3750957ejc.11 for <3736-done@debbugs.gnu.org>; Thu, 26 Nov 2020 08:48:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=TBUiQCJzTZC4m/MHv3crJlu/bZNKo8bfGb93csaU5vs=; b=FNzzwd0N+UTZQFKUz9v1rfq32HbyoLuEj7pbMmx9T0a3Q9k7j1Aiu/UnX9ZA5vbVA/ a3ZLH5Cz/cVCCNE9REgeOwHVxOf/s1n8Y65J+OJe8YgkYex5ycenAkX/sU9dLrz/5AY3 S00IAIHhrBY/6LISFfmCnKAUKgtMtkwDM1GUYXkA8nI5yBY0/WS+ppvabzU9+lu2ygKK kLuhItRj1mtL1bzsWCxplqCmRRS6st7O8FcMV+b+RRMUjgFkwpFDo8H+H5GbTWVca4oL on/DhCg2ShHodY/hkWVxeczsezPR+5U8Rr6j7eCgBS3WnPqIxp4jXQFBium1tVo9Rr4f mKww== X-Gm-Message-State: AOAM532a5syJ1zuLQoR6VkTBLqUwXKOUdRzD+oh/je4AftxIdWvvctWU QVOaAdmeOH3sgUrcZjOR4VknPXJ2gmOSnZ6LQmo= X-Google-Smtp-Source: ABdhPJy9emA/oZUbGTpCpesLGZqJwQ9nazUkiMM2FtceDCmncz34f+YG/Ultpqivuk/MiC5jHayr2fDKPO7+DXvxhRU= X-Received: by 2002:a17:906:eb50:: with SMTP id mc16mr3363418ejb.420.1606409278522; Thu, 26 Nov 2020 08:47:58 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 26 Nov 2020 08:47:57 -0800 From: Stefan Kangas In-Reply-To: <871rgg87ec.fsf@gmx.de> References: <4A4CB03E.2000602@gnu.org> <87tz1v2nn6.fsf@turtle.gmx.de> <4A4CC0B7.9040907@gnu.org> <87y2ix5mty.fsf@gmx.de> <87o8jqu4em.fsf@gmx.de> <871rgg87ec.fsf@gmx.de> MIME-Version: 1.0 Date: Thu, 26 Nov 2020 08:47:57 -0800 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) 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.5 (/) Michael Albinus writes: > I have applied all respective changes in the master branch which look > obvious to me. There are still ~40 occurences of /dev/null in the lisp > directory, but most of them are comments. So I'll close this bug. Thanks for taking care of all that. > If people are interested in fixing the few other places, they could do > now by using the null-device variable or function. In case they don't > know what's better, a new bug report for the given case would do, > instead of keeping *this* bug report open forever. Sounds reasonable.