From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: 42 147 Newsgroups: gmane.emacs.help Subject: Re: shell-command in Windows 7 Date: Sat, 15 Apr 2017 12:06:06 +0200 Message-ID: <75e66c21-654d-1109-aa20-6d2292a0f1f7@gmail.com> References: <40b3fe49-18cb-c7bc-5792-98e0a7c7c8e6@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1492250801 1726 195.159.176.226 (15 Apr 2017 10:06:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 15 Apr 2017 10:06:41 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 15 12:06:37 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czKbF-0000Nl-KL for geh-help-gnu-emacs@m.gmane.org; Sat, 15 Apr 2017 12:06:37 +0200 Original-Received: from localhost ([::1]:56089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czKbL-0005Lt-JL for geh-help-gnu-emacs@m.gmane.org; Sat, 15 Apr 2017 06:06:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czKau-0005Lo-C6 for help-gnu-emacs@gnu.org; Sat, 15 Apr 2017 06:06:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czKar-0006u6-7W for help-gnu-emacs@gnu.org; Sat, 15 Apr 2017 06:06:16 -0400 Original-Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:35833) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1czKar-0006tm-0u for help-gnu-emacs@gnu.org; Sat, 15 Apr 2017 06:06:13 -0400 Original-Received: by mail-wm0-x232.google.com with SMTP id w64so7483229wma.0 for ; Sat, 15 Apr 2017 03:06:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=RkKTQkZyDAzl99LVi2khWZIYKHAXKjh/PclRhk0Lpyg=; b=s3msQoDlEpy3m78V+0gV/jy8+iTtKyhCyhiFkE2B71/agBkN6M1Roiu1KGPBCqev01 8iAKmSbscyTZJyUCiyd9JT82hq6EARAWebtpPzuBq12fucN2OAl6Tr2IqMhbgt02awaY 0+n6R+mFxiWEUGUiM0VSaLDFa/kE/dGKN5UixGXHNMUQT+VyaH+SqZkwRiUW2k2YslBL ltM4+JBaVelY1A+oeVSe4+NWUZwXHcKTfCWdPKgaBB9rukYcknOqIgDPmq/LSTqM8p3L /M4cwfoG6AJUbaMrWBD9+zPirQo3NV34rZn4JbLrOJvjcfD58r5SFcIVdYYptmWPNJDf M/YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=RkKTQkZyDAzl99LVi2khWZIYKHAXKjh/PclRhk0Lpyg=; b=GjmdsJpEnWgcaphRBzvs6bKYouJ3+3K61riJPYb0Af92arz/BW1Ka96Qwplr+H5+ur PG6APGbd3beKGg8NTTo4NHhiRX47ygkmhHQJaz/Z+ZfqXXpIFaHHkCg20yW3KOopQTt0 OMjIcSR84mkeNCmirfqUA1uwowKxK+z9arz++F8lxzagCqYT1BvrTw+Jwt2AhXx0JKpn aal7snZCNq+BnC/+igeofryLjkamG83Jcl6cKzgfyFMFRupQAkmWZLVYl61Z83/k8iDQ bHS3pt3Oepc1YWovQqVreKnTur2MZ6+/W+KPgYhWjeR8aKdKdVZcwGojteS1hWgFPwYs MpFA== X-Gm-Message-State: AN3rC/7emGhbzWpVXBEkvL05kx/a4xLTZIN1tdDiOw6jXi7iOSuEA8Fc t+B3uaiR2zfF9ID8y6g= X-Received: by 10.28.13.71 with SMTP id 68mr1976228wmn.124.1492250771574; Sat, 15 Apr 2017 03:06:11 -0700 (PDT) Original-Received: from [192.168.2.195] (dslb-092-072-062-032.092.072.pools.vodafone-ip.de. [92.72.62.32]) by smtp.gmail.com with ESMTPSA id b82sm1997950wmh.4.2017.04.15.03.06.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 Apr 2017 03:06:10 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::232 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112772 Archived-At: Second, I'm not sure what you are saying, exactly. Are you saying that in one session you needed to use this [...] Yes, but I had to keep alternating. I could never use the same directory address style in two consecutive sessions. I had to switch to the alternative every time (i.e., between the double backslash and the forward slash versions of the same code). Session 1: forward slash version works. Session 2: forward slash version does not work, but double backslash version does. Session 3: double backslash version does not work, but forward slash version does. Ad infinitum. That is what made it odd. I should add that to keep my inits portable I made the following change to my .emacs: (setenv "HOME" "g:/windows_home/") ;; folder on usb drive (load "~/.emacs.d/system-settings.el") ;; contains load files for all inits The drive letter for the USB had been automatically reassigned after the recent partition. I changed it back to G: in Windows and everything else was working fine. The only thing that changed was the functionality of this code as described.