| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
CIDER's popups had a way to track those automatically for a while,
it's time to leverage this consistently.
|
| |
|
|
|
|
|
|
|
| |
This reverts commit b28fbac964907172fdedc3bea56eab905d5fbdbf.
This can't be fully removed due to the difference in the signature
of `if-let*` and `when-let*` in Emacs 25 and 26.
|
|
|
|
| |
It's no longer needed now that we target Emacs 25.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
previously there were two separate lists of positive and negative
filters and complicated logic spread throughout of how these
interacted. Now there is a single list that you can toggle flags on or
off and their interaction is dictated inside of a single function
`cider-stacktrace-apply-filters`. Since their interaction is here we
no longer need to remember previous flags as they are just toggled on
and off.
Positive filters are 'all or 'project. These dictate that all frames
should be shown or only any frame from a project namespace should be
shown, despite other filters. Also, these two cannot exist at the same
time, so we need to check which is most "recent". Since if 'project is
selected, it hides all but project frames and if 'all is selected it
must show all. We do what was most recently selected in this case
then.
So the frame filtering is quite simply a list of tags you want to
filter by: '(java clj tooling repl dup project all). These are toggled
on and off as desired.
|
|
|
|
| |
It's a generic function, so it should live at some more generic location.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Ubuntu:
sudo apt install openjdk-8-source
The zip is installed to /usr/lib/jvm/openjdk-8/src.zip.
Download also this one:
https://repo1.maven.org/maven2/org/clojure/clojure/1.8.0/clojure-1.8.0-sources.jar
Extract both and configure e.g. like so:
(setq cider-jdk-src-paths '("~/git/java/clojure-1.8.0-sources"
"~/git/java/openjvm-8-src"))
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Fix #2130.
Emacs 26 obsoletes `if-let` and `when-let`, replacing them with `if-let*` and
`when-let*`. This raises byte-compilation warnings (treated as errors) when
testing against Emacs 26.
See: http://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-26#n1278
|
| |
|
| |
|
| |
|
|
|
|
| |
and enhance INDENT argument
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
invoking function from button was not working the way I expected. It was not
seeing new values for defvar's. Now it's called by the button handler and it is
working correctly.
|
|
|
|
|
|
| |
Rather than putting everything in the show category, move all of those into the
hide category and put the "positive" filters on the top line. Modify the fuction
to return the correct face for filters.
|
|
|
|
| |
hooks up a shortcut, corrects the underlining for other filters
|
|
|
|
|
|
|
| |
when filtering stackframes, there was only a "remove" type of filter. If we wish
to filter to just our project, we need a way to ensure that project frames
persist even if another tag says to remove it. This adds the "positive" filter
mechanics.
|
|
|
|
|
|
|
|
|
|
| |
In order to add "positive" filters, we must only show or hide when we're
actually on a stackframe line. This method takes a very naive way of starting at
the top of the buffer and considering whether to hide all lines. The other lines
just don't have any 'flags properties so they never come up as needing to be
hidden in the `(seq-intersection filters flags)` part, so hide is always false
on them. But if we want to show _only_ those lines with a particular flag this
hides the cause line and any other lines that don't have flags at all.
|
|
|
|
|
| |
All of those were making their buffers read-only explicitly, but that
behaviour is automatically inherited from special-mode.
|
|
|
|
| |
Previously, we were only updating faces when we enable themes.
|
|
|
| |
`cider-stacktrace-suppressed-button-face` should inherit from `widget-inactive` instead of `widget-inactive-face`. This fixes #1965.
|
|
|
| |
This also fixes some issues checkdoc was currently reporting.
|
| |
|
| |
|
|
|
|
|
| |
The functions in `cider-compat.el` were actually added in Emacs 25.1,
not Emacs 24.4.
|
| |
|
| |
|
|
|
|
| |
More explicitly state the intent of the stacktrace suppression
button(s), in response to https://github.com/clojure-emacs/cider/issues/1829
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
cider-report-bug noew lives in cider-util.el.
|
|
|
| |
Suppress user-specified middleware errors
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Was 30, now 26. The longest file name on all of my stacktraces is always
ThreadPoolExecutor.java, which has 23 chars and isn't even displayed
with the default filters. With the new setting, this file will still be
indented by 3 spaces.
The reason is that error buffers are usually created on a split window,
and stacktraces are indented by so many spaces that I can never read the
function names without unsplitting the window first.
Maybe we can reduce it even more.
|