Git Product home page Git Product logo

Comments (11)

thierryvolpiatto avatar thierryvolpiatto commented on August 27, 2024

I don't know what is helm-w3m. Do you mean helm-w3m-bookmarks?

from helm.

thierryvolpiatto avatar thierryvolpiatto commented on August 27, 2024

Also enable debug-on-error and send the backtrace. Start from emacs -Q if possible, thanks.

from helm.

rlazo avatar rlazo commented on August 27, 2024

Sorry about that, I must have been more careful with my bug report (and also more detailed). And yes, I'm talking about helm-w3m-bookmarks.el

Running

emacs -Q

and evaluationg the following snippet (eval-buffer):

(add-to-list 'load-path "~/workspace/emacs/helm")
(require 'helm-config)
(toggle-debug-on-error)
(helm-w3m-bookmarks)

I get the following output:

Debugger entered--Lisp error: (void-variable helm-mode-line-string)
  default-value(helm-mode-line-string)
  (or (assoc-default (quote mode-line) source) (default-value (quote helm-mode-line-string)))
  (helm-interpret-value (or (assoc-default (quote mode-line) source) (default-value (quote helm-mode-line-string))) source)
  (set (make-local-variable (quote helm-mode-line-string)) (helm-interpret-value (or (assoc-default (quote mode-line) source) (default-value (quote helm-mode-line-string))) source))
  helm-display-mode-line(((name . "W3m Bookmarks") (init lambda nil (setq helm-c-w3m-bookmarks-alist (helm-html-bookmarks-to-alist w3m-bookmark-file helm-w3m-bookmark-url-regexp helm-w3m-bookmarks-regexp))) (candidates lambda nil (mapcar (function car) helm-c-w3m-bookmarks-alist)) (filtered-candidate-transformer helm-c-adaptive-sort helm-c-highlight-w3m-bookmarks) (action ("Browse Url" lambda (candidate) (helm-c-w3m-browse-bookmark candidate)) ("Copy Url" lambda (elm) (kill-new (helm-c-w3m-bookmarks-get-value elm))) ("Browse Url Externally" lambda (candidate) (helm-c-w3m-browse-bookmark candidate t)) ("Delete Bookmark" lambda (candidate) (helm-c-w3m-delete-bookmark candidate)) ("Rename Bookmark" lambda (candidate) (helm-c-w3m-rename-bookmark candidate))) (persistent-action lambda (candidate) (if current-prefix-arg (helm-c-w3m-browse-bookmark candidate t) (helm-c-w3m-browse-bookmark candidate nil t))) (persistent-help . "Open URL with emacs-w3m in new tab / C-u \\[helm-execute-persistent-action]: Open URL with Firefox")))
  (progn (select-window (helm-window) (quote norecord)) (helm-log-run-hook (quote helm-move-selection-before-hook)) (funcall move-func) (helm-skip-noncandidate-line direction) (helm-display-source-at-screen-top-maybe unit) (when (helm-get-previous-header-pos) (helm-mark-current-line)) (helm-display-mode-line (helm-get-current-source)) (helm-log-run-hook (quote helm-move-selection-after-hook)))
  (unwind-protect (progn (select-window (helm-window) (quote norecord)) (helm-log-run-hook (quote helm-move-selection-before-hook)) (funcall move-func) (helm-skip-noncandidate-line direction) (helm-display-source-at-screen-top-maybe unit) (when (helm-get-previous-header-pos) (helm-mark-current-line)) (helm-display-mode-line (helm-get-current-source)) (helm-log-run-hook (quote helm-move-selection-after-hook))) (dolist (elt save-selected-window-alist) (and (frame-live-p (car elt)) (window-live-p (cadr elt)) (set-frame-selected-window (car elt) (cadr elt) (quote norecord)))) (when (window-live-p save-selected-window-window) (select-window save-selected-window-window (quote norecord))))
  (save-current-buffer (unwind-protect (progn (select-window (helm-window) (quote norecord)) (helm-log-run-hook (quote helm-move-selection-before-hook)) (funcall move-func) (helm-skip-noncandidate-line direction) (helm-display-source-at-screen-top-maybe unit) (when (helm-get-previous-header-pos) (helm-mark-current-line)) (helm-display-mode-line (helm-get-current-source)) (helm-log-run-hook (quote helm-move-selection-after-hook))) (dolist (elt save-selected-window-alist) (and (frame-live-p (car elt)) (window-live-p (cadr elt)) (set-frame-selected-window (car elt) (cadr elt) (quote norecord)))) (when (window-live-p save-selected-window-window) (select-window save-selected-window-window (quote norecord)))))
  (let ((save-selected-window-window (selected-window)) (save-selected-window-alist (mapcar (lambda (frame) (list frame (frame-selected-window frame))) (frame-list)))) (save-current-buffer (unwind-protect (progn (select-window (helm-window) (quote norecord)) (helm-log-run-hook (quote helm-move-selection-before-hook)) (funcall move-func) (helm-skip-noncandidate-line direction) (helm-display-source-at-screen-top-maybe unit) (when (helm-get-previous-header-pos) (helm-mark-current-line)) (helm-display-mode-line (helm-get-current-source)) (helm-log-run-hook (quote helm-move-selection-after-hook))) (dolist (elt save-selected-window-alist) (and (frame-live-p (car elt)) (window-live-p (cadr elt)) (set-frame-selected-window (car elt) (cadr elt) (quote norecord)))) (when (window-live-p save-selected-window-window) (select-window save-selected-window-window (quote norecord))))))
  (with-selected-window (helm-window) (helm-log-run-hook (quote helm-move-selection-before-hook)) (funcall move-func) (helm-skip-noncandidate-line direction) (helm-display-source-at-screen-top-maybe unit) (when (helm-get-previous-header-pos) (helm-mark-current-line)) (helm-display-mode-line (helm-get-current-source)) (helm-log-run-hook (quote helm-move-selection-after-hook)))
  (with-helm-window (helm-log-run-hook (quote helm-move-selection-before-hook)) (funcall move-func) (helm-skip-noncandidate-line direction) (helm-display-source-at-screen-top-maybe unit) (when (helm-get-previous-header-pos) (helm-mark-current-line)) (helm-display-mode-line (helm-get-current-source)) (helm-log-run-hook (quote helm-move-selection-after-hook)))
  (if (or (helm-empty-buffer-p (helm-buffer-get)) (not (helm-window))) nil (with-helm-window (helm-log-run-hook (quote helm-move-selection-before-hook)) (funcall move-func) (helm-skip-noncandidate-line direction) (helm-display-source-at-screen-top-maybe unit) (when (helm-get-previous-header-pos) (helm-mark-current-line)) (helm-display-mode-line (helm-get-current-source)) (helm-log-run-hook (quote helm-move-selection-after-hook))))
  (unless (or (helm-empty-buffer-p (helm-buffer-get)) (not (helm-window))) (with-helm-window (helm-log-run-hook (quote helm-move-selection-before-hook)) (funcall move-func) (helm-skip-noncandidate-line direction) (helm-display-source-at-screen-top-maybe unit) (when (helm-get-previous-header-pos) (helm-mark-current-line)) (helm-display-mode-line (helm-get-current-source)) (helm-log-run-hook (quote helm-move-selection-after-hook))))
  helm-move-selection-common((lambda nil (if (not (helm-pos-multiline-p)) (forward-line 1) (let ((header-pos (helm-get-next-header-pos)) (separator-pos (helm-get-next-candidate-separator-pos))) (cond ((and separator-pos (or (null header-pos) (< separator-pos header-pos))) (goto-char separator-pos)) (header-pos (goto-char header-pos)))))) line next)
  helm-next-line()
  helm-update-move-first-line()
  (cond ((and preselect delayed-sources normal-sources) (helm-log "Update preselect candidate %s" preselect) (helm-preselect preselect)) (delayed-sources (helm-update-move-first-line (quote without-hook))) (t (helm-update-move-first-line) (helm-log-run-hook (quote helm-after-update-hook)) (when preselect (helm-log "Update preselect candidate %s" preselect) (helm-preselect preselect))))
  (unwind-protect (setq delayed-sources (loop for source in (remove-if-not (quote helm-update-source-p) (helm-get-sources)) if (helm-delayed-source-p source) collect source else do (progn (push source normal-sources) (helm-process-source source)))) (helm-log-eval (mapcar (lambda (s) (assoc-default (quote name) s)) delayed-sources)) (cond ((and preselect delayed-sources normal-sources) (helm-log "Update preselect candidate %s" preselect) (helm-preselect preselect)) (delayed-sources (helm-update-move-first-line (quote without-hook))) (t (helm-update-move-first-line) (helm-log-run-hook (quote helm-after-update-hook)) (when preselect (helm-log "Update preselect candidate %s" preselect) (helm-preselect preselect)))) (when delayed-sources (helm-new-timer (quote helm-process-delayed-sources-timer) (run-with-idle-timer (max helm-idle-delay helm-input-idle-delay 0.1) nil (quote helm-process-delayed-sources) delayed-sources preselect))) (helm-log "end update"))
  (let (delayed-sources normal-sources) (unwind-protect (setq delayed-sources (loop for source in (remove-if-not (quote helm-update-source-p) (helm-get-sources)) if (helm-delayed-source-p source) collect source else do (progn (push source normal-sources) (helm-process-source source)))) (helm-log-eval (mapcar (lambda (s) (assoc-default (quote name) s)) delayed-sources)) (cond ((and preselect delayed-sources normal-sources) (helm-log "Update preselect candidate %s" preselect) (helm-preselect preselect)) (delayed-sources (helm-update-move-first-line (quote without-hook))) (t (helm-update-move-first-line) (helm-log-run-hook (quote helm-after-update-hook)) (when preselect (helm-log "Update preselect candidate %s" preselect) (helm-preselect preselect)))) (when delayed-sources (helm-new-timer (quote helm-process-delayed-sources-timer) (run-with-idle-timer (max helm-idle-delay helm-input-idle-delay 0.1) nil (quote helm-process-delayed-sources) delayed-sources preselect))) (helm-log "end update")))
  (save-current-buffer (set-buffer (helm-buffer-get)) (set (make-local-variable (quote helm-input-local)) helm-pattern) (erase-buffer) (let (delayed-sources normal-sources) (unwind-protect (setq delayed-sources (loop for source in (remove-if-not (quote helm-update-source-p) (helm-get-sources)) if (helm-delayed-source-p source) collect source else do (progn (push source normal-sources) (helm-process-source source)))) (helm-log-eval (mapcar (lambda (s) (assoc-default (quote name) s)) delayed-sources)) (cond ((and preselect delayed-sources normal-sources) (helm-log "Update preselect candidate %s" preselect) (helm-preselect preselect)) (delayed-sources (helm-update-move-first-line (quote without-hook))) (t (helm-update-move-first-line) (helm-log-run-hook (quote helm-after-update-hook)) (when preselect (helm-log "Update preselect candidate %s" preselect) (helm-preselect preselect)))) (when delayed-sources (helm-new-timer (quote helm-process-delayed-sources-timer) (run-with-idle-timer (max helm-idle-delay helm-input-idle-delay 0.1) nil (quote helm-process-delayed-sources) delayed-sources preselect))) (helm-log "end update"))))
  (with-current-buffer (helm-buffer-get) (set (make-local-variable (quote helm-input-local)) helm-pattern) (erase-buffer) (let (delayed-sources normal-sources) (unwind-protect (setq delayed-sources (loop for source in (remove-if-not (quote helm-update-source-p) (helm-get-sources)) if (helm-delayed-source-p source) collect source else do (progn (push source normal-sources) (helm-process-source source)))) (helm-log-eval (mapcar (lambda (s) (assoc-default (quote name) s)) delayed-sources)) (cond ((and preselect delayed-sources normal-sources) (helm-log "Update preselect candidate %s" preselect) (helm-preselect preselect)) (delayed-sources (helm-update-move-first-line (quote without-hook))) (t (helm-update-move-first-line) (helm-log-run-hook (quote helm-after-update-hook)) (when preselect (helm-log "Update preselect candidate %s" preselect) (helm-preselect preselect)))) (when delayed-sources (helm-new-timer (quote helm-process-delayed-sources-timer) (run-with-idle-timer (max helm-idle-delay helm-input-idle-delay 0.1) nil (quote helm-process-delayed-sources) delayed-sources preselect))) (helm-log "end update"))))
  helm-update(nil)
  (if (and (helm-resume-p any-resume) (not (helm-empty-buffer-p))) (helm-mark-current-line t) (helm-update any-preselect))
  helm-read-pattern-maybe(nil nil nil nil nil nil nil)
  (unwind-protect (helm-read-pattern-maybe any-prompt any-input any-preselect any-resume any-keymap any-default (when (and any-history (symbolp any-history)) any-history)) (helm-cleanup))
  (progn (helm-initialize any-resume any-input any-sources) (helm-display-buffer helm-buffer) (helm-log "show prompt") (unwind-protect (helm-read-pattern-maybe any-prompt any-input any-preselect any-resume any-keymap any-default (when (and any-history (symbolp any-history)) any-history)) (helm-cleanup)))
  (unwind-protect (progn (helm-initialize any-resume any-input any-sources) (helm-display-buffer helm-buffer) (helm-log "show prompt") (unwind-protect (helm-read-pattern-maybe any-prompt any-input any-preselect any-resume any-keymap any-default (when (and any-history (symbolp any-history)) any-history)) (helm-cleanup))) (loop for (var . value) in --orig-vars do (set var value)) (setq post-command-hook (car --post-command-hook-pair)) (setq-default post-command-hook (cdr --post-command-hook-pair)) (helm-log "restore variables"))
  (let ((--orig-vars (mapcar (lambda (v) (cons v (symbol-value v))) helm-restored-variables)) (--post-command-hook-pair (cons post-command-hook (default-value (quote post-command-hook))))) (setq post-command-hook (quote (t))) (setq-default post-command-hook nil) (unwind-protect (progn (helm-initialize any-resume any-input any-sources) (helm-display-buffer helm-buffer) (helm-log "show prompt") (unwind-protect (helm-read-pattern-maybe any-prompt any-input any-preselect any-resume any-keymap any-default (when (and any-history (symbolp any-history)) any-history)) (helm-cleanup))) (loop for (var . value) in --orig-vars do (set var value)) (setq post-command-hook (car --post-command-hook-pair)) (setq-default post-command-hook (cdr --post-command-hook-pair)) (helm-log "restore variables")))
  (with-helm-restore-variables (helm-initialize any-resume any-input any-sources) (helm-display-buffer helm-buffer) (helm-log "show prompt") (unwind-protect (helm-read-pattern-maybe any-prompt any-input any-preselect any-resume any-keymap any-default (when (and any-history (symbolp any-history)) any-history)) (helm-cleanup)))
  (let (helm-source-name helm-in-persistent-action helm-quit (case-fold-search t) (helm-buffer (or any-buffer helm-buffer))) (with-helm-restore-variables (helm-initialize any-resume any-input any-sources) (helm-display-buffer helm-buffer) (helm-log "show prompt") (unwind-protect (helm-read-pattern-maybe any-prompt any-input any-preselect any-resume any-keymap any-default (when (and any-history (symbolp any-history)) any-history)) (helm-cleanup))) (prog1 (unless helm-quit (helm-execute-selection-action-1)) (helm-log (concat "[End session] " (make-string 41 45)))))
  (condition-case v (let (helm-source-name helm-in-persistent-action helm-quit (case-fold-search t) (helm-buffer (or any-buffer helm-buffer))) (with-helm-restore-variables (helm-initialize any-resume any-input any-sources) (helm-display-buffer helm-buffer) (helm-log "show prompt") (unwind-protect (helm-read-pattern-maybe any-prompt any-input any-preselect any-resume any-keymap any-default (when (and any-history (symbolp any-history)) any-history)) (helm-cleanup))) (prog1 (unless helm-quit (helm-execute-selection-action-1)) (helm-log (concat "[End session] " (make-string 41 45))))) (quit (helm-restore-position-on-quit) (helm-log (concat "[End session (quit)] " (make-string 34 45))) nil))
  (unwind-protect (condition-case v (let (helm-source-name helm-in-persistent-action helm-quit (case-fold-search t) (helm-buffer (or any-buffer helm-buffer))) (with-helm-restore-variables (helm-initialize any-resume any-input any-sources) (helm-display-buffer helm-buffer) (helm-log "show prompt") (unwind-protect (helm-read-pattern-maybe any-prompt any-input any-preselect any-resume any-keymap any-default (when (and any-history ...) any-history)) (helm-cleanup))) (prog1 (unless helm-quit (helm-execute-selection-action-1)) (helm-log (concat "[End session] " (make-string 41 45))))) (quit (helm-restore-position-on-quit) (helm-log (concat "[End session (quit)] " (make-string 34 45))) nil)) (setq overriding-local-map old-overridding-local-map) (helm-log-save-maybe))
  (let ((old-overridding-local-map overriding-local-map)) (unwind-protect (condition-case v (let (helm-source-name helm-in-persistent-action helm-quit (case-fold-search t) (helm-buffer (or any-buffer helm-buffer))) (with-helm-restore-variables (helm-initialize any-resume any-input any-sources) (helm-display-buffer helm-buffer) (helm-log "show prompt") (unwind-protect (helm-read-pattern-maybe any-prompt any-input any-preselect any-resume any-keymap any-default (when ... any-history)) (helm-cleanup))) (prog1 (unless helm-quit (helm-execute-selection-action-1)) (helm-log (concat "[End session] " (make-string 41 45))))) (quit (helm-restore-position-on-quit) (helm-log (concat "[End session (quit)] " (make-string 34 45))) nil)) (setq overriding-local-map old-overridding-local-map) (helm-log-save-maybe)))
  helm-internal(helm-c-source-w3m-bookmarks nil nil nil nil "*helm w3m bookmarks*" nil nil nil)
  apply(helm-internal (helm-c-source-w3m-bookmarks nil nil nil nil "*helm w3m bookmarks*" nil nil nil))
  (if (keywordp (car plist)) (helm-let-internal (helm-parse-keys plist) (lambda nil (apply (quote helm) (mapcar (lambda (key) (plist-get plist key)) helm-argument-keys)))) (apply (quote helm-internal) plist))
  helm(helm-c-source-w3m-bookmarks nil nil nil nil "*helm w3m bookmarks*" nil nil nil)
  apply(helm (helm-c-source-w3m-bookmarks nil nil nil nil "*helm w3m bookmarks*" nil nil nil))
  (lambda nil (apply (quote helm) (mapcar (lambda (key) (plist-get plist key)) helm-argument-keys)))()
  funcall((lambda nil (apply (quote helm) (mapcar (lambda (key) (plist-get plist key)) helm-argument-keys))))
  (unwind-protect (funcall bodyfunc) (setq helm-let-variables nil))
  helm-let-internal(nil (lambda nil (apply (quote helm) (mapcar (lambda (key) (plist-get plist key)) helm-argument-keys))))
  (if (keywordp (car plist)) (helm-let-internal (helm-parse-keys plist) (lambda nil (apply (quote helm) (mapcar (lambda (key) (plist-get plist key)) helm-argument-keys)))) (apply (quote helm-internal) plist))
  helm(:sources helm-c-source-w3m-bookmarks :buffer "*helm w3m bookmarks*")
  helm-other-buffer(helm-c-source-w3m-bookmarks "*helm w3m bookmarks*")
  helm-w3m-bookmarks()
  eval-buffer()  ; Reading at buffer position 309
  call-interactively(eval-buffer t nil)
  execute-extended-command(nil)
  call-interactively(execute-extended-command nil nil)

I'm using emacs-24.1.50.1 (bzr)

from helm.

thierryvolpiatto avatar thierryvolpiatto commented on August 27, 2024

Ok, thanks, should be fixed now.

from helm.

rlazo avatar rlazo commented on August 27, 2024

Did you updated the repo with the commit that solves this issue? looking at helm-w3m.el it hasn't been modified for a while (a month). Thanks!

from helm.

thierryvolpiatto avatar thierryvolpiatto commented on August 27, 2024

Rodrigo Lazo
[email protected]
writes:

Did you updated the repo with the commit that solves this issue? looking at helm-w3m.el it hasn't been modified for a while (a month). Thanks!
Yes, it is fixed, the problem was not in helm-w3m.el ;-)
Just update and run helm, it should work, please confirm it works fine
and I will close bug.

Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997

from helm.

rlazo avatar rlazo commented on August 27, 2024

My bad :-). Yes, now it works. Thanks!

from helm.

dove-young avatar dove-young commented on August 27, 2024

I found similar issues on Emacs 23.

When I run Emacs and expand Emacs frame to maximum size, than I can run (helm-for-files) smoothly. But when I run Emacs and did not maximise Emacs frame, there will be error message said 'Wrong type argument: wholenump -28'.

Then as I enabled (toggle-debug-on-error), here is the Backtrace output

Debugger entered--Lisp error: (wrong-type-argument wholenump -28)
make-string(-28 32)
helm-display-mode-line(((match helm-mp-exact-match helm-mp-3-match helm-c-buffer-match-major-mode) (search helm-mp-exact-search helm-mp-3-search) (name . "Buffers") (candidates . helm-c-buffer-list) (type . buffer) (match helm-c-buffer-match-major-mode) (candidate-transformer helm-c-skip-boring-buffers helm-c-highlight-buffers) (persistent-action . helm-c-buffers-list-persistent-action) (keymap keymap (24 keymap ... keymap ... keymap ...) (67108925 . helm-buffer-diff-persistent) (27 keymap ... ... ... ... ... ... ... ... keymap ... ... ... ... ... ... ... ... ... ... ... ... ... keymap ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (3 keymap ... ... ... ... keymap ... ... ... ... ... ...) keymap (menu-bar keymap ... keymap ...) (help keymap ...) (8 keymap ...) (f1 keymap ...) (3 keymap ... ... ... ... ... ...) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (20 . helm-toggle-resplit-window) (18 . undefined) (23 . helm-yank-text-at-point) (24 keymap ... keymap ...) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark) (C-M-up . helm-scroll-other-window-down) (C-M-down . helm-scroll-other-window) (M-prior . helm-scroll-other-window-down) (M-next . helm-scroll-other-window) (15 . helm-next-source) (10 . helm-select-3rd-action) (5 . helm-select-2nd-action-or-end-of-line) (26 . helm-execute-persistent-action) (9 . helm-select-action) (13 . helm-exit-minibuffer) (left . helm-previous-source) (right . helm-next-source) (7 . helm-keyboard-quit) (22 . helm-next-page) (27 keymap ... ... ... ... ... ... ... ... ... ... ... ... ... keymap ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (next . helm-next-page) (prior . helm-previous-page) (16 . helm-previous-line) (14 . helm-next-line) (up . helm-previous-line) (down . helm-next-line) keymap (5 . icicle-end-of-line+) (1 . icicle-beginning-of-line+) (67108925 . icicle-insert-string-from-variable) (24 keymap ...) (M-S-delete . icicle-erase-minibuffer) (M-S-backspace . icicle-erase-minibuffer) (67108927 . icicle-minibuffer-help) (menu-bar keymap ...) ...) (volatile) (mode-line . helm-buffer-mode-line-string) (persistent-help . "Show this buffer / C-u [helm-execute-persistent-action]: Kill this buffer") (header-line . helm-persistent-help-string) (action ("Switch to buffer" . helm-c-switch-to-buffer) ("Switch to buffer other window" . switch-to-buffer-other-window) ("Switch to buffer other frame" . switch-to-buffer-other-frame) ("Query replace regexp" . helm-c-buffer-query-replace-regexp) ("Query replace" . helm-c-buffer-query-replace) ("View buffer" . view-buffer) ("Display buffer" . display-buffer) ("Grep buffers (C-u grep all buffers)" . helm-c-zgrep-buffers) ("Revert buffer(s)" . helm-revert-marked-buffers) ("Insert buffer" . insert-buffer) ("Kill buffer(s)" . helm-kill-marked-buffers) ("Diff with file" . diff-buffer-with-file) ("Ediff Marked buffers" . helm-ediff-marked-buffers) ("Ediff Merge marked buffers" lambda ... ...)) (persistent-help . "Show this buffer") (candidate-transformer helm-c-skip-boring-buffers helm-c-transform-buffer-display-string)))
helm-move-selection-common(#[nil "\302 \204�

from helm.

thierryvolpiatto avatar thierryvolpiatto commented on August 27, 2024

Please try again starting from emacs -Q.
Also: send me values of (window-witdh) with frame maximized and not.

from helm.

dove-young avatar dove-young commented on August 27, 2024

When I did not maximum Emacs frame, (- (window-width) (length hlstr)) used to be -28 or something like. I just temporarily changed it to (abs (- (window-width) (length hlstr))). But I saw your change to add a (max 0 xxxx) function. :-)

from helm.

thierryvolpiatto avatar thierryvolpiatto commented on August 27, 2024

Ok good, hope that works for you.

from helm.

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.