From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.devel Subject: Running external info within Emacs Date: Thu, 30 Mar 2023 12:56:32 +0200 Message-ID: <864jq2cxsv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9776"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 30 12:57:45 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1phpyT-0002Kd-5e for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Mar 2023 12:57:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phpxo-0007d2-6M; Thu, 30 Mar 2023 06:57:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phpxj-0007cr-KG for emacs-devel@gnu.org; Thu, 30 Mar 2023 06:57:00 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phpxi-0000uF-NY for emacs-devel@gnu.org; Thu, 30 Mar 2023 06:56:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=a4LfiJ+fEMTVw6Fcjv+JeJhX0Jne2zAbta+eE8JbZd0=; b=Q1Lk6iC2S8fLVB UvLajLYWZ+UDO8PHjELxdj4jUZRk7OVR45GaGRkYeKxBhSjWYE3P+piO8JbjiELyb+8Wqri8pd2W7 r/7AE8nCALqOWNPvQ36NlLNHOLjhmF/sgxFnoyPIMb8Oovmx6kPh0w0wAyEJBvG5IoTTIA08cj5sC bgk8i5VsjcTF4B0Hi2sU16e0JqqeegtzUfuahC2XZj8/LT/7/ZqX16GTANpwEnWvvjVlfKsnsxuqk 7+zm0fbgBRhuEIQEjVyy9s5xzEN3YfQ+tLrunFTYCz8VpIrLSz/tc2YtMa4XkQPpor+zMOxyIx8/5 sXrMeHacz3n311gSbDzA==; Original-Received: from p5b326472.dip0.t-ipconnect.de ([91.50.100.114] helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phpxh-0002h2-9Y for emacs-devel@gnu.org; Thu, 30 Mar 2023 06:56:58 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:304857 Archived-At: Hi all, I have an issue which I don't understand when running the external info within Emacs. This is on Win10 with Msys2/MinGW64 and Emacs 30 (bfa3500c3c). I have an entry like this in my .bash_profile: export INFOPATH=3D$INFOPATH:/c/texlive/2023/texmf-dist/doc/info and when I invoke 'emacs -Q' from a MinGW64 shell and eval: (async-shell-command "info dir") I get: File: coreutils.info, Node: dir invocation, Next: vdir ... 10.2 =E2=80=98dir=E2=80=99: Briefly list directory contents =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =E2=80=98dir=E2=80=99 is equivalent to =E2=80=98ls -C -b=E2=80=99; that i= s, by default files are listed in columns, sorted vertically, and special characters are represented by backslash escape sequences. *Note =E2=80=98ls=E2=80=99: ls invocation. When I eval: (async-shell-command "info latex2e") I get: info: No menu item 'latex2e' in node '(dir)Top' When I run the command 'info latex2e' in the shell where I started Emacs, I get: Next: About this document, Up: (dir) LaTeX2e: An unofficial reference manual *************************************** This document is an unofficial reference manual (version of January 2023) for LaTeX2e, a document preparation system. Emacs itself finds the manual as well when I hit 'C-h i'. Any pointer why the shell-command version doesn't work? Best, Arash