> On 2 Mar 2015, at 14:42, Ralf Hemmecke wrote:
>> 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.
> 
> Do you mean C-c C-e, the command axiom-process-eval-region ?

Ooops. Yes. My typo. :-(

>>> 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?

> Not sure what you mean by this.  Is this in the *Axiom REPL* buffer? 
> What is it that you are seeing happen?

In fact, .... now that you ask...

1) In the REPL buffer, when I press ENTER with the cursor on some line,
the line will be copied to the bottom of the REPL buffer an serves as
input. That's perfect, but it would be great if the line following the
line with the cursor is joined to the cursor line (with the _ removed)
in case there is a _ at the very end of the cursor line. And this joined
line would then be used as the input line.

2) I'm actually just starting with axiom-environment, so maybe it's
already there... I'm looking for a way to put my cursor on some line in
a buffer containing an *.input file. Then press Ctrl-ENTER and that line
would be copied to the REPL buffer and automatically executed.

3) Another wish. If I am in a .spad or .input or in the REPL buffer,
there sometimes appear FriCAS types. Suppose my cursor is on such a type
identifier, for example, Polynomial(Integer), cursor on the m.
Then pressing C-c C-h or some other key would call a function that gets
"Polynomial" as parameter. In fact, I'd like that function to call

  firefox http://fricas.github.io/api/Polynomial.html &

or with a local "file://.../Polynomial.html" URL.

4) Like 3), but instead of calling a browser, it would open the source
file where the respective type is defined. Of course, I would have to
configure where my FriCAS sources are. And it would need another list.
I used the following Makefile target to generate the information that I
need for all the cross linking and the link to the .spad sources on
http://fricas.github.io/api/Integer.html .

abbrev.list:
#--rhx: TODO: Does not work for in-source-build!!!
        (cd $(ALGEBRASOURCES); \
        grep -nH '^)ab[a-z]* [a-z]*  *[A-Z0-9]* *[^ ]*' *.spad \
        | sed -e 's/\.spad:/ /' -e 's/:)abbrev//') > $@

Oh, too many wishes and it's not Christmas. ;-)

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