New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration with the speedbar (#2) #1046
Comments
Original Redmine Comment Comment RolloverI am replying to the comments posted after the issue1025 has been closed. A. Support rand, randc, and pureIn reply to Wilson Snyder comment (refer to issue1025-12, note #12):
We already improved the +imenu+ (see issue1025-11, note #11). IMHO, it does already a decent job. The thing is that there are two camps of users:
That is why, I propose to elevate priority of the issue1046 over the additional enhanancments of the +imenu+. B. Generic functionsIn reply to Wilson Snyder comment (refer to issue1025-12, note #12):
I completely support the development practice: refrain from defining functions in verilog-mode that are not part of the verilog-scope. B-1. My excuseAfter googling it for several hours, I was surprised to find that elisp doesn't have a generic function to retrieve keys from these elements of an associative list that match a certain criterion. Given that such function does not exist, I went ahead and defined it on my own. B-2. Alternativesa) Let me know if anybody finds a better alternative. b) It appears, that @elisp@ does not have namespaces (refer to "EmacsWiki":https://www.emacswiki.org/emacs/Namespaces). I can rename @alist-keys@ to @verilog--alist-keys@ to avoid symbol collision. Let me know if this an acceptable approach. PatchI am submitting the @verilog-mode-2016-02-24-3bb6198-vpo.patch@ (attached). README
in spite the fact that they do not conform to the SystemVerilog LRM. Solution: retired support for these elements. HOW-TO apply the patchIt is assumed that @verilog-mode.el@ lives in @~/elisp@.
|
Original Redmine Comment
|
Original Redmine Comment A. Support rand, randc, and pureIn reply to Wilson Snyder comment (refer to issue1046-2, note #2):
Note that I deviated from the above approach in respect to the pure methods. As a justification, I considered the case of a mix of pure and non-pure methods. In this case, +imenu+ produces an incomplete list of methods. The incomplete list of methods may mislead the user. To avoid a potential harm, I added pure methods to the Tasks and Functions categories. B. Generic functionsIn reply to Wilson Snyder comment (refer to issue1046-2, note #2):
PatchI am submitting the @verilog-mode-2016-02-24-3bb6198-vpo.2.patch@ (attached). README
in spite the fact that they do not conform to the SystemVerilog LRM. Solution: retired support for these elements. HOW-TO apply the patchIt is assumed that @verilog-mode.el@ lives in @~/elisp@.
|
Original Redmine Comment Great, thanks for adapting. I made one minor change to use eval-after-load as it saves a few lines. Pushed to git and download pages in 2016-03-16-4e283c6-vpo |
Author Name: David Shleifman
Original Redmine Issue: 1046 from https://www.veripool.org
Original Date: 2016-03-14
Original Assignee: David Shleifman
Introduction
emacs is packaged with the speedbar. Verilog/SystemVerilog files are not displayed in the speedbar even if verilog-mode is currently in effect.
Enhancement Request
It would be nice to improve the integration with the speedbar. Ideally, Verilog/SystemVerilog files should be displayed in the speedbar whenever verilog-mode is present.
The text was updated successfully, but these errors were encountered: