unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#64631: text-scale-mode-step returns integer rather than float
@ 2023-07-14 23:18 uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-07-15  6:02 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-07-14 23:18 UTC (permalink / raw)
  To: 64631

text-scale-mode-step is a float but when it gets accessed it returns an integer.







^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#64631: text-scale-mode-step returns integer rather than float
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2023-07-15  6:02 UTC (permalink / raw)
  To: uzibalqa; +Cc: 64631

> 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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#64631: text-scale-mode-step returns integer rather than float
  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
  2023-07-15 11:37     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-07-15 11:03 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 64631


------- 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) 






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#64631: text-scale-mode-step returns integer rather than float
  2023-07-15 11:03   ` uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-07-15 11:37     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2023-07-15 11:37 UTC (permalink / raw)
  To: uzibalqa; +Cc: 64631-done

> Date: Sat, 15 Jul 2023 11:03:04 +0000
> From: uzibalqa <uzibalqa@proton.me>
> Cc: 64631@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-07-15 11:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2023-07-15 11:37     ` Eli Zaretskii

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).