Bug 443444
Summary: | Key mapping of "Enter" key when editing an a+ file in xemacs | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tom Szczesny <tavmem> |
Component: | aplus-fsf | Assignee: | Jochen Schmitt <jochen> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 8 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 4.22.1-3.fc8 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-05-14 22:13:58 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Tom Szczesny
2008-04-21 16:12:27 UTC
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. |