From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: Some developement questions Date: Mon, 10 Sep 2018 12:16:34 +0700 Message-ID: References: <8336v6cvem.fsf@gnu.org> <8736v6icgt.fsf@himinbjorg.adminart.net> <83tvnmb958.fsf@gnu.org> <877ekigiiw.fsf@himinbjorg.adminart.net> <837ekhb2me.fsf@gnu.org> <87zhxcbmtr.fsf@himinbjorg.adminart.net> <83in409lub.fsf@gnu.org> <871sanb71j.fsf@himinbjorg.adminart.net> <83y3cu7t9j.fsf@gnu.org> <87lg8t2ki9.fsf@himinbjorg.adminart.net> <20180827015422.lcq44zvsjffeau4j@Ergus> <83a7p76f5e.fsf@gnu.org> <87lg8p9o6y.fsf@russet.org.uk> <83pnxx1foj.fsf@gnu.org> <87k1o1a06q.fsf@russet.org.uk> <877ek1ql6u.fsf@toy.adminart.net> <19f783eb-a688-2a69-e209-ea161177c8cb@cs.ucla.edu> <83pnxsy8dp.fsf@gnu.org> <87zhww9xxk.fsf@phil.uni-goettingen.de> <83in3kx8ug.fsf@gnu.org> <87tvmyh1ub.fsf@fastmail.fm> 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 1536556844 937 195.159.176.226 (10 Sep 2018 05:20:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Sep 2018 05:20:44 +0000 (UTC) Cc: Eli Zaretskii , Emacs developers To: Joost Kremers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 10 07:20:40 2018 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 1fzEcp-00008t-2T for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2018 07:20:39 +0200 Original-Received: from localhost ([::1]:49797 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzEev-0001I1-GV for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2018 01:22:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzEeo-0001Er-SN for emacs-devel@gnu.org; Mon, 10 Sep 2018 01:22:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzEZ6-0006yF-RA for emacs-devel@gnu.org; Mon, 10 Sep 2018 01:16:49 -0400 Original-Received: from mail-oi0-x230.google.com ([2607:f8b0:4003:c06::230]:32800) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fzEZ5-0006xf-K1; Mon, 10 Sep 2018 01:16:47 -0400 Original-Received: by mail-oi0-x230.google.com with SMTP id 8-v6so37826814oip.0; Sun, 09 Sep 2018 22:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=fskY4p1qSPy3+ngYB1h+GwopBjL9XlaTi1wzvRK/Z1o=; b=ksVvVPeWWydzi5IbjK21ZGJRpItigwwQtacl6jtaIbDKov2NsHf1THjkcdC++UtjXJ WmYk8z7vFZWJZCMXHgNToRMvltJCJnQyoQWxgXY6BSdClUJ5TyY7emUvR/V4KBq2AAJ2 UvCKR+i4AbQibXs99/0Eu/AG3H1xecV3hUPCFsiEqbj0jzeCWhHxNasIy9eUjnp5YqcA GcI7LjZdgbbzHUlXAWBP+lcbjOZf7KElo3DhRXJwmp/R3hinDvntRTrRKZJUAh2qLoPq TWZx/zxcy5UGhlwgTpdE0zzYNsvRGA6EbD4EfP96LWZ6MU9tO/7lAr3xjZNaepvcWDLV v63Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=fskY4p1qSPy3+ngYB1h+GwopBjL9XlaTi1wzvRK/Z1o=; b=Kp9VjavihTKZglo+cLGii6VziDxbNdh6IvZSbcoBN2QMl0a1UXBeFsVy3huNzuHpCr 2MCKDk5pBirOFA7MPOP2IVvf3IK9Jd7ZO8rJemrVx8+02JX21USQ4IAGYwBhovSXIXQI 4Qe+0gqVX0ZuXP94eY2ZMBkO646jcC0uS7SqtEBt8AUufQ/Kq8e9aPAVFqrvlu7PFG0Y HMSTlI9NljjJMPiSUey4KsLnbN9C7I6mBk1rfTP4E7poUbg+HNTyCgxM0haVLg78HAW+ iU4LGVW/xH9sxaK1ojCKf6n6pheaa28B15qfxDTXthY9MBQapQCdBQiIFBPTlRs50E/a Auyw== X-Gm-Message-State: APzg51ADpVPe/o5wriv7Loba3ZmVfrcGpKeA3Z99k+muwHrF/RMYVP8u HtXQNVAeEsBnmUyBMxBRg21R8SnByICfdCnVYe4= X-Google-Smtp-Source: ANB0VdatzHmcEEMqjaVZyB9KE8fhOh/66cAvtoY73wCThxQQkocAFabOty9KbL2xrRVAo98ooYJ01Eeq4Dwglh8xHgk= X-Received: by 2002:aca:3d4:: with SMTP id 203-v6mr19204589oid.321.1536556606965; Sun, 09 Sep 2018 22:16:46 -0700 (PDT) In-Reply-To: <87tvmyh1ub.fsf@fastmail.fm> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::230 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:229587 Archived-At: On Mon, Sep 10, 2018 at 3:15 AM Joost Kremers wr= ote: > > Wrt "a few Unicode symbols", do you have concrete proposals? > > Not really, to be honest. What would be nice I think would be to > have less 1980's-looking characters for the initial "U:---" > appearing in the mode line. > > BTW, as a side note: I wouldn't mind if all the other indicators > of the "U:---" part of the mode line would be zero for their > default values; i.e,. don't display ":" unless the line endings > are not unix-style LF, don't display the first "-", just display > something for read-only buffers, etc. This is pretty much what I did to my mode line. I use: * a U+2022 BULLET =E2=80=A2 if the buffer is visiting a file and modified, = and nothing otherwise; * a U+1F512 LOCK =F0=9F=94=92 if it is visiting a file and read-only, and nothing otherwise; * a U+1F5AC SOFT SHELL FLOPPY DISK =F0=9F=96=AC if using DOS end-of-lines, = or U+2318 PLACE OF INTEREST SIGN =E2=8C=98 if using Mac end-of-lines, nothing = if using Unix end-of-lines, and a question mark ? otherwise. I customize Ibuffer to show these same icons for modified and read-only buffers, too. I do not see value in seeing that e.g. a Dired, Help or Info buffer is read-only; that is its natural state and so uninteresting. (Rather, I should make them display a U+1F589 LOWER LEFT PENCIL =F0=9F=96=89 when *not= * read-only, e.g. in wdired-mode.)