From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Fitzsimmons Newsgroups: gmane.emacs.bugs Subject: bug#36301: Package-Requires should support multiple lines Date: Wed, 19 Jun 2019 21:55:27 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="95270"; mail-complaints-to="usenet@blaine.gmane.org" To: 36301@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 20 04:14:18 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hdmag-000OgU-E1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Jun 2019 04:14:18 +0200 Original-Received: from localhost ([::1]:43176 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdmaf-00010k-Cs for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Jun 2019 22:14:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51837) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdmaT-0000uy-R9 for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 22:14:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdmaS-0006HA-DF for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 22:14:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34115) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hdmaR-0006Ff-LQ for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 22:14:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hdmaR-00064G-CY for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 22:14:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Fitzsimmons Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Jun 2019 02:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36301 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.156099680623257 (code B ref -1); Thu, 20 Jun 2019 02:14:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Jun 2019 02:13:26 +0000 Original-Received: from localhost ([127.0.0.1]:47659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdmZq-000633-64 for submit@debbugs.gnu.org; Wed, 19 Jun 2019 22:13:26 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:37983) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdmZp-00062w-0D for submit@debbugs.gnu.org; Wed, 19 Jun 2019 22:13:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51574) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdmZj-0000US-9x for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 22:13:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdmIb-00064t-52 for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 21:55:40 -0400 Original-Received: from mail-io1-xd32.google.com ([2607:f8b0:4864:20::d32]:45992) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hdmIW-0005ea-WA for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 21:55:35 -0400 Original-Received: by mail-io1-xd32.google.com with SMTP id e3so2132540ioc.12 for ; Wed, 19 Jun 2019 18:55:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fitzsim-org.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=Q+ofOzDYU0wbPdFkFr8TDtDAW7n27FPJBPn37nR3Z+g=; b=VbWGt5Bs7iBr6FE44DaiUlyddMyMtBrcjx5t9VYXOLsMnJ5QYHazcQrbKlpvtmK8H4 usUwgmhaSpqUrDkNrOKUK+iDpqsBnjG9mlapaqYhiaIUUFmypFZTJC+WyjJ2vdgkxvkS GSKSujoLQa0DoKkVyoGZVB7/D7Gj+bIBfaUZyUGIX2KOghReY1cZKcednw42CeDdGw7i lIuYABOyXDsHObNIRrt20CUjFmQUdPX1IThaBUbStyjg8SogsOOOVxgK8oqbFc3nOWCn j7k59qOmM+Z3LonGU8z69icsTKN6mmPflGjKqtVJBSSTSCSClkbK2lLiNZ1h7BF8QJh2 dQZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=Q+ofOzDYU0wbPdFkFr8TDtDAW7n27FPJBPn37nR3Z+g=; b=raCE3TDatJHIO+IjMB27XYgqGrBgR9rvfY34I7eGcGmv5a4qNxi5H4q9miSBZBsXGt PvwIRVNDBsvS6TM9O1MCUHSoGpwk3HgDG6SBpVXYY0faZ8WJHh5UIyOiy39j3oufbl45 sRIP47YyUWo8rwn43RTcyYAOo19hTaCXFnDj+HFwq56b4qUi5o0mLodOIYk3h5CIeR4I AFilnqeaB6B0G5wNwQUl+Bxn1FVECQA/ZN/ICypGqR6NCWXfY4zyMbrf69OSQdFPgDwv mjndJqZVu15UkHS3Msz9JnQRyzW+WhZbH0qGvqmh1pGtw8K5TeSGdiizBzxve/taVOk/ ggIA== X-Gm-Message-State: APjAAAW9t1CH0CC90QKyadxB5l8UxJH0qnM6WXqj8u9pIfUg1N46WaAQ blOa1C7H6dQPdJYU14XnNjWzVWZzy5o= X-Google-Smtp-Source: APXvYqzvqiKIYGn0VA4/PpARJ9tgvf0ODEmI8gVj38ndN3FmT+jE9KknkIooXzkFyk27RecNAh8Ggw== X-Received: by 2002:a6b:f607:: with SMTP id n7mr5100074ioh.263.1560995729523; Wed, 19 Jun 2019 18:55:29 -0700 (PDT) Original-Received: from localhost.localdomain (69-165-165-189.dsl.teksavvy.com. [69.165.165.189]) by smtp.gmail.com with ESMTPSA id p9sm15968199ioj.49.2019.06.19.18.55.28 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Wed, 19 Jun 2019 18:55:28 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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: 209.51.188.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:160871 Archived-At: Hi, The Package-Requires line in my GNU ELPA package, Excorporate, is much longer than 80 characters and I would like to wrap it. It would be nice if package.el allowed Package-Requires to span multiple lines (see patch). It's probably too late to change this but I thought I'd file a bug report anyway. Thomas diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 46f7c91272..5c9b12732d 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -1016,7 +1016,8 @@ package-buffer-info (narrow-to-region start (point)) (require 'lisp-mnt) ;; Use some headers we've invented to drive the process. - (let* ((requires-str (lm-header "package-requires")) + (let* ((requires-str + (mapconcat 'identity (lm-header-multiline "package-requires") " ")) ;; Prefer Package-Version; if defined, the package author ;; probably wants us to use it. Otherwise try Version. (pkg-version