GithubHelp home page GithubHelp logo

Comments (3)

stardiviner avatar stardiviner commented on July 29, 2024

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.

kostafey avatar kostafey commented on July 29, 2024

@stardiviner, this problem is not related to the issue, but I guess it's fixed by the following commit: a4db6db

from ejc-sql.

kostafey avatar kostafey commented on July 29, 2024

Done.

from ejc-sql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.