From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#28998: 27.0.50; Man--sections is in reverse order Date: Mon, 06 Nov 2017 19:50:22 -0500 Message-ID: <87tvy66hf5.fsf@users.sourceforge.net> References: <87zi8f18yw.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1510015873 1629 195.159.176.226 (7 Nov 2017 00:51:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 7 Nov 2017 00:51:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 28998@debbugs.gnu.org To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 07 01:51:04 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 1eBs6a-0008WL-NK for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Nov 2017 01:51:04 +0100 Original-Received: from localhost ([::1]:50861 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBs6i-0003Lu-0K for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Nov 2017 19:51:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBs6c-0003Le-GX for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 19:51:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eBs6Y-0006ay-GN for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 19:51:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46249) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eBs6Y-0006aV-CF for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 19:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eBs6Y-0003pE-5y for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 19:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Nov 2017 00:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28998 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 28998-submit@debbugs.gnu.org id=B28998.151001583214658 (code B ref 28998); Tue, 07 Nov 2017 00:51:02 +0000 Original-Received: (at 28998) by debbugs.gnu.org; 7 Nov 2017 00:50:32 +0000 Original-Received: from localhost ([127.0.0.1]:54930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBs63-0003oL-Mr for submit@debbugs.gnu.org; Mon, 06 Nov 2017 19:50:31 -0500 Original-Received: from mail-it0-f41.google.com ([209.85.214.41]:56586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBs62-0003o4-Av for 28998@debbugs.gnu.org; Mon, 06 Nov 2017 19:50:30 -0500 Original-Received: by mail-it0-f41.google.com with SMTP id r127so376128itb.5 for <28998@debbugs.gnu.org>; Mon, 06 Nov 2017 16:50:30 -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=JjmTtjmK8ShWHy5ITMZp2k3MlP8BxDcCS4xzKnqxRNo=; b=JVbwajGcU7Bb1V2hwERPRYn0z2utzx2xz2Nhod5na798QPL0RyvgMgca/F7dw9/2OA wcmLVt27WavQklOVXg6hbD4IkQeF1kFutHyZQOmVlnPK/+hbxZqDZSs2929AdQXp1JzA 1hwyjFKbSaKD53wYNiEw7LffKtO3WfT1quhhsof6PwoCibRjGrEMi1gc5NFZuYYHJcVg +P7qw+U/ND+XTrY1i5n31+ztkCSG2hwZXk+dGzAgoZvVsBpTEx6wJ+nVGZXHl1TC1i5A 6hA6uCdqYZJzz3IakWE8hHNdQXcffEkJNKgXireRhW2u3nMKzqLeCmE3po4OXRsUjGEf lQTg== 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=JjmTtjmK8ShWHy5ITMZp2k3MlP8BxDcCS4xzKnqxRNo=; b=YB+2CCyYvPUKIAFytooWtT+T4yhehrSeh0vGt61E3pqVlhbeoSFprwGQVVpDyT3FIs GRjfK6O2ExjEisvhZTSV2o+Dzcz1ioy0g8DTisQ7rcxWiwvKvWMQnP/O/jmoQTsTCI6O Ms0LIgIgc9rHpAygQRipQ4hZqVgDQoomGOGnuFdo0q27mEKvN2TggE9yDQSWY/1NZ6yc O4LgDyCbqzDRX3GPEgw7A5Yrg/dt2XzTlXgL7LXHSs+6r4tRwtkw/b2ngyz24Ev1Qp0J 81WkdRDp4Or8f5TDsLajONjtMQiHVrT5jVTeJil9p1xlNBHWeUWbCh95y+SQAHPqefeW hgww== X-Gm-Message-State: AJaThX7WwSOFqc0uNLgSsuII2LpQeDzagwhksKnRR1nB4K7K3g2UXdII 0oFK2YALZDV1V3SpRYvg5JVVLA== X-Google-Smtp-Source: ABhQp+QDR97N3SjsjCvF9xqAd1/P4Xfq5fSZ43VkMDL26QRJqFh0gdqZ2d1GXP4nHjq8DVIhjBRUIQ== X-Received: by 10.36.79.22 with SMTP id c22mr67731itb.102.1510015824498; Mon, 06 Nov 2017 16:50:24 -0800 (PST) Original-Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id o207sm140702itc.27.2017.11.06.16.50.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 Nov 2017 16:50:23 -0800 (PST) In-Reply-To: <87zi8f18yw.fsf@gmail.com> (Basil L. Contovounesios's message of "Wed, 25 Oct 2017 17:35:35 +0100") 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:139541 Archived-At: "Basil L. Contovounesios" writes: > -(defsubst Man-build-section-alist () > +(defsubst Man-build-section-list () Perhaps we should switch to defun while we're at it? > - (let ((case-fold-search nil)) > + (let (case-fold-search) Personally, I like the more explicit version here. > AFAICT there is no purpose or benefit to keeping > Man--sections reversed, other than avoiding a call to > nreverse, which AFAIK is quite an efficient operation. > > Conversely, keeping the sections in their natural order > (i.e. from (point-min) to (point-max)) both seems more > natural and is more convenient for users of completion > frontends like ivy.el. Makes sense to me.