From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alain.Cochard@unistra.fr Newsgroups: gmane.emacs.help Subject: Re: Problem with 'M-x shell' with (setq process-connection-type nil) Date: Mon, 24 Sep 2018 16:50:19 +0200 Message-ID: <23464.63915.722393.412272@frac.u-strasbg.fr> References: <23464.23313.68491.809659@frac.u-strasbg.fr> Reply-To: alain.cochard@unistra.fr NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1537807932 5190 195.159.176.226 (24 Sep 2018 16:52:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Sep 2018 16:52:12 +0000 (UTC) Cc: alain.cochard@unistra.fr, monnier@iro.umontreal.ca To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 24 18:52:07 2018 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 1g4U5f-0001Ej-Co for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Sep 2018 18:52:07 +0200 Original-Received: from localhost ([::1]:46135 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4U7m-0003bj-3h for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Sep 2018 12:54:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4SC0-0007tm-Fo for help-gnu-emacs@gnu.org; Mon, 24 Sep 2018 10:50:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g4SBw-0005iC-Ck for help-gnu-emacs@gnu.org; Mon, 24 Sep 2018 10:50:32 -0400 Original-Received: from smr2.u-strasbg.fr ([130.79.222.218]:59874 helo=mailhost.u-strasbg.fr) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g4SBw-0005hZ-3Z for help-gnu-emacs@gnu.org; Mon, 24 Sep 2018 10:50:28 -0400 Original-Received: from local-mr.u-strasbg.fr (lmr3.u-strasbg.fr [172.30.21.3]) by smr2.u-strasbg.fr (Postfix) with ESMTP id 8007A1E03D8; Mon, 24 Sep 2018 16:50:23 +0200 (CEST) Original-Received: from local-mr.u-strasbg.fr (localhost [127.0.0.1]) by antivirus (Postfix) with ESMTP id 584F726D; Mon, 24 Sep 2018 16:50:23 +0200 (CEST) Original-Received: from frac.u-strasbg.fr (frac.u-strasbg.fr [130.79.10.22]) (Authenticated sender: alain.cochard) by lmr3.u-strasbg.fr (Postfix) with ESMTPSA id 0ECD326C; Mon, 24 Sep 2018 16:50:19 +0200 (CEST) In-Reply-To: <23464.23313.68491.809659@frac.u-strasbg.fr> X-Mailer: VM 8.1.2 under 24.5.1 (x86_64-redhat-linux-gnu) X-Virus-Scanned: ClamAV using ClamSMTP X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 130.79.222.218 X-Mailman-Approved-At: Mon, 24 Sep 2018 12:53:31 -0400 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:117997 Archived-At: Stefan Monnier writes: > > With 'emacs -Q -l .emacs.debug', where the .emacs.debug file conta= ins > > only: > >=20 > > (setq process-connection-type nil) > >=20 > > I get [a problem with 'M-x shell'] > Why would you do such a `setq`=3F This was to solve a problem with org-mode, for which 'C-c C-e l o' is supposed to "Export as LaTeX file and convert it to PDF, then open the PDF using the default viewer." For me it didn't (although the correct pdf file was indeed created). Help from the Org mailing list and further googling suggested that the problem might be related to 'xdg-open' and that such a setq could solve it. Which it did, for me, but with the aforementioned side effect with 'M-x shell'... Should I understand from your answer that 'M-x shell' is expected /not/ to work with such a setq=3F Regards --=20 EOST (=C9cole et Observatoire des Sciences de la Terre)=20 IPG (Institut de Physique du Globe) | alain.cochard@unistra.fr 5 rue Ren=E9 Descartes [bureau 106] | Phone: +33 (0)3 68 85 50 44=20 F-67084 Strasbourg Cedex, France | Fax: +33 (0)3 68 85 01 25 =20=