Fork me on GitHub
#emacs
<
2018-02-02
>
richiardiandrea06:02:05

I have done that and wanted to contribute it back but it keeps asking. I am using the functionp predicate...I will read the link. Thanks @benedek and @bozhidar

bozhidar08:02:18

You’re welcome!

vemv15:02:14

what's the state of shells in Emacs? still limited as it has been traditionally? (e.g. the pager emitted from various shell commands won't properly work)

vemv15:02:00

I've seen some improvements in Emacs 25 (you can clear!), not sure we're 'there' yet though

benedek16:02:17

I am using eshell at work because I have to (working on a restricred win machine, better than vanilla cygwin)

benedek16:02:58

it is ok I am still getting used to it I guess. redirecting output into buffers is nice

vemv16:02:44

is anything broken in your eshell?

gonewest81817:02:41

I use eshell as well. If you’re having issues with pager behavior then read the docs on eshell-visual-commands, eshell-visual-options and eshell-visual-subcommands.

gonewest81817:02:09

Clearing is possible with eshell/clear (which just scrolls any history content off the top of the screen) and eshell/clear-scrollback(which empties the buffer for real).

gonewest81817:02:12

You can use elisp in eshell, too. e.g. like this

~ $ (eshell/clear-scrollback)
or
~ $ echo $(mapcar 'car package-pinned-packages) | cut -d " " -f 1
which-key

benedek17:02:34

no obvious breakages

vemv17:02:04

nice, thanks for sharing!

vemv17:02:36

I've always used (sh), but willing to give another spin to eshell

richiardiandrea18:02:47

Other q: in comint.el I see define-key map "\er" what is that 😃 ?

gonewest81819:02:00

I saw that syntax recently and had to look it up: “In addition, the <TAB>, <RET>, <ESC>, and <DEL> events are represented by “\t”, “\r”, “\e”, and “\d” respectively” https://www.gnu.org/software/emacs/manual/html_node/elisp/Key-Sequences.html

chris19:02:20

(which means M-r)

richiardiandrea20:02:35

@gonewest818 thanks I could find that awesome

richiardiandrea20:02:48

Too bad I have paredit-raise-sexp on that..