On Aug 22, 2011, at 11:09 PM, Chris Seberino wrote:
> On Aug 22, 3:07 pm, Nils Bruin <nbr...@sfu.ca> wrote:
> 
>> One gotcha would be someone wanting to spell out an expression with
>> spaces:
>> 
>>  a / ( b + c )
>> 
>> or logical expressions:
>> 
>> ( x >-10 and x < -5 ) or ( x > 5 and x < 10 )
> 
> No!  I think you are interpreting my little humble proposal to be more
> grander than it is.
> My idea would only trigger on a *letter* followed by a *space* and
> then *left parens*.
> 
> Therefore, none of your 2 cases above would be affected.


Actually "( x >-10 and x < -5 ) or ( x > 5 and x < 10 )" contains "or ( x" so 
there is a letter space left parenthesis.  But it's probably impossible to 
prevent everything from breaking when implicit_multiplication is on.  

Personally I don't use implicit multiplication, but I do wish there were a 
function that changed implicit to explicit since it can be convenient to copy a 
polynomial from somewhere that uses implicit multiplication and going back to 
add *'s is annoying.  But that's a completely different thread since it would 
also be nice if it could magically know and add ^'s as well.

-Ivan

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to