www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/13/14:25:21

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <23526801.post@talk.nabble.com>
Date: Wed, 13 May 2009 11:25:00 -0700 (PDT)
From: Marc Girod <marc DOT girod AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: emacs 23
In-Reply-To: <4A0B04F9.7090005@cornell.edu>
MIME-Version: 1.0
References: <23523466 DOT post AT talk DOT nabble DOT com> <4A0AE529 DOT 2000506 AT cornell DOT edu> <23524451 DOT post AT talk DOT nabble DOT com> <4A0AEF5D DOT 7000803 AT cornell DOT edu> <23526019 DOT post AT talk DOT nabble DOT com> <4A0B04F9 DOT 7090005 AT cornell DOT edu>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com


Ken Brown-6 wrote:
> 
> Then go to /etc/postinstall and run the postinstall scripts emacs.sh and 
> emacs-X11.sh.  (This is for the alternatives setup.)
> 
Two more requirements:
- desktop-file-utils
- shared-mime-info

I get:

postinstall> ./emacs.sh
./emacs.sh: line 9: /usr/bin/update-desktop-database: Permission denied
./emacs.sh: line 10: /usr/bin/update-mime-database: Permission denied
postinstall> ll /usr/bin/update-desktop-database.exe
-rwxr-xr-x 1 emagiro root 33792 Nov 12  2004
/usr/bin/update-desktop-database.exe
postinstall> ll emacs.sh
-rwxr-xr-x 1 emagiro EEI-ATusers 241 Apr 23 15:24 emacs.sh
postinstall> ll /usr/bin/update-mime-database.exe
-rwxr-xr-x 1 emagiro root 31744 May  3  2006
/usr/bin/update-mime-database.exe

Anyway, I already hardlinked emacs-X11 by hand:

postinstall> ll -d /usr/bin/emacs*
-rwxr-xr-x 2 emagiro EEI-ATusers 15838208 Apr 23 15:25
/usr/bin/emacs-X11.exe
-rwxr-xr-x 1 emagiro EEI-ATusers 15408128 Apr 23 15:24
/usr/bin/emacs-nox.exe
-rwxr-xr-x 2 emagiro EEI-ATusers 15838208 Apr 23 15:25 /usr/bin/emacs.exe
-rwxr-xr-x 1 emagiro EEI-ATusers    20480 Apr 23 15:25
/usr/bin/emacsclient.exe

But I try... and bingo! It works, and even solves my dired problem.
Now, there are some problems with the fonts...

I have some holes, and otherwise hardly readable text...

list-fontsets gives:

Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default
Fontset: -*-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-standard
Fontset:
-b&h-lucidatypewriter-medium-r-normal-sans-11-*-100-100-m-70-fontset-startup

My startup script:

log> cat /Emacs.bat
@echo off

C:
chdir C:\cygwin2\bin

bash --login -c "/usr/bin/startx /usr/bin/emacs -fn lucidasanstypewriter-8
-g 80x43+88+69 -- /usr/bin/X :0 -multiwindow -clipboard"

Marc
-- 
View this message in context: http://www.nabble.com/insert-directory-function-in-Gnu-emacs-returns-nil-tp23523466p23526801.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019