help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'dabbrev-expand' ignores case for completions..


From: Andreas Röhler
Subject: Re: 'dabbrev-expand' ignores case for completions..
Date: Thu, 7 Jun 2007 09:19:29 +0200
User-agent: KMail/1.8.2

Am Donnerstag, 7. Juni 2007 00:36 schrieb Livin Stephen Sharma:
> dabbrev-expand' ignores case for completions..
>  Datum: Heute 00:36:34
>  Von: Livin Stephen Sharma <livin.stephen@gmail.com>
>  An: emacs-help gnu gnu <help-gnu-emacs@gnu.org>
>
> In my Java class if I have a declaration partially typed-out like this:
> > // incomplete declaration
> > FileWriter fileWriter = new File
>
> and then I hit M-/ to try completion on the last word ('File') in the  
> hope of getting 'FileWriter',
>
> i get this instead:
> > // why is the 'writer' text generated by 'M-/' lower-cased?
> > FileWriter fileWriter = new Filewriter
>
>   Is there a way to have the case not dropped to lower?


With point at the end of buffer

FileWriter fileWriter = new File

expanded to

FileWriter fileWriter = new FileWriter

Maybe your result is caused by a word `Filewriter' located after point:
 
`dabbrev-expand' usually searches forward for an
expansion first, then afterward. This is customizabel.

Andreas Roehler

GNU Emacs 22.1.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 
2007-06-07 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]