Comments (3)
I guess my error output is associated with this issue.
When I show last result [C-c e up]
. I got error (I toggled toggle-debug-on-error
):
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
string-match("\n" nil 0)
split-string(nil "\n")
(let ((result-lines (split-string result "\n"))) (message "%s" (if (<= (length result-lines) 3) (apply 'concat (cl-subseq result-lines 0 3)) (concat (apply 'concat (cl-subseq result-lines 0 3)) "... (" (number-to-string (- (length result-lines) 3)) " more)"))))
(if ejc-show-results-buffer (let ((output-buffer (ejc-get-output-buffer)) (old-split split-width-threshold)) (set-buffer output-buffer) (if result (progn (read-only-mode -1) (erase-buffer) (insert result))) (read-only-mode 1) (beginning-of-buffer) (setq split-width-threshold nil) (display-buffer output-buffer) (setq split-width-threshold old-split)) (let ((result-lines (split-string result "\n"))) (message "%s" (if (<= (length result-lines) 3) (apply 'concat (cl-subseq result-lines 0 3)) (concat (apply 'concat (cl-subseq result-lines 0 3)) "... (" (number-to-string (- (length result-lines) 3)) " more)")))))
ejc-show-last-result()
funcall-interactively(ejc-show-last-result)
call-interactively(ejc-show-last-result nil nil)
command-execute(ejc-show-last-result)
from ejc-sql.
@stardiviner, this problem is not related to the issue, but I guess it's fixed by the following commit: a4db6db
from ejc-sql.
Done.
from ejc-sql.
Related Issues (20)
- direx.el no longer works after Emacs master commit d65534d254 on Dec 26 2021 HOT 4
- Please let `DESCRIBE-TABLE` show comment about the fields.
- Error when trying to connect HOT 1
- how to connect mongodb
- Transaction rollback not working HOT 1
- Failure on connect in Emacs 28 with native compilation HOT 3
- ejc:goto--line-column not defined HOT 1
- ejc-connect got AbstractMethodError HOT 1
- Table in ejc-result not align correct. HOT 2
- Is that prosssible to use key word USE in mysql?
- No suitable driver found for jdbc:postgresql://localhost:5432/db HOT 2
- Support for displaying PL/SQL output
- Cloudera Impala JDBC support? HOT 4
- ejc-eval-org-snippet should return org table if possible HOT 1
- Warning about obosolete generalized variable 'point' HOT 1
- postgre List of relations error HOT 1
- Where would be a good place to escape/handle the pipe char "|" in the results? HOT 1
- No such function `pprint`
- ejc-connect fails frequently
- Upon killing buffer with connection, reopenning buffer raises error "Selecting deleted buffer"
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 ejc-sql.