Re: display _ as left arrow (was Re: Help on sending a UDP Packet)

"[email protected]" <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <[email protected]>
Sorry but I didn't write or submit the patch.  I think Stefan Monnier wrote it.

Initially I liked the idea of a pretty-print filter,
but I'm not so sure any longer.

It may complicate things;  perhaps it's not such a good idea to have a pretty-print filter,
anyway.

Most of all I don't mind using ^ and _ simple symbols,
they are just symbols, so if they mean "return a value" and "assign a value",
that's fine.

This is defined by the Blue Book Smalltalk language definition,
as there's no doubt about it that the Blue Book Smalltalk language definition,
defines variable assignment by the "left arrow".

The Smalltalk language definition Blue Book does not define ":=" as far as I know.

David Stes

----- Op 12 jan 2021 om 21:05 schreef help-smalltalk [email protected]:

> [email protected] writes:
> 
>> ----- Op 12 jan 2021 om 20:15 schreef help-smalltalk [email protected]:
>>
>>> I tried that, and it is not as nice as one would think. It is not
>>> highlighted as an operator for one.
>>
>> OK.  But you mean emacs is not seeing _ as operator, if I understand correctly.
>>
> You quoted me out of context. I was commenting on the patch and what I
> mean was the patch you made does not do the right thing, that's all. To
> do the right thing, ie, with prettified symbol and syntax highlight, you
> need to do more; patch welcomed.
> 
> Derek
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.