From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline Date: Sat, 16 May 2020 07:42:12 -0700 (PDT) Message-ID: <0adacd7d-ee89-4350-9b5b-a27f4ab1c634@default> References: < <87v9ky9p6o.fsf@mail.linkov.net> <654acc31-015d-4552-bd9b-3b8c69661fcd@default> <0957af50-7f85-455a-9d2c-e96451727872@default> <83a729uiaq.fsf@gnu.org>> <> <<835zcwv15e.fsf@gnu.org>> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="122331"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41250@debbugs.gnu.org, juri@linkov.net To: Eli Zaretskii , Arthur Miller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 16 16:43: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 1jZy1u-000Vjr-Mg for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 May 2020 16:43:10 +0200 Original-Received: from localhost ([::1]:53718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZy1t-0004oN-Nu for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 May 2020 10:43:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZy1n-0004nk-Gm for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 10:43:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58146) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZy1n-0008K2-7x for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 10:43:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jZy1m-0006vU-6r for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 10:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 May 2020 14:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41250 X-GNU-PR-Package: emacs Original-Received: via spool by 41250-submit@debbugs.gnu.org id=B41250.158964014926585 (code B ref 41250); Sat, 16 May 2020 14:43:02 +0000 Original-Received: (at 41250) by debbugs.gnu.org; 16 May 2020 14:42:29 +0000 Original-Received: from localhost ([127.0.0.1]:41459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZy1F-0006uj-Ct for submit@debbugs.gnu.org; Sat, 16 May 2020 10:42:29 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:41822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZy1D-0006uV-J8 for 41250@debbugs.gnu.org; Sat, 16 May 2020 10:42:28 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04GEcKQ7129028; Sat, 16 May 2020 14:42:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=Uy/6y8lLroLcFUHFVwW5KqyCNTmpoJttroTt6L+DVSw=; b=UlgZHUXgz8rjB1RALdrAtVu3Vkv3JeftcsOKpN9LWgOwY3HTmMhG7bPzWFvYldUv7w2G DEStu0jGaOZ36HUc8s1SG61ztJgClKFqxUUnY0D+rQrjmbYZ2ibzUOgPu18hhIQEKmHO ZPjulz4fyKqKoz7gE0j3l/8oegKyV4Atut8M6OoqMt8X+YkZCfeVM+kLmMAX6rRcc6NQ VmBvyFDhfjEciDGQ+1XPZM9D9XqYxdF1jTS1Amw1BPbNJ4jAMkeO1XIbzKVhV8q87xWH 3fASJK0adpCLz2AmHIh/vIu9kCjHSXjZTNSOaSvdDw2zO2j0glAbHN48gCfedSTfhc0x rQ== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 3127kqs5wd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 16 May 2020 14:42:21 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04GEcn4F160522; Sat, 16 May 2020 14:42:20 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 312800xhh3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 16 May 2020 14:42:20 +0000 Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 04GEgDXC016923; Sat, 16 May 2020 14:42:14 GMT In-Reply-To: <<835zcwv15e.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4993.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9622 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 mlxlogscore=993 suspectscore=0 malwarescore=0 mlxscore=0 adultscore=0 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005160129 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9622 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 spamscore=0 bulkscore=0 clxscore=1015 priorityscore=1501 mlxscore=0 impostorscore=0 suspectscore=0 mlxlogscore=999 malwarescore=0 cotscore=-2147483648 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005160129 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:180390 Archived-At: > > maybe Drews idea to have a format string is > > maybe the most flexible one? A function, rather than just a format string, is clearly the most flexible one, of the ones I made available as choices for the option value. And many more users will know how to define a simple function that returns something than will necessarily know about `format' etc. > Not IMO. Using format strings and functions is > "advanced usage", which is normally barred for > newbies and relatively inexperienced Emacs users. > Popular options should IMO be exposed though > easier customization values. Where is it barred to have an option `choice' that allows for a function value? If that were the case then we would presumably not even have `function' as a `defcustom' type. Likewise other types, such as `regexp' and `alist'. The Customize UI is, after all, for newbies too. Some (not I) think it is primarily or _only_ for newbies. But more importantly, there are also very simple choices defined for this option (and `function' is the last in `Value Menu'). And the default behavior is nil - which keeps the longstanding behavior. Nothing obliges a newbie to customize the option to a function value. Barring the use of options that have a function - or a regexp, for that matter - as one of a set of `choice's would be very wrong, IMHO. And I don't see such a barring or convention anywhere in the doc. Anyway, do what you want. If this isn't taken up by vanilla Emacs I'll use it in Dired+. My preference is for vanilla Emacs to do it, to lessen my own maintenance burden, but it's not a big deal.