Hello Paul,

Meanwhile, I've found out, that the key combination C-y C-e is together
with selecting the region is (nearly) doing what I want. However, I've
also seemingly detected a bug.

Take the lines

x^20+_
x+1

If I select the region stopping just behind the 1 and press C-y C-e,
then everything works fine.

If I include the newline following the 1, then the new input line does
not include the 1 but rather ends at + and thus gives an error.

If I include the 2 newlines, i.e. the empty line following the actual
input, then everything is OK.

All that is in FriCAS 1.2.5 (yes we are already at 1.2.5 and not at
1.2.4 as your commit from 17-Jan-2015 shows).

Anyway, thanks for this emacs-mode.

Ralf


On 03/01/2015 02:39 PM, Ralf Hemmecke wrote:
> Hi Paul,
> 
> this weekend I played with your axiom-environment for ema acs.
> https://bitbucket.org/pdo/axiom-environment
> I'm already using it for editing .spad files, but now realized that it
> also allows to run fricas inside an emacs-buffer.
> 
> In fact, I find it somewhat superior to what is in efricas, because it
> allows me to cut&paste output back into the command line.
> 
> I've now written a LinearOutputFormat that outputs not in 2D but rather
> 1D format with that main goal that one can use the output and paste it
> back into FriCAS (or perhaps) with a little modification also into other
> computer algebra systems. In particular for polynomials, I've always
> missed such a feature.
> 
> In order to make lines not too long that formatter outputs 77 characters
> and appends the line continuation character (an underscore), if a line
> is too long.
> 
> Now my question, would it be hard to modify your axiom-environment in
> such a way that it continues reading if it finds an underscore a the end
> of a line and concatenates those lines. Or would it rather make sense to
> let my LinearOutputFormat simply output only a (very) long line?
> 
> Thanks
> Ralf
> 

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to