Description of problem:
In the versions of aplus-fsf that I can activate the Kapl font
(aplus-fsf-4.20.2-22.fc8.i386 and aplus-fsf-4.20.2-19.fc7.i386), when I use
xemacs to edit an a+ script, the "Enter" key does nothing. It should cause
termination of the current line and insert a new line (like most editors).
Version-Release number of selected component (if applicable):
Attempt to edit an a+ script using xemacs.
Steps to Reproduce:
1. Start up xemacs
2. open an a+ script (eg. fsftest.+ )
3. attempt to insert a new line somewhere in the script.
The "Enter" key does nothing.
The "Enter" key should casue insert of new line within script.
I have build aplus-fsf-4.22.1-3 for rawhide with some font packagine cleanup.
aplus-fsf-4.22.1-3.fc7 has been submitted as an update for Fedora 7
aplus-fsf-4.22.1-3.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update aplus-fsf'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F7/FEDORA-2008-3342
aplus-fsf-4.22.1-3.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
Problem still persists in aplus-fsf-4.22-1-3.fc8.
After starting xemacs, activating kapl font, and starting aplus, the two primary
buffers are "scratch" and "a". In "scratch" the kapl font is not activated
(which is good) and RET runs the command newline (also good). In "a" the kapl
font is active and RET runs the command a-send-input (both good). If I load an
aplus script for editing (e.g. fsftest.+) a new buffer (fsftest.+) is created,
in this buffer, the kapl font is active (as it should be), and RET runs the
command a-send-input. When striking the RET key, you get the error message
"current buffer has no process".
I don't know how easy it would be to differentiate the xemacs mode in buffer "a"
in which RET should run the command a-send-input from the mode in buffer
fsftest.+ where RET should run the command newline.
One possible kluge fix would be to map C-RET to run the command newline in all
modes. C-RET is undefined in all modes currently.
I managed to implement an alternate kluge fix.
I could not figure out how to map C-RET to newline. So -
line 6 of /usr/share/xemacs/site-packages/lisp/aplus-fsf/xa.el was
(global-set-key 'f1 'a-send-region)
I commented out that line and inserted the following immediately after it
(global-set-key 'f1 'newline)
This alternate kluge fix seems to work fine. I get a new line whenever I hit f1.
I can now edit or create new A+ scripts using xemacs with the kapl font.
aplus-fsf-4.22.1-3.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.