all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: setting font size
       [not found] <b4b8ac45-dcbc-41df-ae14-8f5abc0a6c24@j2g2000yqf.googlegroups.com>
@ 2010-11-02  1:50 ` Jason Rumney
  2010-11-02 18:44   ` Russ P.
  0 siblings, 1 reply; 5+ messages in thread
From: Jason Rumney @ 2010-11-02  1:50 UTC (permalink / raw)
  To: help-gnu-emacs

On Nov 2, 2:33 am, "Russ P." <russ.paie...@gmail.com> wrote:

> Using the same .emacs file that I use on Red Hat, I get a ridiculously
> large font on the Ubuntu Emacs.  The only lines in my .emacs file that
> I think could have an effect on font size are these:
>
> (add-hook 'font-lock-mode-hook #'(lambda()(use-local-map nil)))
> (custom-set-faces '(default ((t (:size "14pt" :family "Courier 10
> Pitch"))) t))
> (set-face-attribute 'default nil :family "Courier 10 Pitch")
> (set-face-attribute 'default (selected-frame) :height 130)

The second line above is setting your font to a huge 14pt. The forth
line is resetting it to a slightly less huge 13pt.

I'd suggest removing the last two lines and setting the font through
customize, where you can see the results as you set it.

Apparently your Red Hat installation must be getting your monitor dpi
wrong if it is not displaying 14 and 13pt fonts at a large size.



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

* Re: setting font size
  2010-11-02  1:50 ` setting font size Jason Rumney
@ 2010-11-02 18:44   ` Russ P.
  2010-11-02 21:54     ` despen
  0 siblings, 1 reply; 5+ messages in thread
From: Russ P. @ 2010-11-02 18:44 UTC (permalink / raw)
  To: help-gnu-emacs

On Nov 1, 6:50 pm, Jason Rumney <jasonrum...@gmail.com> wrote:
> On Nov 2, 2:33 am, "Russ P." <russ.paie...@gmail.com> wrote:
>
> > Using the same .emacs file that I use on Red Hat, I get a ridiculously
> > large font on the Ubuntu Emacs.  The only lines in my .emacs file that
> > I think could have an effect on font size are these:
>
> > (add-hook 'font-lock-mode-hook #'(lambda()(use-local-map nil)))
> > (custom-set-faces '(default ((t (:size "14pt" :family "Courier 10
> > Pitch"))) t))
> > (set-face-attribute 'default nil :family "Courier 10 Pitch")
> > (set-face-attribute 'default (selected-frame) :height 130)
>
> The second line above is setting your font to a huge 14pt. The forth
> line is resetting it to a slightly less huge 13pt.
>
> I'd suggest removing the last two lines and setting the font through
> customize, where you can see the results as you set it.
>
> Apparently your Red Hat installation must be getting your monitor dpi
> wrong if it is not displaying 14 and 13pt fonts at a large size.

Thanks for the suggestion, but I already tried commenting out those
lines and it made no difference. Then I figured the problem could be
that my .emacs file is just not executing to completion, but now I am
pretty sure it is.

I find it frustrating that the same (or close to the same) version of
Emacs with the exact same .emacs file behaves completely differently
on two different Linux distributions (Red Hat and Ubuntu). I've never
had this kind of problem with XEmacs.

I've also had other problems with Emacs that I never had with XEmacs
in over 20 years of using it. For example, I reported here a few weeks
ago that Emacs is FAR slower than XEmacs for remote operation. Others
here helped me with a nice workaround for that problem (sshfs), but it
is still not a good indication of the Emacs software quality.

Here is another little thing that bothers me about Emacs, and this one
is probably my own little pecadillo. XEmacs has a nice little pull-
down menu item for setting the font size directly. Emacs apparently
does not have that, so I have to sit and try to guess how to do it. I
knew a few weeks ago, but I forgot. But the point is, why should I
have to remember? Why not just make it simple, as in XEmacs?

The only reason I have to use Emacs is that I want to use ENSIME (an
IDE for Scala). Were it not for that, I would surely just stay with
XEmacs. I get no pleasure from saying that, I'm just reporting my
experience. I certainly don't mean to offend anyone here, because I
will probably need your help in the future! I just hope the problems
with Emacs can be corrected.

Russ P.


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

* Re: setting font size
  2010-11-02 18:44   ` Russ P.
@ 2010-11-02 21:54     ` despen
  2010-11-02 22:21       ` Russ P.
  0 siblings, 1 reply; 5+ messages in thread
From: despen @ 2010-11-02 21:54 UTC (permalink / raw)
  To: help-gnu-emacs

"Russ P." <russ.paielli@gmail.com> writes:

> On Nov 1, 6:50 pm, Jason Rumney <jasonrum...@gmail.com> wrote:
>> On Nov 2, 2:33 am, "Russ P." <russ.paie...@gmail.com> wrote:
>>
> Here is another little thing that bothers me about Emacs, and this one
> is probably my own little pecadillo. XEmacs has a nice little pull-
> down menu item for setting the font size directly. Emacs apparently
> does not have that, so I have to sit and try to guess how to do it. I
> knew a few weeks ago, but I forgot. But the point is, why should I
> have to remember? Why not just make it simple, as in XEmacs?

Options->Set Default Font.

You can pick the Font, Style and Size.


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

* Re: setting font size
  2010-11-02 21:54     ` despen
@ 2010-11-02 22:21       ` Russ P.
  2010-11-03  1:25         ` despen
  0 siblings, 1 reply; 5+ messages in thread
From: Russ P. @ 2010-11-02 22:21 UTC (permalink / raw)
  To: help-gnu-emacs

On Nov 2, 2:54 pm, des...@verizon.net wrote:
> "Russ P." <russ.paie...@gmail.com> writes:
> > On Nov 1, 6:50 pm, Jason Rumney <jasonrum...@gmail.com> wrote:
> >> On Nov 2, 2:33 am, "Russ P." <russ.paie...@gmail.com> wrote:
>
> > Here is another little thing that bothers me about Emacs, and this one
> > is probably my own little pecadillo. XEmacs has a nice little pull-
> > down menu item for setting the font size directly. Emacs apparently
> > does not have that, so I have to sit and try to guess how to do it. I
> > knew a few weeks ago, but I forgot. But the point is, why should I
> > have to remember? Why not just make it simple, as in XEmacs?
>
> Options->Set Default Font.
>
> You can pick the Font, Style and Size.

Whoops! I don't know how I missed that!

I'm still a bit confused. If I understand it correctly, I need to
select both a font and a size. Is there a simple way to just change
the size of the existing font without having to select it in the list?
It seems that there should be. Or it should come up on the current
font automatically, but it doesn't seem to do that as far as I can
tell.

Russ P.


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

* Re: setting font size
  2010-11-02 22:21       ` Russ P.
@ 2010-11-03  1:25         ` despen
  0 siblings, 0 replies; 5+ messages in thread
From: despen @ 2010-11-03  1:25 UTC (permalink / raw)
  To: help-gnu-emacs

"Russ P." <russ.paielli@gmail.com> writes:

> On Nov 2, 2:54 pm, des...@verizon.net wrote:
>> "Russ P." <russ.paie...@gmail.com> writes:
>> > On Nov 1, 6:50 pm, Jason Rumney <jasonrum...@gmail.com> wrote:
>> >> On Nov 2, 2:33 am, "Russ P." <russ.paie...@gmail.com> wrote:
>>
>> > Here is another little thing that bothers me about Emacs, and this one
>> > is probably my own little pecadillo. XEmacs has a nice little pull-
>> > down menu item for setting the font size directly. Emacs apparently
>> > does not have that, so I have to sit and try to guess how to do it. I
>> > knew a few weeks ago, but I forgot. But the point is, why should I
>> > have to remember? Why not just make it simple, as in XEmacs?
>>
>> Options->Set Default Font.
>>
>> You can pick the Font, Style and Size.
>
> Whoops! I don't know how I missed that!
>
> I'm still a bit confused. If I understand it correctly, I need to
> select both a font and a size. Is there a simple way to just change
> the size of the existing font without having to select it in the list?
> It seems that there should be. Or it should come up on the current
> font automatically, but it doesn't seem to do that as far as I can
> tell.

I think it does come up with the current font, provided you've
previously specified the font in a way it can understand.

What I've been using is:

      (set-default-font "10x20")

Emacs comes up with a menu that says "Sans" "Regular" "10"
so it doesn't have a clue.

10x20 is sans, but it's also bold (although not called bold) and
it's "20", not "10".

When I switch to "9x15bold", it still doesn't know anything changed.


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

end of thread, other threads:[~2010-11-03  1:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <b4b8ac45-dcbc-41df-ae14-8f5abc0a6c24@j2g2000yqf.googlegroups.com>
2010-11-02  1:50 ` setting font size Jason Rumney
2010-11-02 18:44   ` Russ P.
2010-11-02 21:54     ` despen
2010-11-02 22:21       ` Russ P.
2010-11-03  1:25         ` despen

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.