unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Running external info within Emacs
@ 2023-03-30 10:56 Arash Esbati
  2023-03-30 13:17 ` Eli Zaretskii
  0 siblings, 1 reply; 14+ messages in thread
From: Arash Esbati @ 2023-03-30 10:56 UTC (permalink / raw)
  To: emacs-devel

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=$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 ‘dir’: Briefly list directory contents
  ===========================================

  ‘dir’ is equivalent to ‘ls -C -b’; that is, by default files are listed
  in columns, sorted vertically, and special characters are represented by
  backslash escape sequences.

     *Note ‘ls’: 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



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-04-02 17:14 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-30 10:56 Running external info within Emacs Arash Esbati
2023-03-30 13:17 ` Eli Zaretskii
2023-03-30 15:00   ` Arash Esbati
2023-03-30 15:56     ` Eli Zaretskii
2023-03-31  6:43       ` Arash Esbati
2023-03-31  7:10         ` Eli Zaretskii
2023-03-31 18:09           ` Arash Esbati
2023-03-31 19:07             ` Eli Zaretskii
2023-04-01 10:51               ` Arash Esbati
2023-04-01 11:37                 ` Eli Zaretskii
2023-04-01 14:45                   ` Arash Esbati
2023-04-01 15:34                     ` Eli Zaretskii
2023-04-02 17:04                       ` Arash Esbati
2023-04-02 17:14                         ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).