From unknown Wed Aug 20 00:02:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24547: 24.4; dired should colour in sockets and pipes Resent-From: trentbuck@gmail.com (Trent W. Buck) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Sep 2016 08:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24547 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 24547@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.147487720624937 (code B ref -1); Mon, 26 Sep 2016 08:07:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Sep 2016 08:06:46 +0000 Received: from localhost ([127.0.0.1]:36011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1boQw2-0006U8-H1 for submit@debbugs.gnu.org; Mon, 26 Sep 2016 04:06:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1boQw0-0006Tt-E7 for submit@debbugs.gnu.org; Mon, 26 Sep 2016 04:06:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1boQvu-0004lc-Gd for submit@debbugs.gnu.org; Mon, 26 Sep 2016 04:06:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boQvu-0004lX-Dr for submit@debbugs.gnu.org; Mon, 26 Sep 2016 04:06:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boQvs-0001Pu-D1 for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2016 04:06:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1boQvo-0004kb-3l for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2016 04:06:35 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:34112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boQvn-0004kT-Up for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2016 04:06:32 -0400 Received: by mail-pa0-f53.google.com with SMTP id gp7so3299016pac.1 for ; Mon, 26 Sep 2016 01:06:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version; bh=C20ETVP9eFfokwRGZZWpDcCZMC/wgZx/UB5Q0i5R4JI=; b=wCQpZK32T215XgADi3Goh9AWjlbdqgcZ9/t6c743pX1xWiC1BIXSUNp00g2P3jbU2U cYbJc1mEQK/20WvvX40MtvA2ijLsl1vPfaRb/ZJ9vzJI2gn5+u3KdIA5d7ondcompcgD AFusmoJNHnEHml0kh1KofUxYxmtwAf1gLiUyR3rxfby9D0Hbgr75nb752dvdPmm81yUd 3NsQMaZqinruQEYS1I9JUvkHqXiSa+VyEGvCrML+i4lVNxk9djA70r0C/qAzOf+mEX4L YSC8PsBuKiYVsesLOqi3EqkSUvURfQj7ydTStyRs4uSqZTT2Sf9wPcXCY2ilb5dnQCua 0idA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=C20ETVP9eFfokwRGZZWpDcCZMC/wgZx/UB5Q0i5R4JI=; b=hOwBtLwp4QV+5QJUeLWGmWdr1qtU8Ziu4Ag95BivrxcE1P8K7wwB5tb4LTaIxgRQZO o3sBe3pT1kumPUyR3jgX2wI5JOBHybJSmRnu1UnCaIAe8FXuSE+PiSCBq8F5JvIYwjQQ i4nLUUS77OIki/bx1KRB72sDT27HSquHfQYIFMzNv2T0YYuu14kgf7fKIEWgnGazFkD8 kT4A0/bbb6k8Bellq2fnG/MypmULhNUpmdeIY52yEIF5r7LIpt7jWLGYlntI3CgO/J5S BHPXlLIEFSpTEZUWm1iT4emJVsHqpnkAv/byzfa22RgVCYlN9P92QMzvOX+8tseTZPVa p/NA== X-Gm-Message-State: AA6/9RmThv9FdyVshZFx2pL2Dl9i5AEWDeiSKHjm7Zqf0hAmbNohkwjXGDkM7HJeFNyHPA== X-Received: by 10.66.26.49 with SMTP id i17mr9009385pag.145.1474877130947; Mon, 26 Sep 2016 01:05:30 -0700 (PDT) Received: from localhost ([203.7.155.120]) by smtp.gmail.com with ESMTPSA id ao5sm20789860pad.1.2016.09.26.01.05.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Sep 2016 01:05:30 -0700 (PDT) From: trentbuck@gmail.com (Trent W. Buck) Date: Mon, 26 Sep 2016 18:05:27 +1000 Message-ID: <87oa3b6q7s.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) With GNU ls --color in a terminal, different colors are used for regular files, directories, symlinks, sockets, pipes, (other stuff - dircolors?) In dired, the first three get different faces, but sockets and pipes look like regular files. I think it's probably easy to fix sockets and pipes, because the first character is "s" or "p", at least in GNU ls output. From unknown Wed Aug 20 00:02:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24547: 24.4; dired should colour in sockets and pipes Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Jul 2019 14:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24547 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: trentbuck@gmail.com (Trent W. Buck) Cc: 24547@debbugs.gnu.org Received: via spool by 24547-submit@debbugs.gnu.org id=B24547.156423759117705 (code B ref 24547); Sat, 27 Jul 2019 14:27:02 +0000 Received: (at 24547) by debbugs.gnu.org; 27 Jul 2019 14:26:31 +0000 Received: from localhost ([127.0.0.1]:45109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrNeY-0004bV-Qz for submit@debbugs.gnu.org; Sat, 27 Jul 2019 10:26:30 -0400 Received: from quimby.gnus.org ([80.91.231.51]:39614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrNeW-0004bJ-IC for 24547@debbugs.gnu.org; Sat, 27 Jul 2019 10:26:28 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrNeR-0001ZI-Rd; Sat, 27 Jul 2019 16:26:26 +0200 From: Lars Ingebrigtsen References: <87oa3b6q7s.fsf@gmail.com> Date: Sat, 27 Jul 2019 16:26:23 +0200 In-Reply-To: <87oa3b6q7s.fsf@gmail.com> (Trent W. Buck's message of "Mon, 26 Sep 2016 18:05:27 +1000") Message-ID: <871rybh7u8.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: trentbuck@gmail.com (Trent W. Buck) writes: > With GNU ls --color in a terminal, different colors are used for > > regular files, > directories, > symlinks, > sockets, > pipes, > (other stuff - dircolors?) > > In dired, the first three get diff [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) trentbuck@gmail.com (Trent W. Buck) writes: > With GNU ls --color in a terminal, different colors are used for > > regular files, > directories, > symlinks, > sockets, > pipes, > (other stuff - dircolors?) > > In dired, the first three get different faces, > but sockets and pipes look like regular files. > > I think it's probably easy to fix sockets and pipes, > because the first character is "s" or "p", > at least in GNU ls output. Sounds reasonable. I've now done this in Emacs 27, but I've used just a single face for both sockets and pipes. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 27 10:26:36 2019 Received: (at control) by debbugs.gnu.org; 27 Jul 2019 14:26:36 +0000 Received: from localhost ([127.0.0.1]:45112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrNee-0004bn-1z for submit@debbugs.gnu.org; Sat, 27 Jul 2019 10:26:36 -0400 Received: from quimby.gnus.org ([80.91.231.51]:39628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrNeb-0004be-Qd for control@debbugs.gnu.org; Sat, 27 Jul 2019 10:26:34 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrNeZ-0001ZP-BF for control@debbugs.gnu.org; Sat, 27 Jul 2019 16:26:33 +0200 Date: Sat, 27 Jul 2019 16:26:30 +0200 Message-Id: <87zhkzft9l.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #24547 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 24547 fixed close 24547 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 24547 fixed close 24547 27.1 quit From unknown Wed Aug 20 00:02:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24547: 24.4; dired should colour in sockets and pipes Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Jul 2019 22:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24547 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Lars Ingebrigtsen Cc: "Trent W. Buck" , 24547@debbugs.gnu.org Received: via spool by 24547-submit@debbugs.gnu.org id=B24547.156426631111057 (code B ref 24547); Sat, 27 Jul 2019 22:26:01 +0000 Received: (at 24547) by debbugs.gnu.org; 27 Jul 2019 22:25:11 +0000 Received: from localhost ([127.0.0.1]:45541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrV7m-0002sH-P4 for submit@debbugs.gnu.org; Sat, 27 Jul 2019 18:25:10 -0400 Received: from camel.birch.relay.mailchannels.net ([23.83.209.29]:7519) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrV7k-0002s8-Bz for 24547@debbugs.gnu.org; Sat, 27 Jul 2019 18:25:09 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 2FF036A111C; Sat, 27 Jul 2019 22:25:07 +0000 (UTC) Received: from pdx1-sub0-mail-a28.g.dreamhost.com (100-96-92-60.trex.outbound.svc.cluster.local [100.96.92.60]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id B37C76A12CF; Sat, 27 Jul 2019 22:25:06 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a28.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.3); Sat, 27 Jul 2019 22:25:07 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Stop-Celery: 44cdaeaf20324896_1564266307001_1459281857 X-MC-Loop-Signature: 1564266307001:904687868 X-MC-Ingress-Time: 1564266307001 Received: from pdx1-sub0-mail-a28.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a28.g.dreamhost.com (Postfix) with ESMTP id 9029383297; Sat, 27 Jul 2019 15:25:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=xTWgl4fWv5MJROGjsteve3JyWlw=; b= ghU4y/q9cxtnuQ8al9OzebzrCgn9O12YKA886wbOq2MYa9NkVkQ+qG9p7PLYwWJP zaQSZFT1w7W6Nph0z6s5lZUIb8u3Mg+TvbNuy9gvtHxOp1QkV7GAIoCPXeh/Ibzh URaC5iUV22xDWsRZ2P3j58XyETvyflUAtkWDBF5RaOU= Received: from mail.jurta.org (m91-129-103-76.cust.tele2.ee [91.129.103.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a28.g.dreamhost.com (Postfix) with ESMTPSA id 9091383260; Sat, 27 Jul 2019 15:24:59 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a28 From: Juri Linkov Organization: LINKOV.NET References: <87oa3b6q7s.fsf@gmail.com> <871rybh7u8.fsf@mouse.gnus.org> Date: Sun, 28 Jul 2019 01:07:39 +0300 In-Reply-To: <871rybh7u8.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Sat, 27 Jul 2019 16:26:23 +0200") Message-ID: <875znnxhas.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrkeeigddujeeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdefrdejieenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdefrdejiedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehlrghrshhisehgnhhushdrohhrghenucevlhhushhtvghrufhiiigvpedt X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >> With GNU ls --color in a terminal, different colors are used for >> >> regular files, >> directories, >> symlinks, >> sockets, >> pipes, >> (other stuff - dircolors?) >> >> In dired, the first three get different faces, >> but sockets and pipes look like regular files. >> >> I think it's probably easy to fix sockets and pipes, >> because the first character is "s" or "p", >> at least in GNU ls output. > > Sounds reasonable. I've now done this in Emacs 27, but I've used just a > single face for both sockets and pipes. What are the remaining special file types possible in ls output? For example, in /run I see only "s" and "p" files. But in /dev there are also "b" and "c". These "block" and "character" device files could be highlighted using the same face with sockets and pipes. From unknown Wed Aug 20 00:02:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24547: 24.4; dired should colour in sockets and pipes Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jul 2019 10:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24547 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Juri Linkov Cc: "Trent W. Buck" , 24547@debbugs.gnu.org Received: via spool by 24547-submit@debbugs.gnu.org id=B24547.156430807416082 (code B ref 24547); Sun, 28 Jul 2019 10:02:02 +0000 Received: (at 24547) by debbugs.gnu.org; 28 Jul 2019 10:01:14 +0000 Received: from localhost ([127.0.0.1]:45779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrfzO-0004B4-F7 for submit@debbugs.gnu.org; Sun, 28 Jul 2019 06:01:14 -0400 Received: from quimby.gnus.org ([80.91.231.51]:53190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrfzM-000486-Cy for 24547@debbugs.gnu.org; Sun, 28 Jul 2019 06:01:12 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrfzH-0002r5-C8; Sun, 28 Jul 2019 12:01:09 +0200 From: Lars Ingebrigtsen References: <87oa3b6q7s.fsf@gmail.com> <871rybh7u8.fsf@mouse.gnus.org> <875znnxhas.fsf@mail.linkov.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUFAQE1GiULBgfm29Rd e7qBlcVaZ5hTQksa/fTYAAACXElEQVQ4jW3STXObMBAGYFm/wFIcdEXbxFzbUROfyazxueXrDObj apGA/n5XMmk9qdfjsfCjdyUEzN3UPNRDXw5hzG5huRmzDhGHAUfEjD7oL0MFoD8W/FJsnbK/Cx1m d+HUYfp0D9oO26d/y67QIzaIl132D8qCvqwvUSFud6cVCizLsig9VDvM4o+3K2RLeS2CdJedWJcG ODrR/4VpHlLetaF7pey8wrGArmu53xp1rwNURw+1xk7q4xRaENBvPXtokiIDXcC1t5A02wVok+oU 62oFKyjgU6yRuyKNVS09jABQGpu8G8OcjHCC/S9B8RpHRW2EyAmsmnsJUaoJ0hlPLhqFMwQS5gxg PwGBeMTKPlfzowdI+gpAWZ8wRYe9W8b3AKoYgSvhIf/Z+UNR5xXehI5k8lia8yud1hjWNkxHRQtK 0R4MAb0Wo5ABNvtikkrRNunqhaDZsoeQ+BhBait8whh6t5oL9yMmFgugtQ0Js2B2kpsAunGcIsL5 zZuhw0GrsEY0Sg0TqPGaIJAi3EfiJs0lwLXV4QOHCZYApQQea2H9tPKwDM5y5cH1wm6kcs7fbk6D xjLtj131Sm5ACOcTTgtlRczpRthSuyaRQigPsQYhxdb3Yuowt5G0yXJ+MS+ME2jJITc0XC6zpfM9 v9I0Rs9WC4AHGm7EVgmZqPxgzJbmAYUgIYhjxjno5QohIhnkLBRnG5f/MOayAocHtlai59qY3wGA DuKZWq2kpTHfWVjEp9hNJT0BgzjmAfzinwR+PfCpb+z/4rRLbe6Ar/ev8LmT2X3t8rkY/AHMjv4U xAw6pwAAAABJRU5ErkJggg== Date: Sun, 28 Jul 2019 12:01:07 +0200 In-Reply-To: <875znnxhas.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 28 Jul 2019 01:07:39 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Juri Linkov writes: > For example, in /run I see only "s" and "p" files. But in /dev there are > also "b" and "c". These "block" and "character" device files could be > highlighted using the same face with sockets and pi [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Juri Linkov writes: > For example, in /run I see only "s" and "p" files. But in /dev there are > also "b" and "c". These "block" and "character" device files could be > highlighted using the same face with sockets and pipes. Good idea. I've now added this to the trunk (as well as the NEWS item I forgot when I added the face originally). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Wed Aug 20 00:02:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24547: 24.4; dired should colour in sockets and pipes Resent-From: "Trent W. Buck" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jul 2019 14:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24547 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Juri Linkov Cc: Lars Ingebrigtsen , 24547@debbugs.gnu.org Received: via spool by 24547-submit@debbugs.gnu.org id=B24547.156432564917772 (code B ref 24547); Sun, 28 Jul 2019 14:55:02 +0000 Received: (at 24547) by debbugs.gnu.org; 28 Jul 2019 14:54:09 +0000 Received: from localhost ([127.0.0.1]:46972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrkYq-0004ca-OV for submit@debbugs.gnu.org; Sun, 28 Jul 2019 10:54:09 -0400 Received: from mail-pf1-f171.google.com ([209.85.210.171]:39872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrkYo-0004c1-O4 for 24547@debbugs.gnu.org; Sun, 28 Jul 2019 10:54:07 -0400 Received: by mail-pf1-f171.google.com with SMTP id f17so22709271pfn.6 for <24547@debbugs.gnu.org>; Sun, 28 Jul 2019 07:54:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=rmuzxMKncWBQJu3TzA/Mb2LiEiWuJIk55u4rEndomns=; b=lz0v1/PoO94cicxuLLDJdlKoFxuBfKQrwOeN6drOat2T8PmtIz3cbUCo5ccYGrPkMl BAS9K56kcNx8LcMs2WRybf9GDurRO6ZDsOnAGjfgzGE0wz15BhVyHsiu+lqPCTm4xflL x+uZI/AsB6w3Ppwv+XGOTC2NFU42YeGAZ/W2ci7mZrDXxrMVVzRbvsLeECamfNsBJAoy 9ZAeq4hpjAOSXAiq6oJhOfEfCweyNBMptJvUa+bNgSutZIJfk1FWvB0CbRbwikUQdqJg wo0No5PPPp6nsc9wrKvTQVx7rFoDura7kFHGcBjmfxkEmZYyvpuONPbevjdAZdsiau0S fWaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=rmuzxMKncWBQJu3TzA/Mb2LiEiWuJIk55u4rEndomns=; b=XYn10sqUx3kpJST8Rz8g7CH53xLGNv6JNQ7aFzRgscLSRSCQwxd5HhKXdlvQmQDxmI qqEf34nd2LWtuKIAi4C7k6XiHMOgoicVYKfc2FOEc51e7Fp1m1Nv3pNCW8PQy2WvWKo2 EpvfXAMHcqIjalycSExMg5fDHExxbm5hXTsa+Bytwu82gzNvrbvZWfkA1saAjdyutmuR 52GDMVBKwDPeLkOTy//AFUtxnSnr9gKvUzdhb0RNJziIT3Oe1Lq4xVux63uJWHxqJyfk 8VBOmdx6le7ICgsXXoRFn6ZhR5F3VqWmVysP4Q10ZT0X2FN6NGalX1L+QboRF4Nvl4Cq FL1w== X-Gm-Message-State: APjAAAX+TQ70QyxdoCyK8zHgqVi6JFY/Jd3tlILejzOgsiroEDuRMdsl mZpi3XrAvr2nj7/CSZ/+gMg= X-Google-Smtp-Source: APXvYqy0GvGPvKcb0ZEvncOjkFbWfUQwCNPvH2AWUBQJbxKCZcyo3BDd+ns5MAkNtu36i0DD1W1I2A== X-Received: by 2002:a17:90a:30aa:: with SMTP id h39mr108173155pjb.32.1564325640721; Sun, 28 Jul 2019 07:54:00 -0700 (PDT) Received: from localhost (ppp118-209-216-227.bras2.mel11.internode.on.net. [118.209.216.227]) by smtp.gmail.com with ESMTPSA id a21sm66218247pfi.27.2019.07.28.07.53.58 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 28 Jul 2019 07:53:59 -0700 (PDT) Date: Mon, 29 Jul 2019 00:53:56 +1000 From: "Trent W. Buck" Message-ID: <20190728145350.GA29513@goll.lan> References: <87oa3b6q7s.fsf@gmail.com> <871rybh7u8.fsf@mouse.gnus.org> <875znnxhas.fsf@mail.linkov.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <875znnxhas.fsf@mail.linkov.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) TL;DR: explanation of dircolors(1) and terminfo(5). Juri Linkov wrote: > >> With GNU ls --color in a terminal, different colors are used for > >> > >> regular files, > >> directories, > >> symlinks, > >> sockets, > >> pipes, > >> (other stuff - dircolors?) > >> > >> In dired, the first three get different faces, > >> but sockets and pipes look like regular files. > >> > >> I think it's probably easy to fix sockets and pipes, > >> because the first character is "s" or "p", > >> at least in GNU ls output. > > > > Sounds reasonable. I've now done this in Emacs 27, but I've used just a > > single face for both sockets and pipes. Thanks! :-) > What are the remaining special file types possible in ls output? > > For example, in /run I see only "s" and "p" files. But in /dev there are > also "b" and "c". These "block" and "character" device files could be > highlighted using the same face with sockets and pipes. As I hinted earlier, GNU ls's --color output is governed by the dircolors program. "dircolors --print-database" gives a bunch of stuff. The part you asked about is: DIR 01;34 # directory LINK 01;36 # symbolic link. (If you set this to 'target' instead of a # numerical value, the color is as for the file pointed to.) MULTIHARDLINK 00 # regular file with more than one link FIFO 40;33 # pipe SOCK 01;35 # socket DOOR 01;35 # door BLK 40;33;01 # block device driver CHR 40;33;01 # character device driver ORPHAN 40;31;01 # symlink to nonexistent file, or non-stat'able file ... MISSING 00 # ... and the files they point to Note that GNU ls/dircolors also uses different colors for different kinds of regular files e.g. "video", "audio", "pictures", "compressed files", "executables". This is done by filename extension rather than MIME type, because GNU/* filesystems generally don't store MIME type metadata, and running libmagic on every ls would be slow :-( Those codes are SGR escape sequences, also called "ANSI color". See also "man 5 terminfo". 01 above is "tput bold" (I think). 4x above is "tput setab x" (set background color). 3x above is "tput setaf x" (set foreground color). There are 8 colors (0 through 7), which you can see at the top of "emacs -nw -f list-colors-display": black red green yellow blue magenta cyan white The "bright" variants are selected automatically when bold is also set (if the terminal supports that). You might also want to consider what "man 2 stat" has to say, viz: switch (sb.st_mode & S_IFMT) { case S_IFBLK: printf("block device\n"); break; case S_IFCHR: printf("character device\n"); break; case S_IFDIR: printf("directory\n"); break; case S_IFIFO: printf("FIFO/pipe\n"); break; case S_IFLNK: printf("symlink\n"); break; case S_IFREG: printf("regular file\n"); break; case S_IFSOCK: printf("socket\n"); break; default: printf("unknown?\n"); break; } dired (as at 26.1) doesn't seem to have faces for file types (or MIME types), except for dired-directory and dired-symlink. I suppose you could just add more faces. The only downside to that, AFAICT, is that it will annoy people who write emacs color themes. For my personal needs, I don't *REALLY* care about the details, so long as "special" inodes stand out from "regular" inodes. Doing so acts as a warning to me to e.g. add "--devices=skip" to "grep -r". From unknown Wed Aug 20 00:02:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24547: 24.4; dired should colour in sockets and pipes Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Jul 2019 21:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24547 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: "Trent W. Buck" Cc: Lars Ingebrigtsen , 24547@debbugs.gnu.org Received: via spool by 24547-submit@debbugs.gnu.org id=B24547.156460829918165 (code B ref 24547); Wed, 31 Jul 2019 21:25:02 +0000 Received: (at 24547) by debbugs.gnu.org; 31 Jul 2019 21:24:59 +0000 Received: from localhost ([127.0.0.1]:53191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsw5j-0004iu-9s for submit@debbugs.gnu.org; Wed, 31 Jul 2019 17:24:59 -0400 Received: from bird.elm.relay.mailchannels.net ([23.83.212.17]:42200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsw5g-0004iY-7O for 24547@debbugs.gnu.org; Wed, 31 Jul 2019 17:24:57 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id E0CFE6A1728; Wed, 31 Jul 2019 21:24:54 +0000 (UTC) Received: from pdx1-sub0-mail-a99.g.dreamhost.com (100-96-90-160.trex.outbound.svc.cluster.local [100.96.90.160]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 545986A1FD2; Wed, 31 Jul 2019 21:24:49 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a99.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.5); Wed, 31 Jul 2019 21:24:54 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Whistle-Trade: 625827f57e044e63_1564608289629_3542721502 X-MC-Loop-Signature: 1564608289629:2559372451 X-MC-Ingress-Time: 1564608289629 Received: from pdx1-sub0-mail-a99.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a99.g.dreamhost.com (Postfix) with ESMTP id 4F53B810A2; Wed, 31 Jul 2019 14:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=eMhPhRdsoABniAbv0S+oVHhgJOI=; b= 1OBtGiB7Zd77k4GP9MQeP8Jt68AWD3WXuEVFr37oEN8YZ1dyNGUJQdytlyUMGqyS 62WzeRa5vXzKoTrES4fbgPRs1FrxA06Z9LxQiNpegZ4qpikj9EPGad7Yu855hvam jcaEImKNjQlwh+cJE/yMSoE7o/kcI3tr3RIlLmXCsw8= Received: from mail.jurta.org (m91-129-103-76.cust.tele2.ee [91.129.103.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a99.g.dreamhost.com (Postfix) with ESMTPSA id 448878109E; Wed, 31 Jul 2019 14:24:41 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a99 From: Juri Linkov Organization: LINKOV.NET References: <87oa3b6q7s.fsf@gmail.com> <871rybh7u8.fsf@mouse.gnus.org> <875znnxhas.fsf@mail.linkov.net> <20190728145350.GA29513@goll.lan> Date: Wed, 31 Jul 2019 23:45:44 +0300 In-Reply-To: <20190728145350.GA29513@goll.lan> (Trent W. Buck's message of "Mon, 29 Jul 2019 00:53:56 +1000") Message-ID: <87ftmmrkzr.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrleehgdduheelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdefrdejieenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdefrdejiedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehtrhgvnhhtsghutghksehgmhgrihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >> What are the remaining special file types possible in ls output? >> >> For example, in /run I see only "s" and "p" files. But in /dev there are >> also "b" and "c". These "block" and "character" device files could be >> highlighted using the same face with sockets and pipes. > > As I hinted earlier, GNU ls's --color output is governed by the dircolors program. > "dircolors --print-database" gives a bunch of stuff. The part you asked about is: > > DIR 01;34 # directory > LINK 01;36 # symbolic link. (If you set this to 'target' instead of a > # numerical value, the color is as for the file pointed to.) > MULTIHARDLINK 00 # regular file with more than one link > FIFO 40;33 # pipe > SOCK 01;35 # socket > DOOR 01;35 # door > BLK 40;33;01 # block device driver > CHR 40;33;01 # character device driver > ORPHAN 40;31;01 # symlink to nonexistent file, or non-stat'able file ... > MISSING 00 # ... and the files they point to Thanks for the detailed explanation. I wonder what would be a common word for these special file types: pipe, socket, block and character device? Currently the face name is 'dired-socket', but this doesn't seem right since it's used not only for socket, but also for pipe, block and character devices. Is 'dired-special' a better name? At least the manual (info "(coreutils) What information is listed") named them "special file". From unknown Wed Aug 20 00:02:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24547: 24.4; dired should colour in sockets and pipes Resent-From: "Trent W. Buck" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Aug 2019 02:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24547 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Juri Linkov Cc: Lars Ingebrigtsen , 24547@debbugs.gnu.org Received: via spool by 24547-submit@debbugs.gnu.org id=B24547.156462583930686 (code B ref 24547); Thu, 01 Aug 2019 02:18:02 +0000 Received: (at 24547) by debbugs.gnu.org; 1 Aug 2019 02:17:19 +0000 Received: from localhost ([127.0.0.1]:53328 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ht0ec-0007yq-1Q for submit@debbugs.gnu.org; Wed, 31 Jul 2019 22:17:18 -0400 Received: from mail-pf1-f173.google.com ([209.85.210.173]:34378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ht0ea-0007ye-BS for 24547@debbugs.gnu.org; Wed, 31 Jul 2019 22:17:16 -0400 Received: by mail-pf1-f173.google.com with SMTP id b13so33006548pfo.1 for <24547@debbugs.gnu.org>; Wed, 31 Jul 2019 19:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ICLmUV+lRtQ1hLZQ2G62jPceb/9itwaO2trhX0o4NC0=; b=cACKbbIHM80exUU+JAqW4fag/4ZZytdFDchZGhXUxEpzDsgqSz4MQTU4BNbFyZMOE1 7d9SBCHx+tXZGp7XwEwhsr8yCJlnGZvAmVX+ydlCsQEyUI54ZdUx/ThityT2meoI2CFZ 0Any64rGL5t1kguqfVz+lrD67JwVIZUONfYgZ0rxPlbaH0e1N5/o1o4yTjdk4ZouIX+2 5+KBw02hy3lkphX9FSG/IZS37DbbYnDl/Ec61MzZ6T01wqQjIAH51f2+ei/vQtzmXNzM /XQH8wJ4mxI4u71W6qwRVjV1Yr1OAndP3mLSE+LMnMk1Jw0vJIr+OMqxsUGQYj4LeCE+ l+aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ICLmUV+lRtQ1hLZQ2G62jPceb/9itwaO2trhX0o4NC0=; b=rRJzbcRhz/AV/7i4GG3yLaaCjLWkjG59GDumpysFSKYGlJs2OypWN2LP5XrqmfAy1X 9Ms8s2xt9e41gvCkYvnBOcSGO0691JbQhWu/8WxBjyjATFJB17/AAef5zKyXBbAAVNea OU/Jh2GXUFbk9Ft7DJYoCa6my8mwhn1W5XnKN+I3iUQwXQYyKPhe/CeidXUxxFOWE6zR SVYc1PD7Lf3Lxs+iat2/qTB0Sii8JnWWWmimZhiN1jVubgphpJzrvYB1q679Y7nd2SeE t14L27bXvWFv6L64g9FR1yBnYMGfDqkZ6CTt/N8N1A0Kcc4Q/0/WPJo0ksLDLurTrCac VOdg== X-Gm-Message-State: APjAAAW2oyEv8Z2XJoEzff4EUtp3y4e6OcObyfavVfcvXKfNdeLEh02Z nS9tgn9hzkFQiRuXfJc+v7o= X-Google-Smtp-Source: APXvYqygFL3kMx8V99vC1Ldsn6O+Aw5iPm13q/8gCvW5sxzCn5geCwBEVmKVpn4BAkHIpryG+FtkNQ== X-Received: by 2002:a17:90a:3ae8:: with SMTP id b95mr5796099pjc.68.1564625827525; Wed, 31 Jul 2019 19:17:07 -0700 (PDT) Received: from localhost ([203.7.155.117]) by smtp.gmail.com with ESMTPSA id c70sm24362877pfb.36.2019.07.31.19.17.05 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 31 Jul 2019 19:17:05 -0700 (PDT) Date: Thu, 1 Aug 2019 12:17:02 +1000 From: "Trent W. Buck" Message-ID: <20190801021700.GA924@goll.lan> References: <87oa3b6q7s.fsf@gmail.com> <871rybh7u8.fsf@mouse.gnus.org> <875znnxhas.fsf@mail.linkov.net> <20190728145350.GA29513@goll.lan> <87ftmmrkzr.fsf@mail.linkov.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ftmmrkzr.fsf@mail.linkov.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Juri Linkov wrote: >>> What are the remaining special file types possible in ls output? >> [dircolors --print-database] > > [...] what would be a common word for these special file types: > pipe, socket, block and character device? > > Currently the face name is 'dired-socket', but this doesn't seem right > since it's used not only for socket, but also for pipe, block and character > devices. Is 'dired-special' a better name? At least the manual > (info "(coreutils) What information is listed") named them "special file". dired-special makes sense to me, and I can't think of a better term. From unknown Wed Aug 20 00:02:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24547: 24.4; dired should colour in sockets and pipes Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Aug 2019 11:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24547 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Juri Linkov Cc: "Trent W. Buck" , 24547@debbugs.gnu.org Received: via spool by 24547-submit@debbugs.gnu.org id=B24547.156465771322348 (code B ref 24547); Thu, 01 Aug 2019 11:09:01 +0000 Received: (at 24547) by debbugs.gnu.org; 1 Aug 2019 11:08:33 +0000 Received: from localhost ([127.0.0.1]:53554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ht8wj-0005oN-9a for submit@debbugs.gnu.org; Thu, 01 Aug 2019 07:08:33 -0400 Received: from quimby.gnus.org ([80.91.231.51]:37978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ht8wf-0005oD-53 for 24547@debbugs.gnu.org; Thu, 01 Aug 2019 07:08:29 -0400 Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ht8wa-0006A7-6D; Thu, 01 Aug 2019 13:08:26 +0200 From: Lars Ingebrigtsen References: <87oa3b6q7s.fsf@gmail.com> <871rybh7u8.fsf@mouse.gnus.org> <875znnxhas.fsf@mail.linkov.net> <20190728145350.GA29513@goll.lan> <87ftmmrkzr.fsf@mail.linkov.net> Date: Thu, 01 Aug 2019 13:08:23 +0200 In-Reply-To: <87ftmmrkzr.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 31 Jul 2019 23:45:44 +0300") Message-ID: <87imrhnnx4.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Juri Linkov writes: > Currently the face name is 'dired-socket', but this doesn't seem right > since it's used not only for socket, but also for pipe, block and character > devices. Is 'dired-special' a better name? At l [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Juri Linkov writes: > Currently the face name is 'dired-socket', but this doesn't seem right > since it's used not only for socket, but also for pipe, block and character > devices. Is 'dired-special' a better name? At least the manual > (info "(coreutils) What information is listed") named them "special file". `dired-special' sounds like a better name; yes. (I'm not sure whether sockets are usually called special files, but the other ones covered by the face are, I think.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no