This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: emacs 23



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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]