Re: [ESS] Tab completion for CamelCase

2022-11-11 Thread Naresh Gurbuxani via ESS-help

> 
> GNU Emacs 28.1 (build 2, x86_64-w64-mingw32) of 2022-04-21
> ess-version: 18.10.2 [] (loaded from
> c:/Users/ngurbuxani/AppData/Roaming/.emacs.d/elpa/)
> 
> When I define a CamelCase variable, tab completion works well.
> 
> myLongNameVar <- 23
> myL  completes variable name in CamelCase.
> 
> When I have CamelCase variables in a string, then tab completion ignores
> CamelCase.
> 
> myquery <- "
> SELECT aLongFieldName
> FROM myDataTable"
> 
> "aLon  completes variable name in lower case (aLongfieldname).
> 
> Is it possible to use tab completion to get CamelCase variables inside a
> string?
> 
> Thanks,
Naresh  Sent from my iPhone

> On Nov 8, 2022, at 11:09 AM, Martin Maechler  
> wrote:
> 
> 
>> 
>> Naresh Gurbuxani via ESS-help 
>>on Mon, 7 Nov 2022 17:54:58 + writes:
> 
>> My ess setup on mac works well with tab completion of CamelCase variable 
>> names.  However, on Windows, tab completes variable names with all lowercase 
>> letters.  So it does give me complete variable name, which needs some 
>> letters to be converted to uppercase.
> 
> This is strange.
> At least on regular platform, i.e., non-Windows,  ESS really
> uses base R's own completion engine and that will definitely
> differentiate lower- and upper-case,  and hence correctly treat
> CamelCase.
> 
> Which Version of ESS (and Emacs) are you talking about?
> (M-x emacs-version  /  M-x ess-version)
> 
> Martin
> 
>> Can tab completion on Windows give proper CamelCase variables?
> 
>> Thanks,
>> Naresh
__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


Re: [ESS] Tab completion for CamelCase

2022-11-08 Thread Martin Maechler via ESS-help
> Naresh Gurbuxani via ESS-help 
> on Mon, 7 Nov 2022 17:54:58 + writes:

> My ess setup on mac works well with tab completion of CamelCase variable 
names.  However, on Windows, tab completes variable names with all lowercase 
letters.  So it does give me complete variable name, which needs some letters 
to be converted to uppercase.

This is strange.
At least on regular platform, i.e., non-Windows,  ESS really
uses base R's own completion engine and that will definitely
differentiate lower- and upper-case,  and hence correctly treat
CamelCase.

Which Version of ESS (and Emacs) are you talking about?
(M-x emacs-version  /  M-x ess-version)

Martin

> Can tab completion on Windows give proper CamelCase variables?

> Thanks,
> Naresh

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help