From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Tomotaka SUWA Newsgroups: gmane.emacs.bugs Subject: bug#42029: `gnus-registry-spool-action' gets field beyond message headers Date: Thu, 25 Jun 2020 09:52:43 +0900 Message-ID: References: <87o8p8v0iy.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="78943"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42029@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 25 04:00:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1joHBR-000KQp-RL for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Jun 2020 04:00:09 +0200 Original-Received: from localhost ([::1]:55668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1joHBQ-00032O-9X for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Jun 2020 22:00:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1joHBK-00032I-F4 for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2020 22:00:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56216) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1joHBK-0000Qp-4r for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2020 22:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1joHBJ-0006ky-Vi; Wed, 24 Jun 2020 22:00:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tomotaka SUWA Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Thu, 25 Jun 2020 02:00:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42029 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 42029-submit@debbugs.gnu.org id=B42029.159305037525912 (code B ref 42029); Thu, 25 Jun 2020 02:00:01 +0000 Original-Received: (at 42029) by debbugs.gnu.org; 25 Jun 2020 01:59:35 +0000 Original-Received: from localhost ([127.0.0.1]:39529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1joHAq-0006jn-OD for submit@debbugs.gnu.org; Wed, 24 Jun 2020 21:59:35 -0400 Original-Received: from mail-il1-f178.google.com ([209.85.166.178]:44520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1joG8S-0000qi-Jj for 42029@debbugs.gnu.org; Wed, 24 Jun 2020 20:53:00 -0400 Original-Received: by mail-il1-f178.google.com with SMTP id b13so3789899ilq.11 for <42029@debbugs.gnu.org>; Wed, 24 Jun 2020 17:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OJma1nf4gNNyE/iGFXqdWAJJHRZTx7kCYgU/aQKcUtU=; b=LxdEKt2k53WATDpKF9F+IJIE3u07cPNAUmh9suWKPGGaOGYBjUVDpRY3L1HLRIjYI0 pdFtlqBscO8V/Vx2u/rpskZvkDwWikX4z17VlmuyQFIy3IAYwJn+SQEf1sXsguxzQEjj L6ifI8MwX+wfUcU6QuLDpd03Jo4nATW2mwaBA7BVRt7u94XTzKAXG8N2ubqCuoTkvX2r sh9gJpNWt9vm4YqYduehniZClRuFH3PQINlZePsiuAaf/7XuISRdMK1l7/C79XlvLilP jp4XidOorA5fC8ynlCu18YSq3XHwdKgeNjHNuF0SixHGxQPY3SlwzCqKQ472TY6up7At 1gKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OJma1nf4gNNyE/iGFXqdWAJJHRZTx7kCYgU/aQKcUtU=; b=tZS0bMkdu/ic5Aw6EIn04H2tJCqwGQgiGz2ADollhtw6KCaNbYBX2SeBxXSwntzzxP fu8jR9q9AHPS2HqsaLMYZ3W9zU2hPnBxo5XRajOCcjJJzq9Ewp7nkJLt1lz0m5/MK0LE tultNe01EEsRCtpTnaV7Q6nzEB2VkpQfKXfzy2Mktp1TD4kRejIu8kOZ38bRpryb775I 3TgALVwY7Bdtp0Km7aJclLoCA/IkiFy6x0iPWK15qJZn55K+shwQlsVyjtKZNy5QE26s 24b2O0LqsuBDj8paI88XEaj7tlPav5tqEf4u9G01CYDzBZyyeGqXU16vSZgDZJ9wpbu1 q4Ow== X-Gm-Message-State: AOAM530B2CUkoERtKHkHrJ5ZdoqiYeFs3MRpbmWGkppXKmGPf3DdG1am rzHtFs/3RhxCNwpuRbD95NqP1JDMA3a8ZitIlEZm+pTG X-Google-Smtp-Source: ABdhPJxa/jyiZ3zbLId4YOEGcNCRlGtl+CjK2RYOwKbCUIaTeL2Ac1gT3FTBwjYuOpRIGhy0ftTmSFiYF/jWFOaXnhc= X-Received: by 2002:a92:c784:: with SMTP id c4mr20683576ilk.23.1593046374839; Wed, 24 Jun 2020 17:52:54 -0700 (PDT) In-Reply-To: <87o8p8v0iy.fsf@ericabrahamsen.net> X-Mailman-Approved-At: Wed, 24 Jun 2020 21:59:31 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:182364 Archived-At: > Thanks for this report. It might be simpler to wrap the whole thing in a > single save-restriction+narrow-to-headers, since the function gets > called four times. What do you think? I wrote the patch paying attention to minimize side effects since I'm not familiar with that functionality. So if `gnus-registry-spool-action' is interested in only mail headers, your proposal is much better. -- Tomotaka SUWA