From: Achim Gratz <Stromeko@NexGo.DE>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: emacs-24.3.93-1 [TEST]
Date: Tue, 19 Aug 2014 09:26:00 -0000 [thread overview]
Message-ID: <loom.20140819T112035-568@post.gmane.org> (raw)
In-Reply-To: <announce.53F1F088.40706@cornell.edu>
Ken Brown <kbrown <at> cornell.edu> writes:
> If you have installed both emacs-w32 and emacs-X11 and prefer to give
> higher priority to emacs-w32, run the script
>
> /usr/bin/set-emacs-default-w32.sh
>
> You can later restore emacs-X11 as the default by running
>
> /usr/bin/set-emacs-default-X11.sh
These scripts put the alternatives in manual mode, you might want to
actually change the priorities and stay in auto mode.
------->8-------
#!/bin/bash
case $0 in
*w32*) prio=25
;;
*X11*) prio=15
;;
esac
for x in emacs emacsclient
do
/usr/sbin/alternatives --install /usr/bin/${x} ${x}
/usr/bin/${x}-w32.exe $prio
/usr/sbin/alternatives --auto ${x}
done
--------8<-------
Regards,
Achim.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next prev parent reply other threads:[~2014-08-19 9:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-18 12:31 Ken Brown
2014-08-19 9:26 ` Achim Gratz [this message]
2014-08-19 14:22 ` Ken Brown
2014-08-21 5:08 ` Achim Gratz
2014-08-21 6:13 ` Peter Hull
2014-08-21 12:12 ` Achim Gratz
2014-08-21 13:58 ` Ken Brown
2014-08-21 14:06 ` Markus Hoenicka
2014-08-21 14:33 ` Ken Brown
2014-08-21 14:30 ` Achim Gratz
2014-08-21 14:48 ` Eli Zaretskii
2014-09-13 16:18 ` Ken Brown
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=loom.20140819T112035-568@post.gmane.org \
--to=stromeko@nexgo.de \
--cc=cygwin@cygwin.com \
/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).