From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Covici Newsgroups: gmane.emacs.devel Subject: unable to upgrade from emacs 27 to emacs 28 Date: Mon, 09 May 2022 16:55:38 -0400 Organization: Covici Computer Systems Message-ID: Reply-To: covici@ccs.covici.com Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35253"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/27 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 09 22:56:23 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1noAQZ-0008xu-HT for ged-emacs-devel@m.gmane-mx.org; Mon, 09 May 2022 22:56:23 +0200 Original-Received: from localhost ([::1]:57096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noAQY-0002KB-0p for ged-emacs-devel@m.gmane-mx.org; Mon, 09 May 2022 16:56:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51706) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noAPw-0001cy-P7 for emacs-devel@gnu.org; Mon, 09 May 2022 16:55:44 -0400 Original-Received: from debian-2.covici.com ([166.84.7.93]:36596 helo=covici.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noAPu-0004gj-PJ for emacs-devel@gnu.org; Mon, 09 May 2022 16:55:44 -0400 Original-Received: from ccs.covici.com (ccs.covici.com [70.109.53.110]) (authenticated bits=0) by covici.com (8.15.2/8.15.2/Debian-22) with ESMTPSA id 249Kur4Y979510 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Mon, 9 May 2022 16:56:54 -0400 Original-Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.17.1/8.17.1) with ESMTPS id 249Ktcwl2263681 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Mon, 9 May 2022 16:55:38 -0400 Original-Received: (from covici@localhost) by ccs.covici.com (8.17.1/8.15.2/Submit) id 249KtclU2263680; Mon, 9 May 2022 16:55:38 -0400 Received-SPF: none client-ip=166.84.7.93; envelope-from=covici@ccs.covici.com; helo=covici.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.187, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:289550 Archived-At: 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