help-smalltalk
[Top][All Lists]
Advanced

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

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


From: Derek Zhou
Subject: Re: display _ as left arrow (was Re: Help on sending a UDP Packet)
Date: Tue, 12 Jan 2021 13:54:09 -0500
User-agent: mu4e 1.2.0; emacs 27.0.91

stes@PANDORA.BE writes:
>
> In any case the smalltalk-mode could be enhanced:
>
>> (defvar smalltalk-prettify-symbols-alist
>>  '(("^" . ?↑)
>>    (":=" . ?←)))
>
> this could be extended to include a line
>
>>    ("_" . ?←)))
>
> so that the underscore is also pretty-printed as the back arrow.

Right now the underscore is not even highlighted as an operator. Treating it
as one could really screw up the parser. Do people still actively use
the underscore as the assignment operator? I thought that is a relic from
long long time ago.

Derek



reply via email to

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