Re: Creating a desktop shortcut to Cygwin emacs

2024-02-22 Thread Brian Inglis via Cygwin

On 2024-02-22 12:44, David Karr via Cygwin wrote:

Every three years or so I have to set up a new laptop, and several things
that I only do in that period I either lose the notes on it, or something
has changed that I'm not aware of.

I'm installing Cygwin on a new laptop, version 3.5.0-1.x86_64. I had 3.4.6
on the old laptop.

My desktop shortcut on the old laptop goes to:

C:\cygwin64\bin\run2.exe --display 127.0.0.1:0.0 /usr/local/bin/emacs.xml

I tried to set this up on the new laptop, and I noticed that "run2" doesn't
exist, but "run" does. I tried just changing the command line to call "run"
instead, but that resulting command line doesn't appear to do anything. No
errors, just returns to the prompt and nothing happens.


Different program with different requirements - run is part of Base cygwin, 
installed by default, not a lot else is except for install requirements, 
{core,cyg,diff,find,ipc-}utils, util-linux, and ex/vi.


Package run2 has to be selected in Cygwin Setup, as does xinit to install the X 
server and run Cygwin GUI programs.



I tried googling for this, and I found a page on the EmacsWiki, but I can't
tell if that is up to date.


--
Take care. Thanks, Brian Inglis  Calgary, Alberta, Canada

La perfection est atteinte   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
-- Antoine de Saint-Exupéry

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Creating a desktop shortcut to Cygwin emacs

2024-02-22 Thread Henry S. Thompson via Cygwin
David Karr via Cygwin writes:

> Ok. I forgot I had to add that package.
>
> However, now there's another odd problem. The command line still doesn't
> start anything, but it does print an error message, saying that it can't
> find "/usr/local/bin/emacs.xml".  I can copy that file from the old laptop,
> but is that file supposed to be generated by something?

Don't remember, but here's my version, you should remove the 'x'

Use something like this as your target for an XEmacs shortcut target

  \C64\bin\run2.exe /usr/local/bin/cygxemacs.xml

And the following in cygxemacs.xml


http://www.w3.org/2001/XMLSchema-instance;
  xsi:noNamespaceSchemaLocation="run2.xsd">
  
  


  -l -c /usr/local/bin/xemacs-21.5-b35

  


ht
-- 
   Henry S. Thompson, School of Informatics, University of Edinburgh
10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND
   e-mail: h...@inf.ed.ac.uk
  URL: https://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Creating a desktop shortcut to Cygwin emacs

2024-02-22 Thread Ken Brown via Cygwin

[Please don't top post on this list.  Thanks.]

On 2/22/2024 4:23 PM, David Karr wrote:

Ok. I forgot I had to add that package.

However, now there's another odd problem. The command line still doesn't 
start anything, but it does print an error message, saying that it can't 
find "/usr/local/bin/emacs.xml".  I can copy that file from the old 
laptop, but is that file supposed to be generated by something?


It's not generated automatically.  There's a script 
/usr/bin/make-emacs-shortcut that you can run to create it.  See 
/usr/share/doc/emacs/README.Cygwin for details.  Or just copy it from 
your old computer.


Ken

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Creating a desktop shortcut to Cygwin emacs

2024-02-22 Thread David Karr via Cygwin
Ok. I forgot I had to add that package.

However, now there's another odd problem. The command line still doesn't
start anything, but it does print an error message, saying that it can't
find "/usr/local/bin/emacs.xml".  I can copy that file from the old laptop,
but is that file supposed to be generated by something?

On Thu, Feb 22, 2024 at 1:12 PM Ken Brown  wrote:

> On 2/22/2024 2:44 PM, David Karr via Cygwin wrote:
> > Every three years or so I have to set up a new laptop, and several things
> > that I only do in that period I either lose the notes on it, or something
> > has changed that I'm not aware of.
> >
> > I'm installing Cygwin on a new laptop, version 3.5.0-1.x86_64. I had
> 3.4.6
> > on the old laptop.
> >
> > My desktop shortcut on the old laptop goes to:
> >
> > C:\cygwin64\bin\run2.exe --display 127.0.0.1:0.0
> /usr/local/bin/emacs.xml
> >
> > I tried to set this up on the new laptop, and I noticed that "run2"
> doesn't
> > exist, but "run" does.
>
> The run2 package still exists:
>
>https://cygwin.com/packages/summary/run2.html
>
> Ken
>

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Creating a desktop shortcut to Cygwin emacs

2024-02-22 Thread Ken Brown via Cygwin

On 2/22/2024 2:44 PM, David Karr via Cygwin wrote:

Every three years or so I have to set up a new laptop, and several things
that I only do in that period I either lose the notes on it, or something
has changed that I'm not aware of.

I'm installing Cygwin on a new laptop, version 3.5.0-1.x86_64. I had 3.4.6
on the old laptop.

My desktop shortcut on the old laptop goes to:

C:\cygwin64\bin\run2.exe --display 127.0.0.1:0.0 /usr/local/bin/emacs.xml

I tried to set this up on the new laptop, and I noticed that "run2" doesn't
exist, but "run" does.


The run2 package still exists:

  https://cygwin.com/packages/summary/run2.html

Ken

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple