public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* [ANNOUNCEMENT] emacs 27.1-1
@ 2020-08-11 16:48 Ken Brown via Cygwin-announce
  2020-08-15 15:07 ` Achim Gratz
  0 siblings, 1 reply; 6+ messages in thread
From: Ken Brown via Cygwin-announce @ 2020-08-11 16:48 UTC (permalink / raw)
  To: cygwin

The following packages have been uploaded to the Cygwin distribution:

* emacs-27.1-1
* emacs-common-27.1-1
* emacs-X11-27.1-1
* emacs-w32-27.1-1
* emacs-lucid-27.1-1

Emacs is a powerful, customizable, self-documenting, modeless text
editor.  Emacs contains special code editing features, a scripting
language (elisp), and the capability to read mail, news, and more
without leaving the editor.

This is an update to the latest upstream release.  Browse the NEWS
file ('C-h n' within emacs) for changes since the last release.

CYGWIN NOTES
============

1. The emacs, emacs-w32, emacs-X11, and emacs-lucid packages each
   provide an emacs binary.  These are emacs-nox.exe, emacs-w32.exe,
   emacs-X11.exe, and emacs-lucid.exe, respectively, in order of
   increasing priority.  The postinstall scripts create a symlink
   /usr/bin/emacs that resolves to the highest-priority binary that
   you have installed.  Thus the command 'emacs' will start
   emacs-lucid.exe if you've installed the emacs-lucid package;
   otherwise, it will start emacs-X11.exe if you've installed
   emacs-X11; otherwise, it will start emacs-w32.exe if you've
   installed emacs-w32; otherwise, it will start emacs-nox.exe if
   you've installed emacs.  Similar remarks apply to emacsclient.

   You only need to install one of these four packages, but you can
   install more if you want.  If you have installed more than one and
   don't like the default resolution of /usr/bin/emacs, you can run
   one of the /usr/bin/set-emacs-default-*.sh scripts to change it.
   For example,

     /usr/bin/set-emacs-default-w32.sh

   will make /usr/bin/emacs resolve to /usr/bin/emacs-w32.exe,
   regardless of which packages you've installed.

2. The emacs-common package contains the files that are needed by all
   four of the binary packages mentioned above.  It also contains the
   elisp source files, which used to be in a separate (now obsolete)
   emacs-el package.

3. Install emacs-X11 if you want to use the X11 GUI with the GTK+
   toolkit.  (This is the default toolkit.)  You can then type
   'emacs&' in an xterm window, and emacs-X11.exe will start in a new
   window.  If you prefer the Lucid toolkit, install emacs-lucid
   instead.

4. Install emacs-w32 if you want to use the native Windows GUI instead
   of X11.

5. If you use the Emacs MH-E library for email, consider installing
   Cygwin's mailutils-mh package.  To use it, put the line

     (load "mailutils-mh")

   in your site-start.el or ~/.emacs file.

6. If you have sshd running and want to be able to run emacs-X11 from
   a remote machine, you need to enable X11 forwarding by adding the
   following line to /etc/sshd_config:

     X11Forwarding yes

   You might also need to have the cygserver service running.

7. The script /usr/bin/make-emacs-shortcut can be used to create a
   shortcut for starting emacs.  See
   /usr/share/doc/emacs/README.Cygwin for details.

Ken Brown
Cygwin's Emacs maintainer

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

* Re: [ANNOUNCEMENT] emacs 27.1-1
  2020-08-11 16:48 [ANNOUNCEMENT] emacs 27.1-1 Ken Brown via Cygwin-announce
@ 2020-08-15 15:07 ` Achim Gratz
  2020-08-15 21:26   ` Ken Brown
  2020-08-16  6:06   ` ASSI
  0 siblings, 2 replies; 6+ messages in thread
From: Achim Gratz @ 2020-08-15 15:07 UTC (permalink / raw)
  To: cygwin

Ken Brown via Cygwin-announce writes:
> The following packages have been uploaded to the Cygwin distribution:
>
> * emacs-27.1-1
> * emacs-common-27.1-1
> * emacs-X11-27.1-1
> * emacs-w32-27.1-1
> * emacs-lucid-27.1-1

This release seems to have a serious performance regression when using
diff-mode on large diffs with long lines (e.g. created by comparing the
logs of two compilations), especially when combined with
toggle-truncate-lines.  Emacs becomes unresponsive with 100% CPU load
when scrolling fast, sometimes for several seconds.  The CPU time seems
to be spent in redisplay().


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

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

* Re: [ANNOUNCEMENT] emacs 27.1-1
  2020-08-15 15:07 ` Achim Gratz
@ 2020-08-15 21:26   ` Ken Brown
  2020-08-16  6:14     ` ASSI
  2020-08-16  6:06   ` ASSI
  1 sibling, 1 reply; 6+ messages in thread
From: Ken Brown @ 2020-08-15 21:26 UTC (permalink / raw)
  To: cygwin

On 8/15/2020 11:07 AM, Achim Gratz wrote:
> Ken Brown via Cygwin-announce writes:
>> The following packages have been uploaded to the Cygwin distribution:
>>
>> * emacs-27.1-1
>> * emacs-common-27.1-1
>> * emacs-X11-27.1-1
>> * emacs-w32-27.1-1
>> * emacs-lucid-27.1-1
> 
> This release seems to have a serious performance regression when using
> diff-mode on large diffs with long lines (e.g. created by comparing the
> logs of two compilations), especially when combined with
> toggle-truncate-lines.  Emacs becomes unresponsive with 100% CPU load
> when scrolling fast, sometimes for several seconds.  The CPU time seems
> to be spent in redisplay().

emacs has long had problems with slow redisplay in files with long lines.  See, 
for example,

   https://debbugs.gnu.org/cgi/bugreport.cgi?bug=13675

and all the bugs that have been merged with it.  One suggestion I've seen 
recently is to try so-long-mode.  Does that help?

Do you have reason to think this is Cygwin-specific?  If so, it might be related 
to the new pty code.  Does it help to set CYGWIN=disable_pcon before starting 
any Cygwin processes? (*)

Finally, does it matter which version of the emacs binary you use (emacs-w32, 
emacs-X11,...)?

Ken

(*) Alternatively, if you don't mind building your own cygwin1.dll, you could 
try Takashi's new version of the pty code:

   https://cygwin.com/pipermail/cygwin-developers/2020-August/011941.html

I've seen dramatic speedups with this patch installed, though not specifically 
with emacs.

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

* Re: [ANNOUNCEMENT] emacs 27.1-1
  2020-08-15 15:07 ` Achim Gratz
  2020-08-15 21:26   ` Ken Brown
@ 2020-08-16  6:06   ` ASSI
  1 sibling, 0 replies; 6+ messages in thread
From: ASSI @ 2020-08-16  6:06 UTC (permalink / raw)
  To: cygwin

Achim Gratz writes:
> This release seems to have a serious performance regression when using
> diff-mode on large diffs with long lines (e.g. created by comparing the
> logs of two compilations), especially when combined with
> toggle-truncate-lines.  Emacs becomes unresponsive with 100% CPU load
> when scrolling fast, sometimes for several seconds.  The CPU time seems
> to be spent in redisplay().

I've finally dug out the respoinsible change in NEWS.  It turns out this
is the fallout from a new default: a customization named diff-refine has
come into existence and its default is 'font-lock.  Set it to either nil
to never refine automatically or the select the old behaviour with
'navigate and the scrolling works much better now.  It still feels a tad
slower than it were, but that might well be due to some other changes to
how diff-mode fontifies.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

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

* Re: [ANNOUNCEMENT] emacs 27.1-1
  2020-08-15 21:26   ` Ken Brown
@ 2020-08-16  6:14     ` ASSI
  2020-08-16 12:38       ` Achim Gratz
  0 siblings, 1 reply; 6+ messages in thread
From: ASSI @ 2020-08-16  6:14 UTC (permalink / raw)
  To: cygwin

Ken Brown via Cygwin writes:
> emacs has long had problems with slow redisplay in files with long
> lines.  See, for example,
>
>   https://debbugs.gnu.org/cgi/bugreport.cgi?bug=13675
>
> and all the bugs that have been merged with it.  One suggestion I've
> seen recently is to try so-long-mode.  Does that help?

It might even have one or two of my own bug reports in there.  :-)

I haven't tried so-long-mode (it seems to have become available only
with emacs-27), but it appears from its description that it would also
DTRT in my particular case.

> Do you have reason to think this is Cygwin-specific?  If so, it might
> be related to the new pty code.  Does it help to set
> CYGWIN=disable_pcon before starting any Cygwin processes? (*)

I never use the console and I have seen exactly the same problem in
emacs-X11 (with DISPLAY on a Linux box) and emacs-nox (both over ssh an
in mintty locally).  I don't have another system with emacs-27 yet, but
I expect that to be unrelated to Cygwin.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf Blofeld V1.15B11:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

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

* Re: [ANNOUNCEMENT] emacs 27.1-1
  2020-08-16  6:14     ` ASSI
@ 2020-08-16 12:38       ` Achim Gratz
  0 siblings, 0 replies; 6+ messages in thread
From: Achim Gratz @ 2020-08-16 12:38 UTC (permalink / raw)
  To: cygwin

ASSI writes:
> I haven't tried so-long-mode (it seems to have become available only
> with emacs-27), but it appears from its description that it would also
> DTRT in my particular case.

Now that I did try it: so-long-mode doesn't recognize the file I'm
testing it with aas problematic apparently.  But I guess I'll have to
dig a bit deeper to see if that's what's happening or if it is something
else.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs

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

end of thread, other threads:[~2020-08-16 12:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-11 16:48 [ANNOUNCEMENT] emacs 27.1-1 Ken Brown via Cygwin-announce
2020-08-15 15:07 ` Achim Gratz
2020-08-15 21:26   ` Ken Brown
2020-08-16  6:14     ` ASSI
2020-08-16 12:38       ` Achim Gratz
2020-08-16  6:06   ` ASSI

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).