GNU bug report logs - #64631
text-scale-mode-step returns integer rather than float

Previous Next

Package: emacs;

Reported by: uzibalqa <uzibalqa <at> proton.me>

Date: Fri, 14 Jul 2023 23:19:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64631 in the body.
You can then email your comments to 64631 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#64631; Package emacs. (Fri, 14 Jul 2023 23:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to uzibalqa <uzibalqa <at> proton.me>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 14 Jul 2023 23:19:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: uzibalqa <uzibalqa <at> proton.me>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: text-scale-mode-step returns integer rather than float
Date: Fri, 14 Jul 2023 23:18:22 +0000
text-scale-mode-step is a float but when it gets accessed it returns an integer.






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#64631; Package emacs. (Sat, 15 Jul 2023 06:03:01 GMT) Full text and rfc822 format available.

Message #8 received at 64631 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: uzibalqa <uzibalqa <at> proton.me>
Cc: 64631 <at> debbugs.gnu.org
Subject: Re: bug#64631: text-scale-mode-step returns integer rather than float
Date: Sat, 15 Jul 2023 09:02:37 +0300
> 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 <at> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#64631; Package emacs. (Sat, 15 Jul 2023 11:04:01 GMT) Full text and rfc822 format available.

Message #11 received at 64631 <at> debbugs.gnu.org (full text, mbox):

From: uzibalqa <uzibalqa <at> proton.me>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 64631 <at> debbugs.gnu.org
Subject: Re: bug#64631: text-scale-mode-step returns integer rather than float
Date: Sat, 15 Jul 2023 11:03:04 +0000
------- Original Message -------
On Saturday, July 15th, 2023 at 6:02 PM, Eli Zaretskii <eliz <at> 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 <at> 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 sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 15 Jul 2023 11:37:01 GMT) Full text and rfc822 format available.

Notification sent to uzibalqa <uzibalqa <at> proton.me>:
bug acknowledged by developer. (Sat, 15 Jul 2023 11:37:02 GMT) Full text and rfc822 format available.

Message #16 received at 64631-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: uzibalqa <uzibalqa <at> proton.me>
Cc: 64631-done <at> debbugs.gnu.org
Subject: Re: bug#64631: text-scale-mode-step returns integer rather than float
Date: Sat, 15 Jul 2023 14:37:00 +0300
> Date: Sat, 15 Jul 2023 11:03:04 +0000
> From: uzibalqa <uzibalqa <at> proton.me>
> Cc: 64631 <at> debbugs.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) 

OK, closing the bug.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 13 Aug 2023 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 313 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.