unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "zentrope@fastmail.fm" <keith@zentrope.com>
To: Alan Third <alan@idiocy.org>
Cc: 31904@debbugs.gnu.org
Subject: bug#31904: scatch/ns-drawing
Date: Sat, 18 Aug 2018 12:23:02 -0700	[thread overview]
Message-ID: <776614A2-36FE-498B-81A1-F8B5ADC7FF88@zentrope.com> (raw)
In-Reply-To: <6ACE4FB3-7829-40AB-A79D-24D44C08A833@zentrope.com>

Another wrinkle (emacs-26 with patch applied):

When I change my font, all the text disappears except for the current line.

The text comes back if:

- I move the cursor over the affected areas.
- I wait a bit (from the cursor line down renders).
- Switch away to a non-Emacs window.

Seems like as soon as there’s a reason to paint the screen, it comes back.

Functions I use:

(defun kfi/set-font (name weight)
  "Set a font to NAME and its WEIGHT."
  (set-face-attribute 'default nil :family name :weight weight))

(defun kfi/heavy-font ()
  "Change to a heavy font."
  (interactive)
  (kfi/set-font "Monaco" 'normal))

(defun kfi/normal-font ()
  "Change to a normal font."
  (interactive)
  (kfi/set-font "Menlo" 'normal))








  reply	other threads:[~2018-08-18 19:23 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-19 23:09 bug#31904: 27.0.50; Emacs doesn't render text/modeline Mac OSX 10.14 Mojave zentrope@fastmail.fm
2018-06-20 19:00 ` Alan Third
     [not found] ` <handler.31904.B.152945065229583.ack@debbugs.gnu.org>
2018-06-20 21:32   ` bug#31904: Acknowledgement (27.0.50; Emacs doesn't render text/modeline Mac OSX 10.14 Mojave) zentrope@fastmail.fm
2018-08-15 23:54 ` bug#31904: scatch/ns-drawing zentrope@fastmail.fm
2018-08-18 14:02   ` Alan Third
2018-08-18 18:56     ` zentrope@fastmail.fm
2018-08-18 19:16       ` zentrope@fastmail.fm
2018-08-18 19:23         ` zentrope@fastmail.fm [this message]
2018-08-19  9:59           ` Alan Third
2018-08-19 23:51             ` zentrope@fastmail.fm
2018-08-26 13:02               ` Alan Third
2018-08-19 12:41         ` Alan Third
2018-08-19 23:44           ` zentrope@fastmail.fm
2018-09-19 16:36 ` bug#31904: bug##31904 Zack Piper
2019-09-28 17:54 ` bug#31904: scatch/ns-drawing Stefan Kangas
2019-09-28 21:14   ` Alan Third

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=776614A2-36FE-498B-81A1-F8B5ADC7FF88@zentrope.com \
    --to=keith@zentrope.com \
    --cc=31904@debbugs.gnu.org \
    --cc=alan@idiocy.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).