* Eldoc mode
@ 2006-02-05 17:35 Richard M. Stallman
2006-02-05 17:56 ` Masatake YAMATO
0 siblings, 1 reply; 9+ messages in thread
From: Richard M. Stallman @ 2006-02-05 17:35 UTC (permalink / raw)
man/programs.texi says:
Eldoc mode applies
in Emacs Lisp and Lisp Interaction modes, and perhaps a few others
that provide special support for looking up doc strings.
Could someone please check the actual list of supported major modes?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Eldoc mode
2006-02-05 17:35 Eldoc mode Richard M. Stallman
@ 2006-02-05 17:56 ` Masatake YAMATO
2006-02-06 2:31 ` Stefan Monnier
2006-02-06 4:58 ` Richard M. Stallman
0 siblings, 2 replies; 9+ messages in thread
From: Masatake YAMATO @ 2006-02-05 17:56 UTC (permalink / raw)
Cc: emacs-devel
> man/programs.texi says:
>
> Eldoc mode applies
> in Emacs Lisp and Lisp Interaction modes, and perhaps a few others
> that provide special support for looking up doc strings.
>
> Could someone please check the actual list of supported major modes?
hexl-mode, python-mode and eshell-mode are supported.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Eldoc mode
2006-02-05 17:56 ` Masatake YAMATO
@ 2006-02-06 2:31 ` Stefan Monnier
2006-02-06 4:58 ` Richard M. Stallman
1 sibling, 0 replies; 9+ messages in thread
From: Stefan Monnier @ 2006-02-06 2:31 UTC (permalink / raw)
Cc: rms, emacs-devel
>> man/programs.texi says:
>>
>> Eldoc mode applies
>> in Emacs Lisp and Lisp Interaction modes, and perhaps a few others
>> that provide special support for looking up doc strings.
>>
>> Could someone please check the actual list of supported major modes?
> hexl-mode, python-mode and eshell-mode are supported.
Haskell-mode as well (tho it's not distributed with Emacs).
Stefan
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Eldoc mode
2006-02-05 17:56 ` Masatake YAMATO
2006-02-06 2:31 ` Stefan Monnier
@ 2006-02-06 4:58 ` Richard M. Stallman
2006-02-06 20:34 ` Masatake YAMATO
1 sibling, 1 reply; 9+ messages in thread
From: Richard M. Stallman @ 2006-02-06 4:58 UTC (permalink / raw)
Cc: emacs-devel
What does Eldoc do in Hexl mode? I can't imagine.
What does Eldoc do in Eshell? Does it give documentation
on shell commands? If so, could it easily work in sh-script mode
and in the Shell buffer too?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Eldoc mode
2006-02-06 4:58 ` Richard M. Stallman
@ 2006-02-06 20:34 ` Masatake YAMATO
2006-02-07 22:48 ` Richard M. Stallman
0 siblings, 1 reply; 9+ messages in thread
From: Masatake YAMATO @ 2006-02-06 20:34 UTC (permalink / raw)
Cc: emacs-devel
> What does Eldoc do in Hexl mode? I can't imagine.
Eldoc shows the address specified by point in hexadecimal and
decimal format.
> What does Eldoc do in Eshell? Does it give documentation
> on shell commands? If so, could it easily work in sh-script mode
> and in the Shell buffer too?
I don't know well about this. Maybe it gives documentation on elisp
command. Eldoc on ielm does the same thing.
Masatake YAMATO
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Eldoc mode
2006-02-06 20:34 ` Masatake YAMATO
@ 2006-02-07 22:48 ` Richard M. Stallman
2006-02-08 4:30 ` Masatake YAMATO
0 siblings, 1 reply; 9+ messages in thread
From: Richard M. Stallman @ 2006-02-07 22:48 UTC (permalink / raw)
Cc: emacs-devel
> What does Eldoc do in Eshell? Does it give documentation
> on shell commands? If so, could it easily work in sh-script mode
> and in the Shell buffer too?
I don't know well about this. Maybe it gives documentation on elisp
command.
Eshell implements a shell within Emacs.
Its commands seem to be shell commands, not Emacs Lisp.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Eldoc mode
2006-02-07 22:48 ` Richard M. Stallman
@ 2006-02-08 4:30 ` Masatake YAMATO
2006-02-09 17:47 ` Richard M. Stallman
0 siblings, 1 reply; 9+ messages in thread
From: Masatake YAMATO @ 2006-02-08 4:30 UTC (permalink / raw)
Cc: emacs-devel
> > What does Eldoc do in Eshell? Does it give documentation
> > on shell commands? If so, could it easily work in sh-script mode
> > and in the Shell buffer too?
>
> I don't know well about this. Maybe it gives documentation on elisp
> command.
>
> Eshell implements a shell within Emacs.
Yes.
> Its commands seem to be shell commands, not Emacs Lisp.
No. I don't use eshell. However, AFAIK, Eshell accepts both
shell command line and Emacs lisp code. Here is the example:
----------------------------------------------------------------------------------------
Welcome to the Emacs shell
~/Mail/inbox $ cd /tmp
/tmp $ ls
9Komc1 index.sjis.txt
E jet11338agW
E1 jet15672diB
...
/tmp $ (car (list 1 2 3))
1
/tmp $
----------------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Eldoc mode
2006-02-08 4:30 ` Masatake YAMATO
@ 2006-02-09 17:47 ` Richard M. Stallman
2006-02-13 7:05 ` Masatake YAMATO
0 siblings, 1 reply; 9+ messages in thread
From: Richard M. Stallman @ 2006-02-09 17:47 UTC (permalink / raw)
Cc: emacs-devel
No. I don't use eshell. However, AFAIK, Eshell accepts both
shell command line and Emacs lisp code. Here is the example:
I did not know that. Could you possibly update the doc string of
eshell?
Anyway, that clears up the question of what Eldoc mode does
in Eshell.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Eldoc mode
2006-02-09 17:47 ` Richard M. Stallman
@ 2006-02-13 7:05 ` Masatake YAMATO
0 siblings, 0 replies; 9+ messages in thread
From: Masatake YAMATO @ 2006-02-13 7:05 UTC (permalink / raw)
Cc: emacs-devel
> No. I don't use eshell. However, AFAIK, Eshell accepts both
> shell command line and Emacs lisp code. Here is the example:
>
> I did not know that. Could you possibly update the doc string of
> eshell?
>
> Anyway, that clears up the question of what Eldoc mode does
> in Eshell.
I've look at the Eshell's code. Then I found that Eshell uses
Eldoc only for getting the document string of a function. Eshell
doesn't use Eldoc for displaying documentation in real time.
So there is nothing to add to the document string.
If what I wrote here is not clear enough, do
M-x find-function eshell-exec-lisp
It may be obvious.
Masatake YAMATO
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-02-13 7:05 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-05 17:35 Eldoc mode Richard M. Stallman
2006-02-05 17:56 ` Masatake YAMATO
2006-02-06 2:31 ` Stefan Monnier
2006-02-06 4:58 ` Richard M. Stallman
2006-02-06 20:34 ` Masatake YAMATO
2006-02-07 22:48 ` Richard M. Stallman
2006-02-08 4:30 ` Masatake YAMATO
2006-02-09 17:47 ` Richard M. Stallman
2006-02-13 7:05 ` Masatake YAMATO
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).