all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* unable to upgrade from emacs 27 to emacs 28
@ 2022-05-09 20:55 John Covici
  2022-05-09 21:26 ` Stefan Monnier
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: John Covici @ 2022-05-09 20:55 UTC (permalink / raw)
  To: emacs-devel

Hi.  I tried to upgrade my emacs from 27 to 28, but I get lots of
errors in my .emacs file.

The errors seems to be around these lines:

(require 'package)
(add-to-list 'package-archives
		   '("melpa" . "http://melpa.org/packages/")
		   (when (< emacs-major-version 24)
			;; For important compatibility libraries like cl-lib
			  (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))))
(package-initialize)
(setq max-specpdl-size 22000)
(add-to-list 'load-path "~/.emacs.d/el-get/el-get")

(unless (require 'el-get nil 'noerror)
  (with-current-buffer
	 (url-retrieve-synchronously
	  "https://raw.githubusercontent.com/dimitri/el-get/master/el-get-install.el")
    (goto-char (point-max))
    (eval-print-last-sexp)))

(add-to-list 'el-get-recipe-path "~/.emacs.d/el-get-user/recipes")
;(el-get 'sync)

(defconst user-cache-directory "~/.cache/emacs/")
(make-directory user-cache-directory t)

(use-package mime-play
  :config ;https://www.emacswiki.org/emacs/WlFaq#toc42
  (setq mime-play-find-every-situations nil
        mime-play-delete-file-immediately nil))

(use-package mime-view
  :init
  (add-hook 'wl-summary-mode-hook
            (lambda ()
              (local-set-key "\C-c\C-o" 'wl-summary-view-html)))
  :config (setq mime-view-text/html-previewer 'shr
                mime-situation-examples-file (concat user-cache-directory "mime")
                ;https://www.emacswiki.org/emacs/WlFaq#toc42
                mime-view-mailcap-files (concat user-cache-directory "mailcap"))
  
  ;; Functions
  ;; Reading HTML mail
  (defun wl-summary-view-html ()
    (interactive)
    (save-excursion
      (wl-message-select-buffer wl-message-buffer)
      (let ((done nil)
            (mime-preview-over-to-next-method-alist
             `((wl-original-message-mode . (lambda ()
                                             (setq done t)))))
            type subtype)
        (while (not done)
          (setq type (cdr (assq 'type (get-text-property (point) 'mime-view-situation))))
          (setq subtype (cdr (assq 'subtype (get-text-property (point) 'mime-view-situation))))
          (if (and (eq type 'text)
                   (eq subtype 'html))
              (progn
                (setq done t)
                (mime-preview-play-curjrent-entity))
            (mime-preview-move-to-next)))))))


The first error was the use-package line.

Is there some further upgrade tasks I need to do to get this working?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-05-10 15:01 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-09 20:55 unable to upgrade from emacs 27 to emacs 28 John Covici
2022-05-09 21:26 ` Stefan Monnier
2022-05-09 22:13   ` John Covici
2022-05-09 22:27 ` Óscar Fuentes
2022-05-10  6:11   ` John Covici
2022-05-10 12:14     ` Eli Zaretskii
2022-05-10 14:30       ` John Covici
2022-05-10 13:47     ` Tim Cross
2022-05-09 23:35 ` Tim Cross
2022-05-10  2:01   ` Stefan Monnier
2022-05-10  2:49     ` Tim Cross
2022-05-10 15:01     ` [External] : " Drew Adams

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.