From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: bind print-integers-as-characters to t in `describe-variable'? Date: Thu, 16 May 2024 11:45:37 +0300 Message-ID: <865xvejgb2.fsf@gnu.org> References: <87eda3ju61.fsf@gmail.com> <945DC9F4-7316-4B0F-B507-8B914B6A9FC4@gmail.com> <86v83fthjb.fsf@gnu.org> <875xve71hu.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8329"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mattias.engdegard@gmail.com, rpluim@gmail.com, emacs-devel@gnu.org To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 16 10:46:16 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 1s7Wki-0001wd-HP for ged-emacs-devel@m.gmane-mx.org; Thu, 16 May 2024 10:46:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7WkC-0003KT-JV; Thu, 16 May 2024 04:45:44 -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 1s7WkA-0003KD-Ih for emacs-devel@gnu.org; Thu, 16 May 2024 04:45:42 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s7WkA-0006Ky-9K; Thu, 16 May 2024 04:45:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=PrYr1tcwPJgEaA9jebcOmlu/hhF/LaWOvlm/RX4rV+8=; b=oH20WVtVv/3t9YPcaqQP epfkIxzjivFq6SCrnRRnP3BUcUvLsRieM2ATk6ftws9Reok42pNk4VsUyJ90STQwfqx47SZtV/ZMu 4KSrKrzlO/nMe3o0hBNXZttGVFIWT0PqGmZyWmdoPshK4Y2rRC975FCKYNK8T2cxL+MDkoVTdNg+8 0V9ilMXpveK1PQ1DlIt0ds+X4QSt9HWzDh1Y+SSwaX2Q20qAP5RoDr5Xp2NgSQkmorasAqM2ewvXb i1Ae1wVRZCkvxDzKX+VVrrE5oVrCopEmbKRGq12Xy3FyA/w/MbWU0ANGsidu7EwUF+7OXlhZzk2L6 Q0xNY376v10a1Q==; In-Reply-To: <875xve71hu.fsf@posteo.net> (message from Philip Kaludercic on Thu, 16 May 2024 05:46:21 +0000) 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:319283 Archived-At: > From: Philip Kaludercic > Cc: Mattias EngdegÄrd , > rpluim@gmail.com, > emacs-devel@gnu.org > Date: Thu, 16 May 2024 05:46:21 +0000 > > Eli Zaretskii writes: > > >> From: Mattias EngdegÄrd > >> Date: Wed, 15 May 2024 12:13:49 +0200 > >> Cc: emacs-devel@gnu.org > >> > >> We could have stateful buttons controlling the display, which could > >> also include things like printing numbers in hex and control chars > >> in strings as escape sequences. > > > > Or maybe the doc string could provide meta-data about how to display > > such values? > > Why not bind it depending on the type of the user option? How do you tell "the type of the user option"?