Re: A bug or a feature?

Massimiliano Gubinelli <[email protected]>
Newsgroups gmane.editors.texmacs.devel
Message-ID <[email protected]>
Joris,
 I understand what you say but it does not corresponds to what I see: in this case the user explicitly asked for a "TeXmacs space" by typing [space] [tab] (i.e. inserting <space>) and not just a function application. But it is also ignored which I find strange.

In particular this snippet:

(equation* (document "a<space>=<space>b"))

have a space before but not after the = sign. I do not see how this relates to what you wrote.

Max



> On 5. May 2021, at 12:11, TeXmacs <[email protected]> wrote:
> 
> Hi Max,
> 
> This is actually a feature.  People coming from LaTeX or ASCII often have
> the (nasty) habit of typing spaces around all kinds of binary operators and relations.
> Remind that spaces are meaningful inside TeXmacs (they stand for function application),
> so it is actually wrong to enter superfluous spaces.  For this reason, the default
> behaviour is to ignore superfluous spaces.  You can enter explicit spaces as variants
> of the default space.
> 
> Best wishes, --Joris
> 
> 
> On Wed, May 05, 2021 at 11:49:38AM +0200, Massimiliano Gubinelli wrote:
>> Dear all,
>> a friend (which I'm trying to convert to TeXmacs) has note this strange behaviour (which I never noticed before): in math mode, <space> after "=" is ignored. To check just type [=] and then [space] [tab] to insert <space> and write some more. Wider spaces work, e.g. [space] [tab] [tab] [tab] for example. <space> before "=" also works. So I guess this is a bug?
>> 
>> Joris?
>> 
>> Max
>> 
>> 
>> _______________________________________________
>> Texmacs-dev mailing list
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/texmacs-dev
> 
> _______________________________________________
> Texmacs-dev mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/texmacs-dev


_______________________________________________
Texmacs-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/texmacs-dev
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.