We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems the problem is that propertize doesn't handle non-string values.
Debugger entered--Lisp error: (wrong-type-argument stringp #<buffer tmp.scm<tmp>>) propertize(#<buffer tmp.scm<tmp>> face bold) sesman--format-link(((Arei . "guile-ares-rs:localhost:7888") buffer #<buffer tmp.scm<tmp>>)) #f(compiled-function (link) #<bytecode 0x18e0c2b0d7d24b9c>)(((Arei . "guile-ares-rs:localhost:7888") buffer #<buffer tmp.scm<tmp>>)) mapcar(#f(compiled-function (link) #<bytecode 0x18e0c2b0d7d24b9c>) (((Arei . "guile-ares-rs:localhost:7888") buffer #<buffer tmp.scm<tmp>>))) sesman--ask-for-link("Unlink: " (((Arei . "guile-ares-rs:localhost:7888") buffer #<buffer tmp.scm<tmp>>)) ask-all) sesman-unlink() funcall-interactively(sesman-unlink) command-execute(sesman-unlink record) execute-extended-command(nil "sesman-unlink" nil) funcall-interactively(execute-extended-command nil "sesman-unlink" nil) command-execute(execute-extended-command)
A temporary workaround:
(defun arei--sesman--format-link (link) "Like original `sesman--format-link', but wraps values into format to ensure that they are string and propertize can handle them." (let* ((system (sesman--lnk-system-name link)) (session (gethash (car link) sesman-sessions-hashmap))) (format "%s(%s) -> %s [%s]" (sesman--lnk-context-type link) (propertize (format "%s" (sesman--abbrev-path-maybe (sesman--lnk-value link))) 'face 'bold) (propertize (format "%s" (sesman--lnk-session-name link)) 'face 'bold) (if session (sesman--format-session-objects system session) "invalid")))) (advice-add 'sesman--format-link :override 'arei--sesman--format-link)
The text was updated successfully, but these errors were encountered:
Workaround sesman format-link issue
c9b8921
vspinu/sesman#29
No branches or pull requests
It seems the problem is that propertize doesn't handle non-string values.
A temporary workaround:
The text was updated successfully, but these errors were encountered: