* setting eshell histsize from environment
@ 2011-12-01 22:02 Philipp Haselwarter
2011-12-01 22:36 ` Glenn Morris
0 siblings, 1 reply; 2+ messages in thread
From: Philipp Haselwarter @ 2011-12-01 22:02 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 494 bytes --]
I just started a eshell, but it went a little wrong:
--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (wrong-type-argument wholenump "100000")
make-vector("100000" nil)
make-ring("100000")
eshell-hist-initialize()
eshell-mode()
eshell(nil)
call-interactively(eshell t nil)
execute-extended-command(nil)
call-interactively(execute-extended-command nil nil)
--8<---------------cut here---------------end--------------->8---
so…
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: em-hist.el.patch --]
[-- Type: text/x-patch, Size: 420 bytes --]
--- em-hist.el.original 2011-12-01 22:36:08.000000000 +0100
+++ em-hist.el 2011-12-01 22:37:22.788838131 +0100
@@ -261,7 +261,7 @@
(make-local-variable 'eshell-history-size)
(or eshell-history-size
- (setq eshell-history-size (getenv "HISTSIZE")))
+ (setq eshell-history-size (string-to-number (getenv "HISTSIZE"))))
(make-local-variable 'eshell-history-file-name)
(or eshell-history-file-name
[-- Attachment #3: Type: text/plain, Size: 374 bytes --]
GNU Emacs 24.0.91.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.8) of
2011-11-19 (also occurs on a built of today)
The actual reason I resorted to `eshell' was that `ansi-term' failed me
when I attached to screen: My screenrc displays the time in the
hardstatus ( [ %d.%m %c:%s ] ), which makes ansi-term "jump" every
second. Any ideas on that?
--
Philipp Haselwarter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-01 22:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-01 22:02 setting eshell histsize from environment Philipp Haselwarter
2011-12-01 22:36 ` Glenn Morris
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.