unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: Yuri D'Elia <wavexx@thregr.org>, emacs-devel@gnu.org
Subject: Re: Recent changes incorrectly calculate font size within daemon mode
Date: Thu, 30 Aug 2018 18:35:54 +0200	[thread overview]
Message-ID: <8736uvke1h.fsf@web.de> (raw)
In-Reply-To: <40b15ef4-3aa1-0e40-9887-f908ee4e281c@cs.ucla.edu> (Paul Eggert's message of "Thu, 30 Aug 2018 07:39:40 -0700")

Paul Eggert <eggert@cs.ucla.edu> writes:

> Michael Heerdegen wrote:
> > The problem is that (aref xlfd-fields xlfd-regexp-pixelsize-subnum)
> > returns nil which I guess is not correct.
>
> Thanks for this example. However, it relies on some stuff from Drew
> Adams that is not part of Emacs.

Yes, and I'm also not sure if this problem is related, though I guess it
could likely be.

> Can you please give a self-contained example of how to reproduce the
> problem? (If the first step is "download foo from bar", that's fine;
> however, I couldn't easily figure out how to download Adams's code
> from his wiki, as a page seems to be missing.)

Just install the "frame-fns" and "frame-cmds' Gnu Elpa packages.  Load
them in this order, then eval (enlarge-font 1).

> Also, what platform are you running on, and have you configured your
> fonts in any way?

(emacs-version) 
==>
"GNU Emacs 27.0.50 (build 15, x86_64-pc-linux-gnu, GTK+ Version
3.22.30)\n of 2018-08-29"

master build from today.  Debian Linux.  I have not configured fonts in
any way AFAICT.  Don't know much about this stuff.  I just noticed that
`enlarge-font' stopped working some days ago, and reverting to the
commit that has been mentioned made the problem go away.
`text-scale-adjust' works normally OTOH.

Anything else I can do?


Thanks,

Michael.



  reply	other threads:[~2018-08-30 16:35 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-29 10:29 Recent changes incorrectly calculate font size within daemon mode Yuri D'Elia
2018-08-29 11:05 ` Yuri D'Elia
2018-08-30 14:28   ` Paul Eggert
2018-08-30 14:59     ` Yuri D'Elia
2018-08-30 17:21       ` Paul Eggert
2018-08-30 17:43         ` Yuri D'Elia
2018-08-29 16:26 ` Michael Heerdegen
2018-08-30 14:39   ` Paul Eggert
2018-08-30 16:35     ` Michael Heerdegen [this message]
2018-08-30 17:27       ` Paul Eggert
2018-08-30 17:33         ` Michael Heerdegen
2018-08-30 19:07           ` Michael Heerdegen
2018-08-30 21:30             ` Paul Eggert
2018-08-30 21:51               ` Michael Heerdegen
2018-08-30 22:05               ` Yuri D'Elia
2018-08-31 17:31       ` Stefan Monnier
2018-08-31 19:45         ` Michael Heerdegen
2018-08-30 16:55     ` Drew Adams

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=8736uvke1h.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    --cc=wavexx@thregr.org \
    /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).