Closed diogoleal closed 1 year ago
Try (setq debug-on-error t), repeat M-x meme, and post the resulting backtrace.
Please accept my apologies for the delay.
Debugger entered--Lisp error: (wrong-number-of-arguments image-compute-scaling-factor 0)
(image-compute-scaling-factor)
(* 180 (image-compute-scaling-factor))
(truncate (* 180 (image-compute-scaling-factor)))
(let* ((dir (expand-file-name "images" (file-name-directory (locate-library "meme")))) (pixels (truncate (* 180 (image-compute-scaling-factor)))) (width (/ (- (nth 2 (window-pixel-edges)) (nth 0 (window-pixel-edges)) 20) pixels)) (inhibit-read-only t) (i 0) image-width image) (erase-buffer) (let ((--dolist-tail-- (directory-files dir t ".jpg\\'"))) (while --dolist-tail-- (let ((file (car --dolist-tail--))) (if (and (not (bolp)) (not (= image-width pixels))) (progn (insert (propertize " " ... ... ... t)))) (setq image (create-image file (meme--image-type) nil :max-width pixels :max-height pixels)) (setq image-width (car (image-size image t))) (insert-image image " ") (add-text-properties (1- (point)) (point) (list 'keymap meme--select-map 'file file)) (if (= 0 (mod (setq i ...) width)) (progn (insert "\n"))) (setq --dolist-tail-- (cdr --dolist-tail--))))) (goto-char (point-min)))
meme--insert-thumbnails()
meme()
funcall-interactively(meme)
command-execute(meme record)
execute-extended-command(nil "meme" "meme")
funcall-interactively(execute-extended-command nil "meme" "meme")
command-execute(execute-extended-command)
I guess you're using Emacs 28? meme needs Emacs 29.
When I execute M-meme using GNU Emacs 28.2 on Fedora 37 with these configuration:
I received this error:
where i'm wrong?