FAQs(0f) microemacs FAQs(0f) FREQUENTLY ASKED QUESTIONS - Contact Information This document contains frequently asked questions submitted to JASSPA. Use the E-Mail reflector and associated logs, described in the Contact Information section, alternatively questions may be submitted to:- Email:support@jasspa.com We cannot promise to resolve all questions, but will endeavor to answer most. We would also appreciate comments on how to improve the readability of the documentation or suggestions for improvements where you think the documentation is deficient. [FAQ Index]. QUESTION (00) New functionality; what is useful to me as an old MicroEmacs user ?? ANSWER There are a lot of new features in this distribution. Assuming that you just want to use the editor (and have cottoned onto the fact that there are now scroll bars etc.) then the most frequent commands that we use are:- * grep(3) - May need to set up in .emf. * diff(3) - May need to set up in .emf. * compile(3) - May need to set up in .emf. * clean(3) - cleans a buffer, removing spaces etc. * restyle-buffer(3) - Reformats 'C' + known languages. * spell-buffer(3) - For documentation work, spells the buffer. * C-s - isearch-forward(2) incremental search. * C-x u or C-_ - undo(2) undoes edits. * F10 - file-browser(3) allows the file system to be browsed Other useful macros include:- * tabs-to-spaces(3) - Good for sorting out the mess made by Microsoft Developer Studio. * sort-lines(2) - Two versions of this, allows marked lines to be sorted alphabetically. Be wary of:- * esc-o - fill-paragraph(2). The default mode is an automatic mode which attempts to guess at the format required. It works most of the time. Also works in 'C'. Most of the other new features are in the background, such as the macro processor, indentation control, color hilighting, indentation control, auto-saving etc. [FAQ Index]. QUESTION (01) Languages; Are any foreign languages supported other than English ?? ANSWER Unfortunately as we started with V3.8 as a base many years ago, we missed the distribution with foreign language extensions. We have not incorporated them into the release. The May 1999 release improves the language support by supporting the ISO-Latin character sets. We do have spelling dictionaries for French, Spanish, Portuguese and German. Other languages may be supported by transforming native ispell(1) dictionaries. If there is enough interest in this release from people with foreign languages then we may consider including support for foreign language(s). However we would be very much reliant on external help for local testing and translation. We would be open to suggestions. [FAQ Index]. QUESTION (02) C++ is not default, C is - how do I change this ?? ANSWER If your main programming language is C++, then you will require the .def and .h files to be loaded in C++ mode by default, rather than 'C'. To modify this hen the order of the file hooks has to be re-defined. Within your .emf, over-ride the default ordering by including the line:- add-file-hook ".h .def" fhook-cpp This adds a newer binding for ".h" and ".def" to C++, over-riding the existing 'C' binding. [FAQ Index]. QUESTION (03) GNU Emacs; are there any GNU Emacs bindings. ? ANSWER No not at the moment. The GNU Emacs bindings would be added as a compatibility file (meemacs.emf) in much the same way that the me3.8 bindings are added, see meme3_8.emf. From the user-setup(3), the user would then ask for "gnu" compatibility. We would welcome submissions for a gnu compatibility file, gnu.emf, to add to the release. The Meta key (typically Alt) may be bound to key strokes, as opposed to the menu short-cut from the user-setup(3) as follows:- Help -> User Setup -> General -> Alt -> Main Menu = N Help -> User Setup -> General -> Alt -> Esc Prefix = Y [FAQ Index]. QUESTION (04) Icons are not displayed correctly in Microsoft Windows environments !! ANSWER After installing on Microsoft platforms, the Icons in the Explorer window may not be showing correctly. To remedy the situation then the following steps may be taken. Windows '95 Try re-starting the system first. If the icons are still incorrect then re-start in Safe mode and delete the file: c:\windows\ShellIconCache Restart and the Icons should be correct. Window '98 Try re-starting the system first. If the Icons are still incorrect then re-start in Safe mode, this should re-generate the Icon cache. Restart windows. NT Restart the system. [FAQ Index]. QUESTION (05) ipipes not working on Microsoft Windows network drives ? ANSWER We are aware of a problem with the ipipe commands with '95 and '98 (not sure about NT) when the current drive is a Novel network drive. Although we have not been ably to fully characterize the problem, we know that:- * Old Novel Clients prior to 2.2 - Does not work * Novel Intranetware Client 2.2 - Does not work. * Novel Network Client 2.5 - Does work. * Novel Client 3.01 - Does work. Any other information in this area would be appreciated to fully characterize the problem. To get around the problem then disable ipipes using $system(5). From within your .emf knock off bit 0x800 from $system(5). This will enable regular pipes, which will work, albeit not in the background. [FAQ Index]. QUESTION (06) Language not supported - will it be ?? ANSWER We only support the (programming) languages that we have come into contact with. If you are using a language that we are not supporting then you will need to write a new hk.emf file. See Language Templates on how to map a new programming language. The list of currently supported file types is defined in Supported File Types. Jasspa would appreciate any new templates that people define for standard file types so that we can add them to the distribution. For Microsoft Windows, any associated "me" icons types would also be appreciated. [FAQ Index]. QUESTION (07) Language file is incomplete ANSWER For a number of the (programming) language templates we have only provided a sub-set of the commands, this is typically because we only use a sub-set ourselves. For a number of templates, there is no indent support (see indent(2) and Supported File Types). Note that when extending the template then only standard words should be added. Words which are local extensions should be added to a myXXX.emf. Jasspa would appreciate completed template definitions. SEE ALSO FAQ06 [FAQ Index]. QUESTION (08) Input locked up and not accepting keys; how do I unlock ? ANSWER This sometimes happens if a macro has been aborted badly. Typically a few "Ctrl-G"s (see abort-command(2)) will terminate the macro and return control back to the caller. [FAQ Index]. QUESTION (09) MicroEmacs Bindings; How do I get the original MicroEmacs bindings ? ANSWER From user-setup(3) set the Emulation to "MicroEmacs v3.8". On re-starting (or Current) the macro file meme3_8.emf is executed and the bindings loaded. This file should restore your familiar execution set. [FAQ Index]. QUESTION (10) Microsoft Windows Locks up after killing an ipipe. ANSWER This is a known problem for '95/'98 (not NT), on killing an ipipe. Sometimes the "Winoldapp" locks up, if this is the case use "Alt-Ctrl-Del" to bring up the "Close Program" dialogue, kill off the "WinOldApp" if it is not responding. MicroEmacs will then come back. We are looking for ways around this problem at the moment. From the programming perspective Windows is just not as nice as UNIX - which just works !! [FAQ Index]. QUESTION (11) Mouse support under Microsoft windows is strange !! ANSWER The mouse operation under Microsoft windows (and DOS) is biased towards a 3-button mouse operation (Logitech is ideal !!), operating in a similar way to UNIX. i.e.