Comments (3)
For reference, there were a couple other packages that use easy-menu
that had configuration to disable their menus
(setq yas-use-menu nil)
(setq projectile-show-menu nil)
https://github.com/bbatsov/projectile/blob/master/projectile.el#L5926C14-L5926C14
from flycheck.
I looked at this issue today, but solving it is a bit trickier than I thought. The main issue is that the menu is added at load-time, which means any config option will have effect only before Flycheck is loaded, which is usually quick confusing for the users. See https://github.com/flycheck/flycheck/blob/master/flycheck.el#L1233
I'm thinking the best solution might be to just suppress errors there, or check for the existence of the parent menu if I manage to find a function that does this.
from flycheck.
There's a function named easy-menu-item-present-p
that seems to do what we need, but I can't figure out how to use it. Sadly it's documentation is a bit on the spartan side and I couldn't find a single usage of this function anywhere. :(
from flycheck.
Related Issues (20)
- Terraform-tflint command line arguments have changed HOT 1
- flycheck wrong type argument HOT 2
- Flycheck clears the selection mark when selecting text with errors HOT 2
- PHP - Warning about A file should declare new symbols... HOT 1
- test failure: flycheck-define-checker/awk-gawk/syntax-error HOT 1
- Flycheck's Emacs Lisp checker is unable to identify functions defined in nested block
- flycheck in buffers with no file name
- *compilation* buffer takes precedence when it exists
- Is CLA assistant working ? HOT 4
- Rust: couldn't create a temp dir: Operation not permitted HOT 1
- Need a version of flycheck-define-checker and flycheck-define-command-checker that doesn't have to have the checker executable be hard-coded to a string but rather looked up dynamically HOT 1
- Problems setting up PHP_CodeSniffer in Emacs HOT 1
- Support oxlint please HOT 2
- Discrepancy between flycheck-compile output and Flycheck errors buffer using slim-lint checker HOT 2
- Consider downgrading seq dep version HOT 7
- Error when loading: Eager macro-expansion skipped due to cycle HOT 3
- Checker `python-ruff` fails for Python buffers not visiting a file. HOT 18
- Hardcoded "python3" value for executable breaks Windows installs HOT 4
- Flycheck reports 'the function ... is not known to be defined' for autoloaded elisp function. Why? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flycheck.