all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Covici <covici@ccs.covici.com>
To: emacs-devel@gnu.org
Subject: unable to upgrade from emacs 27 to emacs 28
Date: Mon, 09 May 2022 16:55:38 -0400	[thread overview]
Message-ID: <m34k1yxw6t.wl-covici@ccs.covici.com> (raw)

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



             reply	other threads:[~2022-05-09 20:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-09 20:55 John Covici [this message]
2022-05-09 21:26 ` unable to upgrade from emacs 27 to emacs 28 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m34k1yxw6t.wl-covici@ccs.covici.com \
    --to=covici@ccs.covici.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.