[ESS] Cannot disable args from showing in minibuffer
Vitalie Spinu
spinuvit at gmail.com
Wed May 16 13:36:08 CEST 2012
>>>> gerald.jean at dgag.ca
>>>> on Wed, 16 May 2012 06:55:09 -0400 wrote:
> Hello,
> well, I have the inverse problem!!! I mostly use S+ but R also a little
> bit. I used to have, and liked it, to have the functions' args showing up
> in the minibuffer. Now nothing??? Further more pressing F3, used to show
> the functions' args, but now all it shows in the minibuffer is:
> ARGS:
Interesting. I though functions argument help and eldoc where always
only for R. It probably just accidentally worked for S+ before. It
should be straightforward to adjust the code for S+.
The key is ess--funargs-command which contains the R code executed for
argument retrieval. The interface is not settled and most likely will
change slightly in the next release. You can still try to come up with
alternative simple version of that code for S+. It should return a
vector with at least two strings: package of the function and argument
string.
I will try to get an S+ in near future. What is the version you are
using? And what is the elisp code responsible for that?
[to ess-core:
I see
-rw-rw-r-- 1 vitoshka 3.4K 05-07 22:07 ess-s3-d.el
-rw-rw-r-- 1 vitoshka 11K 05-07 22:07 ess-s4-d.el
-rw-rw-r-- 1 vitoshka 3.4K 05-07 22:07 ess-sp3-d.el
-rw-rw-r-- 1 vitoshka 20K 05-07 22:07 ess-sp4-d.el
-rw-rw-r-- 1 vitoshka 4.3K 05-07 22:07 ess-sp5-d.el
-rw-rw-r-- 1 vitoshka 11K 05-07 22:07 ess-sp6-d.el
-rw-rw-r-- 1 vitoshka 29K 05-07 22:07 ess-sp6w-d.el
What of this is still working/useful and what is not? Shall we purge the
old stuff a bit?
]
Vitalie.
> that is it, not verry usefull!!!
> But, by the way, I like very much the new completion scheme when
> requestiong help, good job, thanks.
> Gérald Jean
> Conseiller senior en statistiques,
> VP Actuariat et Solutions d'assurances,
> Desjardins Groupe d'Assurances Générales
> télephone : (418) 835-4900 poste (7639)
> télecopieur : (418) 835-6657
> courrier électronique: gerald.jean at dgag.ca
> "We believe in God, others must bring Data."
> W. Edwards Deming
> ess-help-bounces at r-project.org a écrit sur 2012/05/16 03:53:53 :
>>
>> Instead of disabling the eldoc try
>>
>> (setq ess-eldoc-abbreviation-style 'aggressive)
>>
>> This will try to intelligently abbreviate the doc string and also
>> truncate it to fit into one line minibuffer.
>>
>> If you don't want to abbreviate but only truncate do:
>>
>> (setq eldoc-echo-area-use-multiline-p nil)
>>
>> See the docs of these variables for more.
>>
>> Cheers,
>> Vitalie.
>>
>> >>>> David <davaren1 at yahoo.com>
>> >>>> on Wed, 16 May 2012 00:24:15 -0700 (PDT) wrote:
>>
>> > Thank you for your response. I read the new features section but I
> didn't
>> > realize I needed to add "nil". I am only an ESS novice but I
>> got into the habit
>> > of disabling the args because my functions would expand the
>> minibuffer to half
>> > the window size to show my 20 or so args. It is just a
>> personal preference for
>> > disabling it.
>>
>> > Thanks again.
>>
>> > ________________________________
>> > From: Vitalie Spinu <spinuvit at gmail.com>
>> > To: David <davaren1 at yahoo.com>
>> > Cc: "ess-help at r-project.org" <ess-help at r-project.org>
>> > Sent: Wednesday, May 16, 2012 12:01 AM
>> > Subject: Re: [ESS] Cannot disable args from showing in minibuffer
>>
>> > A general advice, if something went unexpected in a new version, read
>> > the new features section. All this stuff is documented there. Eldoc
> was
>> > redesigned and moved into the core. You can deactivate it by
> customizing
>> > ess-use-eldoc or just by:
>>
>> > (setq ess-use-eldoc nil)
>>
>> > But, why would you like to disable it in the first place?
>>
>> >>>> David <davaren1 at yahoo.com>
>> >>>> on Tue, 15 May 2012 20:47:40 -0700 (PDT) wrote:
>>
>> > > Dear List,
>>
>> > > I have used Dr. Goulet's Emacs distribution with great
>> success over the years. Dr. Goulet latest distribution is version
>> 23.4 which includes ESS12.04.
>>
>> > > In the past I had been commenting out (require 'ess-eldoc)
>> in Dr. Goulet's
>> > > default.el file to disable the args from showing in the
>> minibuffer. I now
>> > > have the problem of the args showing up. The args were only
>> disabled when
>> > > Iswitchedback to ESS-5.14. Is it possible there is a problem with
>> > > ESS 12? I still cannot disable the args using the latest ESS-SVN.
>>
>> > > I communicated with Dr. Goulet but he has no idea what the
>> problem could be. My session info is as follows:
>>
>> > > R version 2.15.0 (2012-03-30)
>> > > Platform: i386-pc-mingw32/i386 (32-bit)
>>
>> > > Thank you for any help.
>>
>> > > D. Arenas
>> > > [[alternative HTML version deleted]]
>>
>> > > ______________________________________________
>> > > ESS-help at r-project.org mailing list
>> > > https://stat.ethz.ch/mailman/listinfo/ess-help>
>> ______________________________________________
>> ESS-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help
More information about the ESS-help
mailing list