Comments (9)
This has been fixed few minutes back (943a513).
Earlier the limitation was the emacs -Q -nw
could not received input from the pipe. man
always sends data to the end process like less
($PAGER
) via a pipe. So the same limitation applied.
This has now been fixed. Please git pull again and let me know if it works.
could be set to always use console or alway use GUI,
Now by default, eless
always opens in terminal mode. If you like to force GUI mode, pass the -gui
switch.
from eless.
With latest version for PAGER=eless man grep
I am getting console emacs... but split into two panes.
from eless.
As we cannot pass the -D
flag for eless
directly to man grep
, set PAGER
to eless -D
.
- I do not see
man
started with split windows. What emacs version are you on? I am on the latest build of emacs. - Here is the debug info I get:
> man grep
--> Input from pipe/file
Output to terminal -->
var : -D
Raw Args : -D
Emacs Args : -nw
Pipe Contents : GREP(1) GREP(1)
<snip -- The whole of grep man page>
Temp File : /tmp/emacs-stdin-kmodi.5MB8HSR
first_line_piped_data = GREP(1) GREP(1)
Man Page = GREP(1)
Eless Command : emacs_Q_view_mode -nw --eval '(progn
(man (downcase "GREP(1)"))
(delete-window)
)'
Args passed to emacs_Q_view_mode : -nw --eval (progn
(man (downcase "GREP(1)"))
(delete-window)
)
from eless.
24.5.1. Running inside tmux. Here's output:
Temp File : /tmp/emacs-stdin-itamarst.w9IDUzm
first_line_piped_data = GREP(1) General Commands Manual GREP(1)
Man Page = GREP(1)
Eless Command : emacs_Q_view_mode -nw --eval '(progn
(man (downcase "GREP(1)"))
(delete-window)
)'
Args in emacs_Q_view_mode : -nw --eval (progn
(man (downcase "GREP(1)"))
(delete-window)
)
from eless.
24.5.1
I sorted of guessed that. The good news is that this issue has long been fixed. I would suggest that you upgrade to the recently released emacs 25.2.
I verified that the issue you mentioned happens on 24.5, but not on 25.1.
I'll still try fixing this so that it behaves the same for emacs 24.5 too.
from eless.
OK, thanks! I've been thinking about upgrading to latest Ubuntu, might be the excuse I need.
from eless.
Let me know if this fixes the issue for you: 57668b7
from eless.
Now it starts with two panes and then jumps into having only one after a moment. I should probably just upgrade to newer version of Emacs...
Thanks for the help, and for the neat tool!
from eless.
Now it starts with two panes and then jumps into having only one after a moment.
Yeah, it's just a workaround.. I'll come back to this if I find a better way of fixing this.
Thanks for the help, and for the neat tool!
Glad to help!
from eless.
Related Issues (20)
- Make eless run on emacs 22.1 HOT 17
- Get emacs binary name from an env var HOT 2
- Replace sed -r s/foo/bar/I with BSD compatible equivalent HOT 2
- Fix building using "make all" on macOS HOT 12
- Invalid regex: "Invalid regular expression" error on macOS HOT 15
- Test various eless usage scenarios on Travis
- man pages are not readable on macOS HOT 79
- Support Perl man pages HOT 2
- Default theme HOT 2
- Installation instructions HOT 17
- View multiple files in sequence with eless HOT 1
- Document how markdown-mode can be installed to use eless as CLI md viewer
- man page with colors HOT 18
- Make the test for info .. | eless work on Travis HOT 3
- Customize faces HOT 3
- `make install` fails without meaningful error message if makeinfo is not installed HOT 2
- Error when filename has parentheses HOT 3
- Reconsider emacs dependency for brew formula HOT 3
- How can I use eless in vterm? HOT 1
- passing updated man page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eless.