all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: "Mattias Engdegård" <mattias.engdegard@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: bind print-integers-as-characters to t in `describe-variable'?
Date: Wed, 15 May 2024 14:32:01 +0200	[thread overview]
Message-ID: <877cfvjlxa.fsf@gmail.com> (raw)
In-Reply-To: <945DC9F4-7316-4B0F-B507-8B914B6A9FC4@gmail.com> ("Mattias Engdegård"'s message of "Wed, 15 May 2024 12:13:49 +0200")

>>>>> On Wed, 15 May 2024 12:13:49 +0200, Mattias Engdegård <mattias.engdegard@gmail.com> said:

    Mattias> 15 maj 2024 kl. 11.33 skrev Robert Pluim <rpluim@gmail.com>:
    >> It makes the display of eg `electric-quote-chars' much more readable

    Mattias> And `fill-column` much less readable. On balance, the
    Mattias> loss of readability for numbers that are not characters
    Mattias> seems to outweigh the gain for those that are.

We could add a limit to print-integers-as-characters above which it
takes effect (default '0').

Or we could look at the custom-type of the variable to see if it is or
contains 'character'.

    Mattias> We could have stateful buttons controlling the display,
    Mattias> which could also include things like printing numbers in
    Mattias> hex and control chars in strings as escape sequences.

Iʼm not entirely sure youʼre being serious here :-) , but that seems
like overkill.

Robert
-- 



  parent reply	other threads:[~2024-05-15 12:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-15  9:33 bind print-integers-as-characters to t in `describe-variable'? Robert Pluim
2024-05-15 10:13 ` Mattias Engdegård
2024-05-15 11:56   ` Eli Zaretskii
2024-05-16  5:46     ` Philip Kaludercic
2024-05-16  8:45       ` Eli Zaretskii
2024-05-16  9:05         ` Philip Kaludercic
2024-05-16 11:58           ` Eli Zaretskii
2024-05-16  9:08         ` Robert Pluim
2024-05-15 12:32   ` Robert Pluim [this message]
2024-05-15 11:55 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877cfvjlxa.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=mattias.engdegard@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.