unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* text-scale-decrease changes text-scale-mode without font changes
@ 2021-11-06  9:07 fatiparty--- via Users list for the GNU Emacs text editor
       [not found] ` <MnoVFVb--3-2@tutanota.com-MnoVK6u----2>
  0 siblings, 1 reply; 11+ messages in thread
From: fatiparty--- via Users list for the GNU Emacs text editor @ 2021-11-06  9:07 UTC (permalink / raw)
  To: Help Gnu Emacs


I am using these two keybindings for chanding the font in emacs.  But I am getting text-scale-mode with a integer number decreasing (-1,-2,-3,...) when using "C-,".  Whilst for  "C-.", the integral number increasing.

Still the text height in the emacs buffer is not changing.

(global-set-key (kbd "C-,") 'text-scale-decrease)
(global-set-key (kbd "C-.") 'text-scale-increase)



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

* text-scale-decrease changes text-scale-mode without font changes
       [not found] ` <MnoVFVb--3-2@tutanota.com-MnoVK6u----2>
@ 2021-11-06 14:44   ` fatiparty--- via Users list for the GNU Emacs text editor
  2021-11-06 14:47     ` irenezerafa
       [not found]     ` <av15ltRr6IlTRnqyP6jvjtaFh9xF9Vf7g28qt7Q_bG7C8gfoQ7xPbadvb1u_LaQbiBKcpeX7kFuBq_nPOUULoTF_P8GU_RfccvabXlte21k=@protonmail.com-MnpiAnN----2>
  0 siblings, 2 replies; 11+ messages in thread
From: fatiparty--- via Users list for the GNU Emacs text editor @ 2021-11-06 14:44 UTC (permalink / raw)
  To: fatiparty; +Cc: Help Gnu Emacs

Nov 6, 2021, 09:07 by help-gnu-emacs@gnu.org:

>
> I am using these two keybindings for chanding the font in emacs.  But I am getting text-scale-mode with a integer number decreasing (-1,-2,-3,...) when using "C-,".  Whilst for  "C-.", the integral number increasing.
>
> Still the text height in the emacs buffer is not changing.
>
> (global-set-key (kbd "C-,") 'text-scale-decrease)
> (global-set-key (kbd "C-.") 'text-scale-increase)
>
Have done some more tests and still got the same problem.  Very strange.  Have been using
ivy and have now switched that off. Any suggestions on how I can do some progress on this,
as I am out of ideas.



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

* text-scale-decrease changes text-scale-mode without font changes
  2021-11-06 14:44   ` fatiparty--- via Users list for the GNU Emacs text editor
@ 2021-11-06 14:47     ` irenezerafa
       [not found]     ` <av15ltRr6IlTRnqyP6jvjtaFh9xF9Vf7g28qt7Q_bG7C8gfoQ7xPbadvb1u_LaQbiBKcpeX7kFuBq_nPOUULoTF_P8GU_RfccvabXlte21k=@protonmail.com-MnpiAnN----2>
  1 sibling, 0 replies; 11+ messages in thread
From: irenezerafa @ 2021-11-06 14:47 UTC (permalink / raw)
  To: fatiparty; +Cc: Help Gnu Emacs

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Saturday, November 6th, 2021 at 2:44 PM, fatiparty--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:

> Nov 6, 2021, 09:07 by help-gnu-emacs@gnu.org:
>
> > I am using these two keybindings for chanding the font in emacs.  But I am getting text-scale-mode with a integer number decreasing (-1,-2,-3,...) when using "C-,".  Whilst for  "C-.", the integral number increasing.
> >
> > Still the text height in the emacs buffer is not changing.
> >
> > (global-set-key (kbd "C-,") 'text-scale-decrease)
> >
> > (global-set-key (kbd "C-.") 'text-scale-increase)
>
> Have done some more tests and still got the same problem.  Very strange.  Have been using
> ivy and have now switched that off. Any suggestions on how I can do some progress on this,
> as I am out of ideas.

Try using "emacs -q"



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

* text-scale-decrease changes text-scale-mode without font changes
       [not found]     ` <av15ltRr6IlTRnqyP6jvjtaFh9xF9Vf7g28qt7Q_bG7C8gfoQ7xPbadvb1u_LaQbiBKcpeX7kFuBq_nPOUULoTF_P8GU_RfccvabXlte21k=@protonmail.com-MnpiAnN----2>
@ 2021-11-06 15:09       ` fatiparty--- via Users list for the GNU Emacs text editor
  2021-11-06 15:40         ` AW: " Daniel Herzig
  0 siblings, 1 reply; 11+ messages in thread
From: fatiparty--- via Users list for the GNU Emacs text editor @ 2021-11-06 15:09 UTC (permalink / raw)
  To: irenezerafa; +Cc: Help Gnu Emacs


Nov 6, 2021, 14:47 by irenezerafa@protonmail.com:

> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>
> On Saturday, November 6th, 2021 at 2:44 PM, fatiparty--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:
>
>> Nov 6, 2021, 09:07 by help-gnu-emacs@gnu.org:
>>
>> > I am using these two keybindings for chanding the font in emacs.  But I am getting text-scale-mode with a integer number decreasing (-1,-2,-3,...) when using "C-,".  Whilst for  "C-.", the integral number increasing.
>> >
>> > Still the text height in the emacs buffer is not changing.
>> >
>> > (global-set-key (kbd "C-,") 'text-scale-decrease)
>> >
>> > (global-set-key (kbd "C-.") 'text-scale-increase)
>>
>> Have done some more tests and still got the same problem.  Very strange.  Have been using
>> ivy and have now switched that off. Any suggestions on how I can do some progress on this,
>> as I am out of ideas.
>>
>
> Try using "emacs -q"
>
Things work out when using the command.  Still, I am using a fairly basic setup and cannot identify
a reason for failing with my setup.


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

* AW: text-scale-decrease changes text-scale-mode without font changes
  2021-11-06 15:09       ` fatiparty--- via Users list for the GNU Emacs text editor
@ 2021-11-06 15:40         ` Daniel Herzig
  2021-11-06 15:55           ` fatiparty--- via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 11+ messages in thread
From: Daniel Herzig @ 2021-11-06 15:40 UTC (permalink / raw)
  To: fatiparty@tutanota.com, irenezerafa; +Cc: Help Gnu Emacs

Increasing and decreasing font size works for me (emacs 27.x.y [at least since 26] on pure Debian, Raspbian,  Guix, and  Windows 10)   using the built-in keybindings ‚ ~C-x C-+~, and ~C-x C--~, respectively.  I haven’t had a look though which functions are called by these bindings.

Von: fatiparty--- via Users list for the GNU Emacs text editor<mailto:help-gnu-emacs@gnu.org>
Gesendet: Samstag, 6. November 2021 16:10
An: irenezerafa<mailto:irenezerafa@protonmail.com>
Cc: Help Gnu Emacs<mailto:help-gnu-emacs@gnu.org>
Betreff: text-scale-decrease changes text-scale-mode without font changes


Nov 6, 2021, 14:47 by irenezerafa@protonmail.com:

> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>
> On Saturday, November 6th, 2021 at 2:44 PM, fatiparty--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:
>
>> Nov 6, 2021, 09:07 by help-gnu-emacs@gnu.org:
>>
>> > I am using these two keybindings for chanding the font in emacs.  But I am getting text-scale-mode with a integer number decreasing (-1,-2,-3,...) when using "C-,".  Whilst for  "C-.", the integral number increasing.
>> >
>> > Still the text height in the emacs buffer is not changing.
>> >
>> > (global-set-key (kbd "C-,") 'text-scale-decrease)
>> >
>> > (global-set-key (kbd "C-.") 'text-scale-increase)
>>
>> Have done some more tests and still got the same problem.  Very strange.  Have been using
>> ivy and have now switched that off. Any suggestions on how I can do some progress on this,
>> as I am out of ideas.
>>
>
> Try using "emacs -q"
>
Things work out when using the command.  Still, I am using a fairly basic setup and cannot identify
a reason for failing with my setup.


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

* text-scale-decrease changes text-scale-mode without font changes
  2021-11-06 15:40         ` AW: " Daniel Herzig
@ 2021-11-06 15:55           ` fatiparty--- via Users list for the GNU Emacs text editor
  2021-11-06 16:30             ` tomas
  0 siblings, 1 reply; 11+ messages in thread
From: fatiparty--- via Users list for the GNU Emacs text editor @ 2021-11-06 15:55 UTC (permalink / raw)
  To: Daniel Herzig; +Cc: irenezerafa, Help Gnu Emacs


Nov 6, 2021, 15:40 by daniel.herzig@outlook.at:

>
> Increasing and decreasing font size works for me (emacs 27.x.y [at least since 26] on pure Debian, Raspbian,  Guix, and  Windows 10)   using the built-in keybindings ‚ ~C-x C-+~, and ~C-x C--~, respectively.  I haven’t had a look though which functions are called by these bindings.
>
>

I am using GNU Emacs 27.2.  I get text-scale-decrease and text-scale-increase to work correctly 
after using "emacs -q" on the command line.



>
>  
>
>
> Von: > fatiparty--- via Users list for the GNU Emacs text editor <mailto:help-gnu-emacs@gnu.org>
>  > Gesendet: > Samstag, 6. November 2021 16:10
>  > An: > irenezerafa <mailto:irenezerafa@protonmail.com>
>  > Cc: > Help Gnu Emacs <mailto:help-gnu-emacs@gnu.org>
>  > Betreff: > text-scale-decrease changes text-scale-mode without font changes
>
>
>
>  
>
>
>
>
> Nov 6, 2021, 14:47 by irenezerafa@protonmail.com:
>  
>  > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>  >
>  > On Saturday, November 6th, 2021 at 2:44 PM, fatiparty--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:
>  >
>  >> Nov 6, 2021, 09:07 by help-gnu-emacs@gnu.org:
>  >>
>  >> > I am using these two keybindings for chanding the font in emacs.  But I am getting text-scale-mode with a integer number decreasing (-1,-2,-3,...) when using "C-,".  Whilst for  "C-.", the integral number increasing.
>  >> >
>  >> > Still the text height in the emacs buffer is not changing.
>  >> >
>  >> > (global-set-key (kbd "C-,") 'text-scale-decrease)
>  >> >
>  >> > (global-set-key (kbd "C-.") 'text-scale-increase)
>  >>
>  >> Have done some more tests and still got the same problem.  Very strange.  Have been using
>  >> ivy and have now switched that off. Any suggestions on how I can do some progress on this,
>  >> as I am out of ideas.
>  >>
>  >
>  > Try using "emacs -q"
>  >
>  Things work out when using the command.  Still, I am using a fairly basic setup and cannot identify
>  a reason for failing with my setup.
>
>
>
>  
>
>



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

* Re: text-scale-decrease changes text-scale-mode without font changes
  2021-11-06 15:55           ` fatiparty--- via Users list for the GNU Emacs text editor
@ 2021-11-06 16:30             ` tomas
  2021-11-06 17:48               ` fatiparty--- via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 11+ messages in thread
From: tomas @ 2021-11-06 16:30 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 820 bytes --]

On Sat, Nov 06, 2021 at 04:55:45PM +0100, fatiparty--- via Users list for the GNU Emacs text editor wrote:
> 
> Nov 6, 2021, 15:40 by daniel.herzig@outlook.at:
> 
> >
> > Increasing and decreasing font size works for me (emacs 27.x.y [at least since 26] on pure Debian, Raspbian,  Guix, and  Windows 10)   using the built-in keybindings ‚ ~C-x C-+~, and ~C-x C--~, respectively.  I haven’t had a look though which functions are called by these bindings.
> >
> >
> 
> I am using GNU Emacs 27.2.  I get text-scale-decrease and text-scale-increase to work correctly 
> after using "emacs -q" on the command line.

So something in your init files is messing that up.

Another font, perhaps? One that "resists" scaling?

You could slice up your init files and try a binary
search.

Cheers
 - t

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* text-scale-decrease changes text-scale-mode without font changes
  2021-11-06 16:30             ` tomas
@ 2021-11-06 17:48               ` fatiparty--- via Users list for the GNU Emacs text editor
  2021-11-06 19:52                 ` tomas
       [not found]                 ` <20211106195212.GA7677@tuxteam.de-Mnqo0dD----2>
  0 siblings, 2 replies; 11+ messages in thread
From: fatiparty--- via Users list for the GNU Emacs text editor @ 2021-11-06 17:48 UTC (permalink / raw)
  To: tomas; +Cc: Help Gnu Emacs

Nov 6, 2021, 16:30 by tomas@tuxteam.de:

> On Sat, Nov 06, 2021 at 04:55:45PM +0100, fatiparty--- via Users list for the GNU Emacs text editor wrote:
>
>>
>> Nov 6, 2021, 15:40 by daniel.herzig@outlook.at:
>>
>> >
>> > Increasing and decreasing font size works for me (emacs 27.x.y [at least since 26] on pure Debian, Raspbian,  Guix, and  Windows 10)   using the built-in keybindings ‚ ~C-x C-+~, and ~C-x C--~, respectively.  I haven’t had a look though which functions are called by these bindings.
>> >
>> >
>>
>> I am using GNU Emacs 27.2.  I get text-scale-decrease and text-scale-increase to work correctly 
>> after using "emacs -q" on the command line.
>>
>
> So something in your init files is messing that up.
>
> Another font, perhaps? One that "resists" scaling?
>
> You could slice up your init files and try a binary
> search.
>
> Cheers
>  - t
>

The problem is related to having the following call

(setq text-scale-mode-step 1.0)




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

* Re: text-scale-decrease changes text-scale-mode without font changes
  2021-11-06 17:48               ` fatiparty--- via Users list for the GNU Emacs text editor
@ 2021-11-06 19:52                 ` tomas
       [not found]                 ` <20211106195212.GA7677@tuxteam.de-Mnqo0dD----2>
  1 sibling, 0 replies; 11+ messages in thread
From: tomas @ 2021-11-06 19:52 UTC (permalink / raw)
  To: fatiparty; +Cc: Help Gnu Emacs

[-- Attachment #1: Type: text/plain, Size: 1016 bytes --]

On Sat, Nov 06, 2021 at 06:48:00PM +0100, fatiparty@tutanota.com wrote:
> Nov 6, 2021, 16:30 by tomas@tuxteam.de:
> 
> > On Sat, Nov 06, 2021 at 04:55:45PM +0100, fatiparty--- via Users list for the GNU Emacs text editor wrote:
> >
> >>
> >> Nov 6, 2021, 15:40 by daniel.herzig@outlook.at:
> >>
> >> >
> >> > Increasing and decreasing font size works for me (emacs 27.x.y [at least since 26] on pure Debian, Raspbian,  Guix, and  Windows 10)   using the built-in keybindings ‚ ~C-x C-+~, and ~C-x C--~, respectively.  I haven’t had a look though which functions are called by these bindings.

[
...]
> The problem is related to having the following call
> 
> (setq text-scale-mode-step 1.0)

Well, this is telling Emacs that the fonts are to be
scaled by a factor 1.0 at each step, i.e. leaves them
unchanged. So it is working as it should :-)

The default value is 1.2, which makes somewhat more
sense. Try another value (I guess you want something
greater than 1).

Cheers
 - t

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* text-scale-decrease changes text-scale-mode without font changes
       [not found]                 ` <20211106195212.GA7677@tuxteam.de-Mnqo0dD----2>
@ 2021-11-06 23:27                   ` fatiparty--- via Users list for the GNU Emacs text editor
  2021-11-07  7:15                     ` Tomas
  0 siblings, 1 reply; 11+ messages in thread
From: fatiparty--- via Users list for the GNU Emacs text editor @ 2021-11-06 23:27 UTC (permalink / raw)
  To: Tomas; +Cc: Help Gnu Emacs


Nov 6, 2021, 19:52 by tomas@tuxteam.de:

> On Sat, Nov 06, 2021 at 06:48:00PM +0100, fatiparty@tutanota.com wrote:
>
>> Nov 6, 2021, 16:30 by tomas@tuxteam.de:
>>
>> > On Sat, Nov 06, 2021 at 04:55:45PM +0100, fatiparty--- via Users list for the GNU Emacs text editor wrote:
>> >
>> >>
>> >> Nov 6, 2021, 15:40 by daniel.herzig@outlook.at:
>> >>
>> >> >
>> >> > Increasing and decreasing font size works for me (emacs 27.x.y [at least since 26] on pure Debian, Raspbian,  Guix, and  Windows 10)   using the built-in keybindings ‚ ~C-x C-+~, and ~C-x C--~, respectively.  I haven’t had a look though which functions are called by these bindings.
>>
>
> [
> ...]
>
>> The problem is related to having the following call
>>
>> (setq text-scale-mode-step 1.0)
>>
>
> Well, this is telling Emacs that the fonts are to be
> scaled by a factor 1.0 at each step, i.e. leaves them
> unchanged. So it is working as it should :-)
>
> The default value is 1.2, which makes somewhat more
> sense. Try another value (I guess you want something
> greater than 1).
>
> Cheers
>  - t
>
Thank you, resolved behaviour with a value greater than one.


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

* Re: text-scale-decrease changes text-scale-mode without font changes
  2021-11-06 23:27                   ` fatiparty--- via Users list for the GNU Emacs text editor
@ 2021-11-07  7:15                     ` Tomas
  0 siblings, 0 replies; 11+ messages in thread
From: Tomas @ 2021-11-07  7:15 UTC (permalink / raw)
  To: fatiparty; +Cc: Help Gnu Emacs

[-- Attachment #1: Type: text/plain, Size: 427 bytes --]

On Sun, Nov 07, 2021 at 12:27:26AM +0100, fatiparty@tutanota.com wrote:
> 
> Nov 6, 2021, 19:52 by tomas@tuxteam.de:

[...]

[ (setq text-scale-mode-step 1.0) ]

> > The default value is 1.2, which makes somewhat more
> > sense. Try another value (I guess you want something
> > greater than 1).

[...]

> Thank you, resolved behaviour with a value greater than one.

Glad it worked for you :)

Cheers
 - t

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

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

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-06  9:07 text-scale-decrease changes text-scale-mode without font changes fatiparty--- via Users list for the GNU Emacs text editor
     [not found] ` <MnoVFVb--3-2@tutanota.com-MnoVK6u----2>
2021-11-06 14:44   ` fatiparty--- via Users list for the GNU Emacs text editor
2021-11-06 14:47     ` irenezerafa
     [not found]     ` <av15ltRr6IlTRnqyP6jvjtaFh9xF9Vf7g28qt7Q_bG7C8gfoQ7xPbadvb1u_LaQbiBKcpeX7kFuBq_nPOUULoTF_P8GU_RfccvabXlte21k=@protonmail.com-MnpiAnN----2>
2021-11-06 15:09       ` fatiparty--- via Users list for the GNU Emacs text editor
2021-11-06 15:40         ` AW: " Daniel Herzig
2021-11-06 15:55           ` fatiparty--- via Users list for the GNU Emacs text editor
2021-11-06 16:30             ` tomas
2021-11-06 17:48               ` fatiparty--- via Users list for the GNU Emacs text editor
2021-11-06 19:52                 ` tomas
     [not found]                 ` <20211106195212.GA7677@tuxteam.de-Mnqo0dD----2>
2021-11-06 23:27                   ` fatiparty--- via Users list for the GNU Emacs text editor
2021-11-07  7:15                     ` Tomas

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