keystroke for help

View: New views
7 Messages — Rating Filter:   Alert me  

keystroke for help

by baptiste auguie-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear all,

Yet again a silly question: how do you obtain help for a given function
(selected, or simply where the cursor currently sits)? I could use C-c C-v
but this requires me to type the word again. Also, is there a way to open
the help in a new window as opposed to masking the buffer I was working on?
I keep having to switch back to this one with the mouse and it's annoying
(e.g. when I start the R process it covers the file i was working with).


Many thanks,

baptiste

Emacs 23.1, Mac OSX 10.5, R2.9.2

        [[alternative HTML version deleted]]

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Re: keystroke for help

by Stephen Eglen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

baptiste auguie <baptiste.auguie@...> wrote:

> Dear all,
>
> Yet again a silly question: how do you obtain help for a given function
> (selected, or simply where the cursor currently sits)? I could use C-c C-v
> but this requires me to type the word again.

If point (emacs' term for the cursor) is currently on a R function,
 e.g. apply, then when you do C-c C-v you should see in the echo area:

Help on (default apply):

so if you hit return, the default is used.

> Also, is there a way to open the help in a new window as opposed to
> masking the buffer I was working on?  I keep having to switch back to
> this one with the mouse and it's annoying (e.g. when I start the R
> process it covers the file i was working with).
See variable ess-help-own-frame if you want it in a separate frame.

Stephen

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Re: keystroke for help

by baptiste auguie-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks! I'd tried that but sadly it was on a Grid function, and it so
happens that Grid isn't part of the default help system... I guess custom
packages can be added to the search path, somehow?

Best regards,

baptiste

(still hoping to raise my editing ratio real work vs. ~/.emacs higher than
unity)


2009/9/1 Stephen Eglen <S.J.Eglen@...>

> baptiste auguie <baptiste.auguie@...> wrote:
>
> > Dear all,
> >
> > Yet again a silly question: how do you obtain help for a given function
> > (selected, or simply where the cursor currently sits)? I could use C-c
> C-v
> > but this requires me to type the word again.
>
> If point (emacs' term for the cursor) is currently on a R function,
>  e.g. apply, then when you do C-c C-v you should see in the echo area:
>
> Help on (default apply):
>
> so if you hit return, the default is used.
>
> > Also, is there a way to open the help in a new window as opposed to
> > masking the buffer I was working on?  I keep having to switch back to
> > this one with the mouse and it's annoying (e.g. when I start the R
> > process it covers the file i was working with).
> See variable ess-help-own-frame if you want it in a separate frame.
>
> Stephen
>


--
_____________________________

Baptiste AuguiƩ

School of Physics
University of Exeter
Stocker Road,
Exeter, Devon,
EX4 4QL, UK

http://newton.ex.ac.uk/research/emag
______________________________

        [[alternative HTML version deleted]]


______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Re: keystroke for help

by Martin Maechler-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>>>>> "ba" == baptiste auguie <baptiste.auguie@...>
>>>>>     on Tue, 1 Sep 2009 14:49:07 +0200 writes:

    ba> Thanks! I'd tried that but sadly it was on a Grid function, and it so
    ba> happens that Grid isn't part of the default help system... I guess custom
    ba> packages can be added to the search path, somehow?

??
Of course, help is only searched in active packages, not in all
the thousands of packages that may be installed.

    ba> Best regards,

    ba> baptiste

    ba> (still hoping to raise my editing ratio real work vs. ~/.emacs higher than
    ba> unity)

!!


    ba> 2009/9/1 Stephen Eglen <S.J.Eglen@...>

    >> baptiste auguie <baptiste.auguie@...> wrote:
    >>
    >> > Dear all,
    >> >
    >> > Yet again a silly question: how do you obtain help for a given function
    >> > (selected, or simply where the cursor currently sits)? I could use C-c
    >> C-v
    >> > but this requires me to type the word again.
    >>
    >> If point (emacs' term for the cursor) is currently on a R function,
    >> e.g. apply, then when you do C-c C-v you should see in the echo area:
    >>
    >> Help on (default apply):
    >>
    >> so if you hit return, the default is used.
    >>
    >> > Also, is there a way to open the help in a new window as opposed to
    >> > masking the buffer I was working on?  I keep having to switch back to
    >> > this one with the mouse and it's annoying (e.g. when I start the R
    >> > process it covers the file i was working with).

"cover"  ???
You should have the help open in another emacs buffer (in the
same frame aka "window"), and you can very quickly switch and
from that , using  C-x o / C-x 1 / C-x 0 / C-x b  etc etc.
*NO* need for the mouse here. There's nothing faster than the
keyboard.

    >> See variable ess-help-own-frame if you want it in a separate frame.

Yes, but that will be even "slower" and more "mouse using".

Martin

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Re: keystroke for help

by baptiste auguie-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OK, I think I'm getting somewhere thanks to the advice I've received.
Now if only they sold a microchip implant to store all these emacs
shortcuts, that you could plug in at your fingertips. I wonder what
programming language they'd use to control it.

Many thanks,

baptiste



2009/9/1 Martin Maechler <maechler@...>

> >>>>> "ba" == baptiste auguie <baptiste.auguie@...>
> >>>>>     on Tue, 1 Sep 2009 14:49:07 +0200 writes:
>
>    ba> Thanks! I'd tried that but sadly it was on a Grid function, and it
> so
>    ba> happens that Grid isn't part of the default help system... I guess
> custom
>    ba> packages can be added to the search path, somehow?
>
> ??
> Of course, help is only searched in active packages, not in all
> the thousands of packages that may be installed.
>

>    ba> Best regards,
>
>    ba> baptiste
>
>    ba> (still hoping to raise my editing ratio real work vs. ~/.emacs
> higher than
>    ba> unity)
>
> !!
>
>
>    ba> 2009/9/1 Stephen Eglen <S.J.Eglen@...>
>
>    >> baptiste auguie <baptiste.auguie@...> wrote:
>    >>
>    >> > Dear all,
>    >> >
>    >> > Yet again a silly question: how do you obtain help for a given
> function
>    >> > (selected, or simply where the cursor currently sits)? I could use
> C-c
>    >> C-v
>    >> > but this requires me to type the word again.
>    >>
>    >> If point (emacs' term for the cursor) is currently on a R function,
>    >> e.g. apply, then when you do C-c C-v you should see in the echo area:
>    >>
>    >> Help on (default apply):
>    >>
>    >> so if you hit return, the default is used.
>    >>
>    >> > Also, is there a way to open the help in a new window as opposed to
>    >> > masking the buffer I was working on?  I keep having to switch back
> to
>    >> > this one with the mouse and it's annoying (e.g. when I start the R
>    >> > process it covers the file i was working with).
>
> "cover"  ???
> You should have the help open in another emacs buffer (in the
> same frame aka "window"), and you can very quickly switch and
> from that , using  C-x o / C-x 1 / C-x 0 / C-x b  etc etc.
> *NO* need for the mouse here. There's nothing faster than the
> keyboard.
>
>    >> See variable ess-help-own-frame if you want it in a separate frame.
>
> Yes, but that will be even "slower" and more "mouse using".
>
> Martin
>

        [[alternative HTML version deleted]]

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Re: keystroke for help

by rsparapa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

baptiste auguie wrote:
> OK, I think I'm getting somewhere thanks to the advice I've received.
> Now if only they sold a microchip implant to store all these emacs
> shortcuts, that you could plug in at your fingertips. I wonder what
> programming language they'd use to control it.
>
> Many thanks,
>
> baptiste

Lisp of course.

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Re: keystroke for help

by Patrick Connolly-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 01-Sep-2009 at 02:18PM +0200, baptiste auguie wrote:

|> Dear all,
|>
|> Yet again a silly question: how do you obtain help for a given
|> function (selected, or simply where the cursor currently sits)? I

If you're already in a help buffer, your keystroke is 'h' and it will
default to the word at point.  If you're in the '*R*' buffer, you'll
need to go through the arduous sequence of C-c C-v.

HTH


|> could use C-c C-v but this requires me to type the word
|> again. Also, is there a way to open the help in a new window as
|> opposed to masking the buffer I was working on?  I keep having to
|> switch back to this one with the mouse and it's annoying (e.g. when
|> I start the R process it covers the file i was working with).

|>
|>
|> Many thanks,
|>
|> baptiste
|>
|> Emacs 23.1, Mac OSX 10.5, R2.9.2
|>
|> [[alternative HTML version deleted]]
|>
|> ______________________________________________
|> ESS-help@... mailing list
|> https://stat.ethz.ch/mailman/listinfo/ess-help

--
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.  
   ___    Patrick Connolly  
 {~._.~}                   Great minds discuss ideas    
 _( Y )_           Average minds discuss events
(:_~*~_:)                  Small minds discuss people  
 (_)-(_)                        ..... Eleanor Roosevelt
         
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help