all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
To: Alan Third <alan@idiocy.org>
Cc: Anders Lindgren <andlind@gmail.com>,
	Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Redisplay: NS port, high CPU load
Date: Thu, 9 Jun 2016 06:12:39 +1000	[thread overview]
Message-ID: <7B0CAF99-689D-4128-8E33-7D9BA8F1823E@gmail.com> (raw)
In-Reply-To: <20160608195552.GA66865@breton.holly.idiocy.org>

On Jun 9, 2016, at 5:55 AM, Alan Third <alan@idiocy.org> wrote:

> Does the Aquamacs toolbar use different images or something, or is it
> identical to the GNU Emacs one?

No it uses different images and provides a different set of commands.

The offending item seems to be revert-buffer.  Indeed, if in disabled state, updates go on and on.  As soon as you modify the buffer, it’s enabled, and updates stop.  Here’s the entry from tool-bar-map:

(revert-buffer menu-item "Revert Buffer" revert-buffer :enable
		(or
		 (not
		  (eq revert-buffer-function 'revert-buffer--default))
		 (not
		  (eq revert-buffer-insert-file-contents-function 'revert-buffer-insert-file-contents--default-function))
		 (and buffer-file-number
		      (or
		       (and buffer-file-name
			    (file-remote-p buffer-file-name))
		       (buffer-modified-p)
		       (not
			(verify-visited-file-modtime
			 (current-buffer))))))
		:help "Re-read current buffer from its file" :image
		(image :type png :file "/Users/dr/emacs/nextstep/Aquamacs.app/Contents/Resources/etc/images/update.tiff" :background "grey" :mask heuristic)
		:label "Revert")




  reply	other threads:[~2016-06-08 20:12 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-08  6:04 Redisplay: NS port, high CPU load David Reitter
2016-06-08  7:50 ` Anders Lindgren
2016-06-08 10:44   ` David Reitter
2016-06-08 19:55     ` Alan Third
2016-06-08 20:12       ` David Reitter [this message]
2016-06-09  1:03         ` David Reitter
2016-06-09  8:22           ` David Reitter
2016-06-09  9:25             ` Anders Lindgren
2016-06-09 13:04               ` David Reitter
2016-06-09 14:11                 ` Anders Lindgren
2016-06-09 18:03                   ` David Reitter
2016-06-09 18:52                     ` Anders Lindgren
2016-06-09 23:03                       ` David Reitter
2016-06-10  6:02                         ` Anders Lindgren
2016-06-10  8:16                           ` David Reitter
2016-06-10  9:34                             ` Eli Zaretskii
2016-06-10  9:46                               ` David Reitter
2016-06-10 10:22                                 ` Eli Zaretskii
2016-06-10 10:36                                   ` David Reitter
2016-06-13 18:44                                     ` Anders Lindgren
2016-06-13 19:16                                       ` Eli Zaretskii
2016-06-14 12:07                                         ` David Reitter
2016-06-14 17:02                                           ` Eli Zaretskii
2016-06-15  3:55                                           ` Stefan Monnier
2016-06-14 11:50                                       ` David Reitter

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7B0CAF99-689D-4128-8E33-7D9BA8F1823E@gmail.com \
    --to=david.reitter@gmail.com \
    --cc=alan@idiocy.org \
    --cc=andlind@gmail.com \
    --cc=emacs-devel@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.
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.