From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#25552: 26.0.50; load cl unintendedly Date: Wed, 01 Feb 2017 08:51:05 -0500 Message-ID: <87vasuow8m.fsf@users.sourceforge.net> References: <17104.1485921740@alto> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1485957211 23443 195.159.176.226 (1 Feb 2017 13:53:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Feb 2017 13:53:31 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: Katsumi Yamaoka , 25552@debbugs.gnu.org To: Mike Kupfer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 01 14:53:23 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYvLe-0005ie-6S for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Feb 2017 14:53:22 +0100 Original-Received: from localhost ([::1]:51093 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYvLj-0005ff-Iw for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Feb 2017 08:53:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYvJR-0003a0-2K for bug-gnu-emacs@gnu.org; Wed, 01 Feb 2017 08:51:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYvJO-0006UJ-DO for bug-gnu-emacs@gnu.org; Wed, 01 Feb 2017 08:51:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54734) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cYvJO-0006UA-8E for bug-gnu-emacs@gnu.org; Wed, 01 Feb 2017 08:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cYvJN-0001yj-Pp; Wed, 01 Feb 2017 08:51:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, mh-e-devel@lists.sourceforge.net Resent-Date: Wed, 01 Feb 2017 13:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25552 X-GNU-PR-Package: emacs,mh-e X-GNU-PR-Keywords: Original-Received: via spool by 25552-submit@debbugs.gnu.org id=B25552.14859570067544 (code B ref 25552); Wed, 01 Feb 2017 13:51:01 +0000 Original-Received: (at 25552) by debbugs.gnu.org; 1 Feb 2017 13:50:06 +0000 Original-Received: from localhost ([127.0.0.1]:52932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYvIS-0001xb-Fb for submit@debbugs.gnu.org; Wed, 01 Feb 2017 08:50:06 -0500 Original-Received: from mail-io0-f193.google.com ([209.85.223.193]:35902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYvIR-0001x3-GA for 25552@debbugs.gnu.org; Wed, 01 Feb 2017 08:50:03 -0500 Original-Received: by mail-io0-f193.google.com with SMTP id q20so20940845ioi.3 for <25552@debbugs.gnu.org>; Wed, 01 Feb 2017 05:50:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=2eUneegxjm0WhtuEH0LwtXhwQZ4930DyaZfpQCdXUzU=; b=U8TYwPnehTx/rA1+XhsSDvulF9tVDkMQaSrOPsD4+USbimYrQxJ4NK/Wqjsqe8njo0 YgPRnhmgT3yMFc/m1/QaUs3jEYIWkP/44vsXZR2WRzJmmjh6CLOE5z915tJ+p4PBkWjC wc8E2iJSYj+rkthNyJfIf/HJng/l3wRQPNJ2zBRYMeA35XY48EhwW8h88x9PkwfaZXVa kgcFUQ2ckr59rmycm5hj62cXfoSFA9gscoHgR3WeXJTj10/L6MPMkIxkCIOyEJ+mum0/ q7Go0Xt6xhhxsTsPG+HrLWu8thAuE0APjkoFflm2N8utTP9QjPbMozlD1dLMnkCk+7qj ysHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=2eUneegxjm0WhtuEH0LwtXhwQZ4930DyaZfpQCdXUzU=; b=CxLagrFW1qsKxyQp+/z5GLJUeOyEQ53Yi18SmbelVOP9g1Hanujwojq4srnRh5MJ0k NwmnUVOP1zjCLsRFnLJBbxmbN18qP/SIeC/efCD7JYWD74D6p11kWlYCVU6ENdVHg1CO 4i74T3rAOGuwqLJbA8HxPbr0tKFbm0TTV9NDZ6dcSDArnwVLWt7KiXZdbvZpJBs6c1EN IM82sa3x1uDi/jCGqOWZv8MtIr0bsOlEYKPNGbR/d2tV+Si9x8BToPAjYu4bUviaLoHx LS4BOvKbFPu/IvUkk3F0ch5kFZpzQaYLUfXvAwQqLLCmjLOEUEDx+CPF8URiMVHU4rct rEzQ== X-Gm-Message-State: AIkVDXIS3UNxFFPY6KV75A5gmsjdKHzKiO+3+PrZiRskdRTKqZXkrKLS6Km3jFmV4QFJGQ== X-Received: by 10.107.152.144 with SMTP id a138mr2596854ioe.207.1485956997701; Wed, 01 Feb 2017 05:49:57 -0800 (PST) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id j14sm13163953itd.0.2017.02.01.05.49.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 Feb 2017 05:49:56 -0800 (PST) In-Reply-To: <17104.1485921740@alto> (Mike Kupfer's message of "Tue, 31 Jan 2017 20:02:20 -0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:128863 Archived-At: Mike Kupfer writes: > Hi Katsumi and Glenn, I applied Glenn's patch to 25.1.90, and I'm afraid > that it introduced a failure. When I tried to compose an email, > pressing the space key in the subject line got me > > Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil) > set-syntax-table(nil) > mh-beginning-of-word() > mh-letter-complete-or-space(1) > funcall-interactively(mh-letter-complete-or-space 1) > call-interactively(mh-letter-complete-or-space nil nil) > command-execute(mh-letter-complete-or-space) > > I vaguely recall there was some reason for not compiling mh-acros.el, > but I don't remember the specifics. I'll look into this some more when > I have more time (this Thursday). I guess it's because defun-mh checks whether the alias target is fbound at compile time: (defmacro defun-mh (name function arg-list &rest body) "Create function NAME. If FUNCTION exists, then NAME becomes an alias for FUNCTION. Otherwise, create function NAME with ARG-LIST and BODY." (let ((defined-p (fboundp function))) (if defined-p `(defalias ',name ',function) `(defun ,name ,arg-list ,@body)))) It would be better to check at runtime: (defmacro defun-mh (name function arg-list &rest body) `(if (fboundp ',function) (defalias ',name ',function) (defun ,name ,arg-list ,@body))) And/or require `mail-abbrev' at compile time --- i/lisp/mh-e/mh-compat.el +++ w/lisp/mh-e/mh-compat.el @@ -260,7 +260,7 @@ 'mh-line-end-position 'line-end-position 'point-at-eol)) -(mh-require 'mailabbrev nil t) +(eval-and-compile (mh-require 'mailabbrev nil t)) (defun-mh mh-mail-abbrev-make-syntax-table mail-abbrev-make-syntax-table () "Emacs 21 and XEmacs don't have `mail-abbrev-make-syntax-table'.