foo!(bar) ==> foo{bar}

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Oct 9 06:16:29 PDT 2008


Sergey Gromov wrote:
> Thu, 09 Oct 2008 07:26:39 -0500,
> Andrei Alexandrescu wrote:
>> KennyTM~ wrote:
>>> Gide Nwawudu wrote:
>>>> The IDE/editor highlights the guillemets in a differnet colour,
>>>> because unlike brackets, this is easily done without affecting other
>>>> expressions. It does look ok.
>>>>
>>>> Gide
>>> What if I want to program in notepad.exe?
>> No highlight of course but I was surprised that Notepad displayed the 
>> guillemets properly.
> 
> XP Notepad has full Unicode support and can save various flavours of 
> Unicode files.  Microsoft cares about their non-English speaking, non-
> European customers.
> 
> As to Unicode punctuation, I wasn't able to evaluate most of the 
> proposals in this NG because my news reader is not Unicode-aware and my 
> code page is Russian, so I've seen most of them as question marks.

Speaking of which, an interesting converse approach would be if the 
editor would accept and store !() while displaying guillemets instead. 
Does anyone know how this could be done for emacs?


Andrei



More information about the Digitalmars-d mailing list