From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: master 6daa695: * lisp/gnus/gnus-art.el: Use mail-header-p Date: Wed, 29 May 2019 09:57:39 +0200 Message-ID: References: <20190528191047.3260.4480@vcs0.savannah.gnu.org> <20190528191049.63CE3209A7@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="205068"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Stefan Monnier To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 29 09:58:36 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hVtTn-000rCh-TF for ged-emacs-devel@m.gmane.org; Wed, 29 May 2019 09:58:36 +0200 Original-Received: from localhost ([127.0.0.1]:49472 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVtTm-00036k-SD for ged-emacs-devel@m.gmane.org; Wed, 29 May 2019 03:58:34 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVtSx-00035I-VN for emacs-devel@gnu.org; Wed, 29 May 2019 03:57:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVtSx-0002DV-3g for emacs-devel@gnu.org; Wed, 29 May 2019 03:57:43 -0400 Original-Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:40649) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVtSw-0002D9-Ux for emacs-devel@gnu.org; Wed, 29 May 2019 03:57:43 -0400 Original-Received: by mail-ed1-x536.google.com with SMTP id r18so1244060edo.7 for ; Wed, 29 May 2019 00:57:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=geKgQCPQ0jGtWFQ86h6TEHNmeH76uf3NE/7VXf5nF0Y=; b=IdRmQT7zE9pKnBjIVJnEqfT1vYX8Jo9wz2qdRClCXwGSaa2O/5nkiD9YZzJtYJ5/Fc iUZKrMWvqh88XO4wVPThJBxjBJS0uZL9oHuZH47XlLHJHdB0luKt9EM0sr2VJW7KRZTf +rwAewPhwpGLt4A9zK8Prg2lY++3gJM9rvmRZ6f9CWgj60HfY0tTp4NstgXwKGbKL2kL VemX5zMDLgq2GjTQDJLEpC7dBMnBWk9DEssLl56L5+pmgqTRepkzmzyY7SbQbq6hElF7 n93Mmdyn0Fc+CcIvUTzNPwj7M43gaaIv5fGY3vWRfqTVC0DiRxqyH+hr2UIsRUVUlwos Sv0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=geKgQCPQ0jGtWFQ86h6TEHNmeH76uf3NE/7VXf5nF0Y=; b=P0iV1rtCjRXABuvMMqYgfKUeJQC6EANLV+03IgbBS/4u42KxpSLrO+ANJz4ZPnIAtO zxlOoP5aN9VmeqExGZn/UrCskZLRsZLTw/RnFxBbyQoZ7LOoTTk02uUSvat7fdRpKFB4 FoRyKHqeN0EoLUWpcWgAPv8lLwwpiksl36OCL1SwwOsuHG2JUVqmj71TDS+t+IXU3dUL TRrsOB8mF8K4qiU0/thxWaWi5l1weCGRwXmX3+jWseQN6+yruaKcFB4Hn8VfbS4hD1nR PKKaXLxHx7JXpCceXKfuulHX8Oe0ilJWet2HT9pthIR0gHf90F+aQBQL0TXFU4hwuv+T YeSQ== X-Gm-Message-State: APjAAAVtbdGf9hZKVEbiadjxgETwWdoEr3u+pMpUwV+jocBwxRC9qfGj C/zb+on16rTPH3F7yrY2uEc= X-Google-Smtp-Source: APXvYqxB3J6SFhV6tal8tdqw4LEmY14mGAELCH3+9+yfhU7eITLnFs83xk8/h1rkZY5iTgk7p5yrsw== X-Received: by 2002:a50:e79c:: with SMTP id b28mr132835896edn.277.1559116661466; Wed, 29 May 2019 00:57:41 -0700 (PDT) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id b10sm2674664ejb.30.2019.05.29.00.57.39 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 29 May 2019 00:57:40 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <20190528191049.63CE3209A7@vcs0.savannah.gnu.org> (Stefan Monnier's message of "Tue, 28 May 2019 15:10:48 -0400 (EDT)") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::536 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:237143 Archived-At: >>>>> On Tue, 28 May 2019 15:10:48 -0400 (EDT), monnier@iro.umontreal.ca (Stefan Monnier) said: Stefan> branch: master Stefan> commit 6daa69576af6a702b8cf3d57b4831a117b4bc311 Stefan> Author: Stefan Monnier Stefan> Commit: Stefan Monnier Stefan> * lisp/gnus/gnus-art.el: Use mail-header-p I guess that needs something like the following (untested) as well. diff --git a/lisp/gnus/nnheader.el b/lisp/gnus/nnheader.el index 6ef324ae91..981853fd97 100644 --- a/lisp/gnus/nnheader.el +++ b/lisp/gnus/nnheader.el @@ -135,7 +135,6 @@ nnheader-directory-separator-character ;; (That next-to-last entry is defined as "misc" in the NOV format, ;; but Gnus uses it for xrefs.) -(defalias 'mail-header-p #'vectorp) ;For lack of tag, it's all we have. (cl-defstruct (mail-header (:type vector) (:constructor nil)