unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 64631@debbugs.gnu.org
Subject: bug#64631: text-scale-mode-step returns integer rather than float
Date: Sat, 15 Jul 2023 11:03:04 +0000	[thread overview]
Message-ID: <DxomA6IyrJEOcTGXcBBIUBBmy8DnAmo6zZ79DHo27GMeZfXxyg2mju21Nfumptd69I3lAZGaCR4Yv_TMEPzNMKvs5lTN26DPAXzb9fEM7-w=@proton.me> (raw)
In-Reply-To: <83h6q5empu.fsf@gnu.org>


------- Original Message -------
On Saturday, July 15th, 2023 at 6:02 PM, Eli Zaretskii <eliz@gnu.org> wrote:


> > Date: Fri, 14 Jul 2023 23:18:22 +0000
> > From: uzibalqa via "Bug reports for GNU Emacs,
> > the Swiss army knife of text editors" bug-gnu-emacs@gnu.org
> > 
> > text-scale-mode-step is a float but when it gets accessed it returns an integer.
> 
> 
> How do you access it? I just evaluated it with
> 
> M-: text-scale-mode-step RET
> 
> and got 1.2, which is a float.


I made a mistake using (message "%d" var) rather than (messsage "%f" var) 






  reply	other threads:[~2023-07-15 11:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-14 23:18 bug#64631: text-scale-mode-step returns integer rather than float uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-15  6:02 ` Eli Zaretskii
2023-07-15 11:03   ` uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-07-15 11:37     ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='DxomA6IyrJEOcTGXcBBIUBBmy8DnAmo6zZ79DHo27GMeZfXxyg2mju21Nfumptd69I3lAZGaCR4Yv_TMEPzNMKvs5lTN26DPAXzb9fEM7-w=@proton.me' \
    --to=bug-gnu-emacs@gnu.org \
    --cc=64631@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=uzibalqa@proton.me \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).