From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Question regarding tty special glyphs display defaults Date: Wed, 09 Oct 2024 06:24:35 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34210"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 09 06:25:35 2024 Return-path: Envelope-to: ged-emacs-devel@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 1syOGU-0008mx-2x for ged-emacs-devel@m.gmane-mx.org; Wed, 09 Oct 2024 06:25:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1syOFi-0002wu-Kk; Wed, 09 Oct 2024 00:24:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1syOFc-0002wW-Kn for emacs-devel@gnu.org; Wed, 09 Oct 2024 00:24:41 -0400 Original-Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1syOFb-00036s-1p for emacs-devel@gnu.org; Wed, 09 Oct 2024 00:24:40 -0400 Original-Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a9943897c07so526943666b.3 for ; Tue, 08 Oct 2024 21:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728447877; x=1729052677; darn=gnu.org; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=62AKop3m9o9Kb/IYp9+AE/VDnlov+5GxFDXo5hkv7+Q=; b=ThoN/XPdtbUUsPmzV/R0jbz6dh4sZKp1r7yKCBRyYaNeBiTmZqPXKjxyVKPwntpeNf /LSx/eWKqCABaR4soF1dYeWRFnqIkWxfUjSf6iPN+gS7SO8/SfsKyE0zXCXw6+10kEnU +nOP3AWSd8oLYNGlRvWED243GdUw7eU1o+PtU0XVGXHKBHHYv4gyCAPR9Qkbuibdlcm0 EXr5h/EtbeHCYbG/+1aZ5h8Sc2kriYK2JuzTmN9+ylQbl/ELUjHto3mqIj5yrK0f8e8C 0Dah4o3kisdqSsTWl26g1FO1rkAGlulHwq1Q3+P+USogiJwOCkOypPk44aKRE12hDAmx 6qrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728447877; x=1729052677; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=62AKop3m9o9Kb/IYp9+AE/VDnlov+5GxFDXo5hkv7+Q=; b=cp5vK51iV8V5Z66/WjPg8jEwPutKo9wC8evfgwd8gpM+53ZGiCUiXlBwZJnRw6rvdI q8G91jq5jbJfOUElnG0ciHH9AuytSUaN7IiRf1u06hp9OSbXCp3V0/EN7XwBn+3Uan/i QnkrpXWtUGYcgmwVoPed1ee6CDY6zFj2X1sRtDLsfCoZjMFjPGsdnnEHi4qJABELoBK6 zT8LsSYeiVErrQzVRcYxlTv26lEPbRNjxH9yTE8pqRoSiEqCmX6Szu3cileHbYWsKcww LRNvrLUz3wBQMUPrE6QOBWu8qA0NDl96+IPJRdGSqwE9WU1XYWf7leaW00hMxzre2NrY +CLA== X-Gm-Message-State: AOJu0YytJT4T7DXSA1U4LeMCCQP1SZsM996LNAEkZSRNAkrPGkPlDeyk E8bXp9DaV2se2xBQIlzs2LG2YsKTWBqBapSrpuBQxytb9Zgnx6ZieaHDJg== X-Google-Smtp-Source: AGHT+IF64w3ThReLrXFAzcqWur3b8LlG/PziBgTqfwfnwjP77TuLBJWh+e55O6foldYr2QiD6cAqYg== X-Received: by 2002:a17:906:f58b:b0:a77:c30c:341 with SMTP id a640c23a62f3a-a998cf3fb44mr98636566b.0.1728447876488; Tue, 08 Oct 2024 21:24:36 -0700 (PDT) Original-Received: from pro2 (pd9e3699c.dip0.t-ipconnect.de. [217.227.105.156]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a992e7e2252sm591419766b.206.2024.10.08.21.24.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 21:24:36 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::62f; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x62f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:324427 Archived-At: On a tty, certain special glyphs are displayed with either ASCII chars or glyphs from standard-display-table, if set. Using ASCII is the default. The special glyphs are (see disp-table.el): truncation wrap escape control selective-display vertical-border And with tty child frames some more for their borders: box-vertical box-horizontal box-down-right box-down-left box-up-right box-up-left Problem is that I find the default ASCII chars being used ugly as hell, at least the ones for vertical-border and the new ones for the borders of child frames. The truncation...selective-display glyphs are kind of okay for my personal taste. I'm pondering if we could change the defaults to Unicode box drawing chars falling back to the ASCII chars if the terminal output coding system isn't Unicode. Q1: WDYT? Q2: if the answer is positive, how the heck does one write a function like is_unicode (struct coding_system *)?