torstenanders Posted March 22, 2017 Share Posted March 22, 2017 The Opusmodus editor (Hemlock) supports finding the source for definitions: point the cursor, e.g., on a function name and press M-. (on a Mac, the meta key is the alt key). This works nicely, e.g., for everything loaded via quicklisp, asdf and the sources of CCL itself (if the pathname is set up correctly, e.g., by adding the following to your extensions). Obviously, it cannot work for any Opusmodus definitions, because the sources are not available to us. (setf (logical-pathname-translations "ccl") '((#P"ccl:**;*.*" #P"/path/to/your/local-ccl-installation/ccl/**/*.*"))) However, looking up sources conveniently this way does *not* work for Opusmodus extensions loaded automatically from ~/Opusmodus/Extensions. Could please be fixed? This is a lower priority bug, but it would be very good to keep such reports somewhere on record. Opusmodus should have some bug reporting facilities for that. Keeping such messages somewhere in the forum makes the impression that they are easily forgotten, and therefore there is less of an incentive to report bugs :) Best, Torsten PS: Even if Opusmodus is not an open-source system, it would be good to learn from literature such as The Cathedral and the Bazaar by Eric S. Raymond (wikipedia): "Treating your users as co-developers is your least-hassle route to rapid code improvement and effective debugging." Quote Link to comment Share on other sites More sharing options...
opmo Posted March 22, 2017 Share Posted March 22, 2017 If you like to have any access to your source code I suggest you drop all your source files (folders) into the Navigator. This way you will be able to find any definition etc... this is how I work with OM source files. Quote Link to comment Share on other sites More sharing options...
torstenanders Posted March 22, 2017 Author Share Posted March 22, 2017 Thanks for coming back so quickly. Seemingly this does not work reliably -- the source file can be in the Navigator, but the definition is still not found. Anyway, the problem I have with the Navigator is that what it shows and the actual files and folders on the HD are not necessarily in sync. I understand that this gives users some flexibility to arrange their project, but I end up again and again manually making sure my files and the Navigator are in sync (e.g., after adding or moving files). Anyway, this has low priority :) Best, Torsten Quote Link to comment Share on other sites More sharing options...
opmo Posted March 22, 2017 Share Posted March 22, 2017 The definition you can find with the Navigator Search tool: Quote Link to comment Share on other sites More sharing options...
torstenanders Posted March 22, 2017 Author Share Posted March 22, 2017 I see -- yes, that does work (by just searching the text). Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.