From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.devel Subject: Re: Nicer confirmation prompt for package.el Date: Thu, 23 Mar 2017 08:15:29 +0000 Message-ID: References: <87mvcibvdw.fsf@metapensiero.it> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1490257010 10091 195.159.176.226 (23 Mar 2017 08:16:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 23 Mar 2017 08:16:50 +0000 (UTC) Cc: Lele Gaifax , Emacs developers To: Kaushal Modi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 23 09:16:43 2017 Return-path: Envelope-to: ged-emacs-devel@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 1cqxvA-0000tu-3x for ged-emacs-devel@m.gmane.org; Thu, 23 Mar 2017 09:16:36 +0100 Original-Received: from localhost ([::1]:54752 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqxvA-0008D9-VC for ged-emacs-devel@m.gmane.org; Thu, 23 Mar 2017 04:16:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqxub-0007tz-Jv for emacs-devel@gnu.org; Thu, 23 Mar 2017 04:16:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqxua-00068U-Jb for emacs-devel@gnu.org; Thu, 23 Mar 2017 04:16:01 -0400 Original-Received: from mail-ua0-x232.google.com ([2607:f8b0:400c:c08::232]:35273) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cqxua-00068L-EB for emacs-devel@gnu.org; Thu, 23 Mar 2017 04:16:00 -0400 Original-Received: by mail-ua0-x232.google.com with SMTP id q7so89387123uaf.2 for ; Thu, 23 Mar 2017 01:16:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=juNXLfBOta3yuaSmOi5tK4Di9E8tDmFVwI323wy3xHA=; b=AlGsriDd2ab4Oi1kwkJ4FM7qEDALy9g/k67YnoHFtQVaZT7MJ6/rjrtB88uB8zxoZH MOOMGjO+B9g0PF1XM/XEvRz3XOB9SygykjO8mM18Xs4ZnIG19yzeoaHwkiXBfz+X/Y8g U7N0HASG1KMEt8Lwtbi74i+nh1220a4S7rYmIrvqGbw5VnnWGOfw3LFtUtwuhc3juepR s1q2QavN/ll7pOiMJCTyJBfHoxh8EnMoL4150NsWqpXuqMM2MJB+5PfUdzR1j8tCciQ5 FBHtR3/b1mHZOl5OnnRjQkv/c9xlGswYFHfR2+58q8wNEm734wQ/9Y2rcDjrG35pytND Kh3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=juNXLfBOta3yuaSmOi5tK4Di9E8tDmFVwI323wy3xHA=; b=P+Rhm2UUxsGmP9Z83vdw60sgx9zWzK4sV4rdxiTYPp5gy/oYW/Brxb6xiEAaUYsndz HELFZwENl7KSjk7kUp5FDqYuhiWqc+XtBqmUfGaolxFk79EoMRJzeaUoPH+DKVSaFMEx uTTX96Z9d0Fh7gKPoKKNUgqr4mDJFazRhgr+hYngfmsgXrqrNA6ttVXsWk9jEYlLkweb vVVjK4CRJAFUGk8u2dd3oWQ3cVuHI/QL8A2t/9obLexPAWYs2N2Xza2pLxq6Kujq7N+H Bkwaqh6Q/K28SWKS9OST1GTYva/rzs0Vm2q6uLOg1+6LvcuqcKXxCy90DCJF2mnTyj1V dacA== X-Gm-Message-State: AFeK/H26lWZhh6ZEZjm0yHqxs0HlsjPW4DMlIq2Z70IkLUBEd+ZyZG4+eixk/3NmiQqcxJixt7ulO/chmdzk7w== X-Received: by 10.159.59.9 with SMTP id i9mr607451uah.6.1490256959565; Thu, 23 Mar 2017 01:15:59 -0700 (PDT) Original-Received: by 10.176.71.214 with HTTP; Thu, 23 Mar 2017 01:15:29 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400c:c08::232 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:213264 Archived-At: On 18 March 2017 at 14:11, Kaushal Modi wrote: > > > On Sat, Mar 18, 2017, 8:52 AM Lele Gaifax wrote: >> >> Hi all, >> >> when a transaction involves different operations, current >> `package-menu--prompt-transaction-p' shows prompts like >> >> Delete package =E2=80=98x=E2=80=99; and Upgrade these 2 packages (y, z= )? >> >> or >> >> Delete package =E2=80=98x=E2=80=99; Install package =E2=80=98y=E2=80= =99; and Upgrade these 2 packages >> (w, z)? >> >> that IMHO are a bit inelegant. > > > I actually like the current message, as the actions Delete, Install and > Upgrade are capitalized. The user's attention is drawn to the fact that > those 3 different actions are going to happen. The semi-colons are used = so > that those actions can be capitalized, I think. That might have been the idea but it's incorrect and looks bad. A semicolons doesn't end a sentence. It's not necessary to tell the user what to focus on. The user isn't an idi= ot :) [...] > 1. Current (no change) - Focus on the actions that are going to happen by > capitalizing them. > 2. Use of Oxford commas Perfectly easy to parse the list with or without the serial comma. In my op= inion the comma seems jarring in this case. I like Lele's suggestion.