From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: bind print-integers-as-characters to t in `describe-variable'? Date: Wed, 15 May 2024 11:33:58 +0200 Message-ID: <87eda3ju61.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36398"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 15 11:34:44 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 1s7B23-0009JE-UR for ged-emacs-devel@m.gmane-mx.org; Wed, 15 May 2024 11:34:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7B1Q-0000ZF-Ls; Wed, 15 May 2024 05:34:04 -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 1s7B1Q-0000Z5-0h for emacs-devel@gnu.org; Wed, 15 May 2024 05:34:04 -0400 Original-Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s7B1O-0000G9-HO for emacs-devel@gnu.org; Wed, 15 May 2024 05:34:03 -0400 Original-Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-41dc9c83e57so42862725e9.0 for ; Wed, 15 May 2024 02:34:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715765639; x=1716370439; darn=gnu.org; h=mime-version:message-id:date:gmane-reply-to-list:subject:to:from :from:to:cc:subject:date:message-id:reply-to; bh=u8qAnRjKDUUIUJxaZhCKIctqJs+6+QRcW1r/BZlhHPk=; b=As9b0XAQxKaDYQZCceyUlbIE4M/B3tx6R/RJrO6yLWajZ1DFnXlQFKOy6o3TXpkZ8a llcU5eJe3lLGakHCZ2gXwe+l8mTDxou082vlMae62ySeISZuN3a1JZzFQbd87K4lHqKU we6yDGoE4nLUTXX3+yxNgSpx127q2xi2DOS0+km76W6Zil1/orkl4gtRvYrpa+tQ68tx wJdiDjUZTwOCNiNK3Bt4XfABcM1y0ubk/tNjf+eR8HKT1H1Z4TZbaQKTwewVNfdq80bS 0MhJuk1j2S5MZqbfyRRdclsYuw+zqReDHnXKWjkKusobYdOTWPZJxquR1Bl9gETVfOrr vdsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715765639; x=1716370439; h=mime-version:message-id:date:gmane-reply-to-list:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=u8qAnRjKDUUIUJxaZhCKIctqJs+6+QRcW1r/BZlhHPk=; b=cz2TH/GRcRXpaFdW8UpPTYAU8XccnH9WeXZTY6558olJrmuYb6xmx/MY0Il1zda5fn vj2ZfIZaB6N882UES6+pd4behWfDxgkJRhDrQvj8ZStIcrdfCUe+g+2ESRRD5ilp0IXU bEXHPZ5pKkkmDZnV4ZgYRZ17TdpdTxZtFGz+2uuGBIHCPwhtIwXtaEUYsWKoCXwp+AYS aygwXEfzCxkmTzL1U8dSdIOyEn8Fum5ka7cx+QP2M4JNAxRwL1B8/wWyDZI5g+aeZN4z 8vnUZX0REiUwxrpdJFZqipl+kfx751TuxXH9/mwY3R8ItowaQ+quzZ90Hrsr28JEttvf 9CSg== X-Gm-Message-State: AOJu0YxBBSpz53vOwrrdAcbE+Mkcx1+D2axbA7TE/D1Ko1nkrter5UVD LU3KTD5xEt83cOShqu8g18PlvnyUh0Ggv8/d/jGBVrO3QbODK+MIVQUQCg== X-Google-Smtp-Source: AGHT+IGh8ms0vpcXvBmP1jHJX+MhemPJp+GbWBzvnM5MQt8L3KJeY0gq9N2wmGwnomg7GTYPVkdScw== X-Received: by 2002:a05:600c:3152:b0:418:c6a:1765 with SMTP id 5b1f17b1804b1-41fbcea21d7mr152668495e9.16.1715765639484; Wed, 15 May 2024 02:33:59 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-420193b0903sm87768535e9.47.2024.05.15.02.33.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 02:33:59 -0700 (PDT) Gmane-Reply-To-List: yes Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=rpluim@gmail.com; helo=mail-wm1-x32c.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:319248 Archived-At: It makes the display of eg `electric-quote-chars' much more readable Robert -- diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 182b22549b5..2d85dac22de 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -1349,7 +1349,8 @@ describe-variable (print-rep (let ((rep (let ((print-quoted t) - (print-circle t)) + (print-circle t) + (print-integers-as-characters t)) (cl-prin1-to-string val)))) (if (and (symbolp val) (not (booleanp val))) (format-message "`%s'" rep)