* Problem with eshell
@ 2008-10-04 17:49 Adolfo De Unanue
2008-10-04 22:08 ` Lennart Borgman (gmail)
0 siblings, 1 reply; 9+ messages in thread
From: Adolfo De Unanue @ 2008-10-04 17:49 UTC (permalink / raw)
To: help-gnu-emacs
Hi
It is me again, I am using the CVS version of GNU/Emacs but since one
month ago, when I run "eshell" and I try to use any command (ls by
example) I got the following error:
Welcome to the Emacs shell
~ $ ls
Invalid function: assert
Someone knows what is happening?
Another -unrelated- question: anything.el would be integrated to Emacs
any time soon?
One more question: Which python mode I should use? The one integrated
with emacs or another?
Thank you
Adolfo
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Problem with eshell
2008-10-04 17:49 Problem with eshell Adolfo De Unanue
@ 2008-10-04 22:08 ` Lennart Borgman (gmail)
2008-10-05 10:28 ` using c++ style comments for c mode Sanjeev Kumar.S
2008-10-06 2:12 ` Problem with eshell Adolfo De Unanue
0 siblings, 2 replies; 9+ messages in thread
From: Lennart Borgman (gmail) @ 2008-10-04 22:08 UTC (permalink / raw)
To: Adolfo De Unanue; +Cc: help-gnu-emacs
Adolfo De Unanue wrote:
> Hi
>
> It is me again, I am using the CVS version of GNU/Emacs but since one
> month ago, when I run "eshell" and I try to use any command (ls by
> example) I got the following error:
>
>
> Welcome to the Emacs shell
>
> ~ $ ls
> Invalid function: assert
I do not see this problem. Does it happen if you start from
emacs -Q
^ permalink raw reply [flat|nested] 9+ messages in thread
* using c++ style comments for c mode
2008-10-04 22:08 ` Lennart Borgman (gmail)
@ 2008-10-05 10:28 ` Sanjeev Kumar.S
2008-10-06 2:12 ` Problem with eshell Adolfo De Unanue
1 sibling, 0 replies; 9+ messages in thread
From: Sanjeev Kumar.S @ 2008-10-05 10:28 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 682 bytes --]
I already had this in my .emacs file for c mode. So I added another hook
to it to support c++ style comments for C, see at the end. But it still
doesn't work. any suggestions ?
(setq c-default-style "linux-c-mode")
(defun linux-c-mode ()
"C mode with adjusted defaults for use with the Linux kernel."
(interactive)
(c-mode)
(setq c-indent-level 8)
(setq c-brace-imaginary-offset 0)
(setq c-brace-offset -8)
(setq c-argdecl-indent 8)
(setq c-label-offset -8)
(setq c-continued-statement-offset 8)
(setq indent-tabs-mode nil)
(setq tab-width 4)
-> (setq comment-start "// ")
-> (setq comment-end " "))
Regards,
Maindoor.
[-- Attachment #2: Type: text/html, Size: 916 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Problem with eshell
2008-10-04 22:08 ` Lennart Borgman (gmail)
2008-10-05 10:28 ` using c++ style comments for c mode Sanjeev Kumar.S
@ 2008-10-06 2:12 ` Adolfo De Unanue
2008-10-06 7:09 ` Using C++ style block comment in c-mode Maindoor
2008-10-06 9:48 ` Problem with eshell Peter Dyballa
1 sibling, 2 replies; 9+ messages in thread
From: Adolfo De Unanue @ 2008-10-06 2:12 UTC (permalink / raw)
To: Lennart Borgman (gmail); +Cc: help-gnu-emacs
Hi
I did what you suggest (I ran emacs -Q), I got the following:
Welcome to the Emacs shell
~ $ ls
Symbol's function definition is void: assert
Any hints?
Thanks for your help
Adolfo
El Sun, 05 Oct 2008 00:08:25 +0200
"Lennart Borgman (gmail)" <lennart.borgman@gmail.com> escribió:
> Adolfo De Unanue wrote:
> > Hi
> >
> > It is me again, I am using the CVS version of GNU/Emacs but since
> > one month ago, when I run "eshell" and I try to use any command (ls
> > by example) I got the following error:
> >
> >
> > Welcome to the Emacs shell
> >
> > ~ $ ls
> > Invalid function: assert
>
> I do not see this problem. Does it happen if you start from
>
> emacs -Q
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Using C++ style block comment in c-mode
2008-10-06 2:12 ` Problem with eshell Adolfo De Unanue
@ 2008-10-06 7:09 ` Maindoor
2008-10-06 9:48 ` Problem with eshell Peter Dyballa
1 sibling, 0 replies; 9+ messages in thread
From: Maindoor @ 2008-10-06 7:09 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 684 bytes --]
I already had this in my .emacs file for c mode. So I added
a set variable to support c++ style comments for C, see at
the end. But it still doesn't work. any suggestions ?
(setq c-default-style "linux-c-mode")
(defun linux-c-mode ()
(interactive)
(c-mode)
(setq c-indent-level 8)
(setq c-brace-imaginary-offset 0)
(setq c-brace-offset -8)
(setq c-argdecl-indent 8)
(setq c-label-offset -8)
(setq c-continued-statement-offset 8)
(setq indent-tabs-mode nil)
(setq tab-width 4)
-> (setq comment-start "// ")
-> (setq comment-end " "))
Regards,
Maindoor.
hasEML = false;
[-- Attachment #2: Type: text/html, Size: 1099 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Problem with eshell
2008-10-06 2:12 ` Problem with eshell Adolfo De Unanue
2008-10-06 7:09 ` Using C++ style block comment in c-mode Maindoor
@ 2008-10-06 9:48 ` Peter Dyballa
2008-10-06 15:25 ` Adolfo De Unanue
1 sibling, 1 reply; 9+ messages in thread
From: Peter Dyballa @ 2008-10-06 9:48 UTC (permalink / raw)
To: Adolfo De Unanue; +Cc: help-gnu-emacs
Am 06.10.2008 um 04:12 schrieb Adolfo De Unanue:
> Any hints?
Update from CVS. The code from last weekend works fine.
--
Greetings
Pete
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
-Benjamin Franklin, Historical Review of Pennsylvania.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Problem with eshell
2008-10-06 9:48 ` Problem with eshell Peter Dyballa
@ 2008-10-06 15:25 ` Adolfo De Unanue
2008-10-06 15:51 ` Lennart Borgman (gmail)
2008-10-06 17:27 ` Peter Dyballa
0 siblings, 2 replies; 9+ messages in thread
From: Adolfo De Unanue @ 2008-10-06 15:25 UTC (permalink / raw)
To: Peter Dyballa, help-gnu-emacs
Hi Pete,
I downloaded -again- the version from cvs.
Same error :(
Adolfo
El Mon, 6 Oct 2008 11:48:39 +0200
Peter Dyballa <Peter_Dyballa@Web.DE> escribió:
>
> Am 06.10.2008 um 04:12 schrieb Adolfo De Unanue:
>
> > Any hints?
>
>
> Update from CVS. The code from last weekend works fine.
>
> --
> Greetings
>
> Pete
>
> They that can give up essential liberty to obtain a little temporary
> safety deserve neither liberty nor safety.
> -Benjamin Franklin, Historical Review of Pennsylvania.
>
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Problem with eshell
2008-10-06 15:25 ` Adolfo De Unanue
@ 2008-10-06 15:51 ` Lennart Borgman (gmail)
2008-10-06 17:27 ` Peter Dyballa
1 sibling, 0 replies; 9+ messages in thread
From: Lennart Borgman (gmail) @ 2008-10-06 15:51 UTC (permalink / raw)
To: Adolfo De Unanue; +Cc: Peter Dyballa, help-gnu-emacs
Did you download to a new directory? Did you follow the build instructions?
Adolfo De Unanue wrote:
> Hi Pete,
>
> I downloaded -again- the version from cvs.
> Same error :(
>
> Adolfo
>
>
>
>
> El Mon, 6 Oct 2008 11:48:39 +0200
> Peter Dyballa <Peter_Dyballa@Web.DE> escribió:
>
>> Am 06.10.2008 um 04:12 schrieb Adolfo De Unanue:
>>
>>> Any hints?
>>
>> Update from CVS. The code from last weekend works fine.
>>
>> --
>> Greetings
>>
>> Pete
>>
>> They that can give up essential liberty to obtain a little temporary
>> safety deserve neither liberty nor safety.
>> -Benjamin Franklin, Historical Review of Pennsylvania.
>>
>>
>>
>
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Problem with eshell
2008-10-06 15:25 ` Adolfo De Unanue
2008-10-06 15:51 ` Lennart Borgman (gmail)
@ 2008-10-06 17:27 ` Peter Dyballa
1 sibling, 0 replies; 9+ messages in thread
From: Peter Dyballa @ 2008-10-06 17:27 UTC (permalink / raw)
To: Adolfo De Unanue; +Cc: help-gnu-emacs
Am 06.10.2008 um 17:25 schrieb Adolfo De Unanue:
> I downloaded -again- the version from cvs.
Why? Can't you use the cvs programme to update the source code (M-x
cvs-up RET)? And which Linux variant is the package?
Launching GNU Emacs with -Q and then typing M-x eshell RET to invoke
the ls command finally produces no failure in Mac OS X 10.4.11 with
Athena/Xaw3d or in Aqua/GNUStep clothes.
Is your disk OK or has it some self-modifying active sectors? Can you
you launch GNU Emacs from a shell with minimal environment and LANG/
LC_* set to a minimal C? IMO your GNU Linux system is defective – or
do you have some "customisation" file/RC file for eshell? Eshell,
term, or shell always load their RC files since they're loading an
external shell interpreter. I prefer to use *shell* and in it tcsh,
so when I launch GNU Emacs with -Q and then start the *shell* buffer/
process it at once loads ~/.emacs_tcsh. And tcsh *obviously* load its
RC files since I have aliases!
--
Greetings
Pete
The day Microsoft makes something that doesn't suck is the day they
start selling vacuum cleaners.
– Ernest Jan Plugge
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-10-06 17:27 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-04 17:49 Problem with eshell Adolfo De Unanue
2008-10-04 22:08 ` Lennart Borgman (gmail)
2008-10-05 10:28 ` using c++ style comments for c mode Sanjeev Kumar.S
2008-10-06 2:12 ` Problem with eshell Adolfo De Unanue
2008-10-06 7:09 ` Using C++ style block comment in c-mode Maindoor
2008-10-06 9:48 ` Problem with eshell Peter Dyballa
2008-10-06 15:25 ` Adolfo De Unanue
2008-10-06 15:51 ` Lennart Borgman (gmail)
2008-10-06 17:27 ` Peter Dyballa
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).