public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* [ANNOUNCEMENT] emacs 27.2-1
@ 2021-03-27 13:37 Ken Brown via Cygwin-announce
  2021-04-02 13:42 ` Oleksandr Gavenko
  0 siblings, 1 reply; 3+ messages in thread
From: Ken Brown via Cygwin-announce @ 2021-03-27 13:37 UTC (permalink / raw)
  To: cygwin

The following packages have been uploaded to the Cygwin distribution:

* emacs-27.2-1
* emacs-common-27.2-1
* emacs-X11-27.2-1
* emacs-w32-27.2-1
* emacs-lucid-27.2-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.  It is a bugfix
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] 3+ messages in thread

* Re: [ANNOUNCEMENT] emacs 27.2-1
  2021-03-27 13:37 [ANNOUNCEMENT] emacs 27.2-1 Ken Brown via Cygwin-announce
@ 2021-04-02 13:42 ` Oleksandr Gavenko
  2021-04-02 13:50   ` Ken Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Oleksandr Gavenko @ 2021-04-02 13:42 UTC (permalink / raw)
  To: cygwin

On 2021-03-27, Ken Brown via Cygwin-announce via Cygwin wrote:

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

/usr/bin/make-emacs-shortcut has:

  mkshortcut --desc="Emacs" \
    --icon="/usr/bin/emacs.ico" \
    --arguments="--display 127.0.0.1:0.0 ${XMLFILE}" \
    --name="emacs" \
    /usr/bin/run2.exe

What is /usr/bin/run2.exe? I don't have it on my system.

PS I'm using:

  cygstart --action=runas run emacs-w32

with Windows developer mode on to avoid console window ("run" utility) and
elevated ("cygstart --action=runas") to be able to edit
$WINDIR/system32/etc/hosts from Emacs (otherwise I have to launch elevated
Notepad xD).

-- 
http://defun.work/


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

* Re: [ANNOUNCEMENT] emacs 27.2-1
  2021-04-02 13:42 ` Oleksandr Gavenko
@ 2021-04-02 13:50   ` Ken Brown
  0 siblings, 0 replies; 3+ messages in thread
From: Ken Brown @ 2021-04-02 13:50 UTC (permalink / raw)
  To: cygwin

On 4/2/2021 9:42 AM, Oleksandr Gavenko via Cygwin wrote:
> On 2021-03-27, Ken Brown via Cygwin-announce via Cygwin wrote:
> 
>> 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.
> 
> /usr/bin/make-emacs-shortcut has:
> 
>    mkshortcut --desc="Emacs" \
>      --icon="/usr/bin/emacs.ico" \
>      --arguments="--display 127.0.0.1:0.0 ${XMLFILE}" \
>      --name="emacs" \
>      /usr/bin/run2.exe
> 
> What is /usr/bin/run2.exe? I don't have it on my system.

It's in the run2 package.  See item 6 in /usr/share/doc/emacs/README.Cygwin.

Ken

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

end of thread, other threads:[~2021-04-02 13:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-27 13:37 [ANNOUNCEMENT] emacs 27.2-1 Ken Brown via Cygwin-announce
2021-04-02 13:42 ` Oleksandr Gavenko
2021-04-02 13:50   ` Ken Brown

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