unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Shiyuan <gshy2014@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: emacsclient font lock problem
Date: Wed, 24 Jun 2020 12:27:14 -0700	[thread overview]
Message-ID: <CAOm4EMuhDj1Y7iQ-X3Zf-56548ZiTm9JppFRnGeef5vALhNpRw@mail.gmail.com> (raw)

Hi,
    I am on GNU-emacs 24.5. I notice a problem when using emacsclient: When
a computer wakes up from asleep, the font-lock-fontify-buffer doesn't run
automatically. The result is that the buffer is not correctly fontified
based on  grammar and I have to manually run the font-lock-fontify-buffer
command. Restarting the emacs server also resolves the problem. But It's
annoying to restart everything everytime the computer wakes up from
asleep.  I suspect some connection fails to re-establish when the computer
wakes up, but I don't understand what connections ---except the
fonitication, emacsclient seems to work well.   Also,  Is there  a way to
fix the problem without restarting the server.  Thank you!


                 reply	other threads:[~2020-06-24 19:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAOm4EMuhDj1Y7iQ-X3Zf-56548ZiTm9JppFRnGeef5vALhNpRw@mail.gmail.com \
    --to=gshy2014@gmail.com \
    --cc=help-gnu-emacs@gnu.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.
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).