Skip to content

Not able to pipe into eless #18

@mobyte0

Description

@mobyte0

OS: MacOS 10.12.6
Shell: fish 2.5.0/bash 4.4.0(1)-release

 rob  ~/b/eless   master ±  ls
CONTRIBUTING.org README.org       doc              eless.org
LICENSE.md       build            eless
 rob  ~/b/eless   master ±  emacs --version
GNU Emacs 25.3.1
Copyright (C) 2017 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
 rob  ~/b/eless   master ±  echo 'test' | ./eless -D
Eless Version f2eee31 (commit hash of current master~1)
https://github.com/kaushalmodi/eless/tree/master
DEBUG: --> Input from pipe/file
DEBUG:     Output to terminal -->
DEBUG: var : -D
DEBUG: Raw Args                       : -D
DEBUG: Emacs Args                     : -nw
DEBUG: Pipe Contents (up to 10 lines) : test
DEBUG: Temp File : emacs-stdin-rob.HJxNpaJ
--tmpdir
DEBUG: first_line_piped_data = test
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
	[-e pattern] [-f file] [--binary-files=value] [--color=when]
	[--context[=num]] [--directories=action] [--label] [--line-buffered]
	[--null] [pattern] [file ...]
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
	[-e pattern] [-f file] [--binary-files=value] [--color=when]
	[--context[=num]] [--directories=action] [--label] [--line-buffered]
	[--null] [pattern] [file ...]
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
	[-e pattern] [-f file] [--binary-files=value] [--color=when]
	[--context[=num]] [--directories=action] [--label] [--line-buffered]
	[--null] [pattern] [file ...]
DEBUG: No man page or info manual detected
DEBUG: Eless Command : emacs_Q_view_mode emacs-stdin-rob.HJxNpaJ
--tmpdir                          -nw                          --eval '(progn
                                   (set-visited-file-name nil)
                                   (rename-buffer "*Stdin*" :unique))'
DEBUG: Args passed to emacs_Q_view_mode : emacs-stdin-rob.HJxNpaJ

A GUI emacs opens without anything in it.

 rob  ~/b/eless   master ±  ls
--tmpdir                         build                            emacs-stdin-rob.HJxNpaJ
CONTRIBUTING.org                 doc                              emacs-stdin-rob.HJxNpaJ?--tmpdir
LICENSE.md                       eless
README.org                       eless.org

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions