From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Davin Pearson" Newsgroups: gmane.emacs.help Subject: Re: Getting dired to list directories first in MSDOS Date: 26 Mar 2007 03:44:14 -0700 Organization: http://groups.google.com Message-ID: <1174905843.061152.211370@o5g2000hsb.googlegroups.com> References: <1174809945.584188.39510@e65g2000hsc.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1174909100 27538 80.91.229.12 (26 Mar 2007 11:38:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Mar 2007 11:38:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 26 13:38:12 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HVnWb-0004RX-Uo for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Mar 2007 13:38:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVnYq-0007J7-7K for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Mar 2007 06:40:28 -0500 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!o5g2000hsb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 71 Original-NNTP-Posting-Host: 60.234.164.158 Original-X-Trace: posting.google.com 1174905856 5413 127.0.0.1 (26 Mar 2007 10:44:16 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 26 Mar 2007 10:44:16 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.12) Gecko/20050919 Firefox/1.0.7,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: o5g2000hsb.googlegroups.com; posting-host=60.234.164.158; posting-account=Bn_6fA0AAAA1mf0ithIG_I4r1FOcs2it Original-Xref: shelby.stanford.edu gnu.emacs.help:146596 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42201 Archived-At: On Mar 26, 8:45 am, Eli Zaretskii wrote: > > From: "Davin Pearson" > > Date: 25 Mar 2007 01:05:45 -0700 > > > In GNU Emacs 20.5 (i386-pc-msdosdjgpp) > > of Sun Mar 19 2000 on pc > > configured using `configure -' > > > Please describe exactly what actions triggered the bug > > and the precise symptoms of the bug: > > > The following Lisp code puts directories first in NT-Emacs, > > where (insert (emacs-version)) equals: > > > GNU Emacs 21.3.1 (i386-mingw-nt5.1.2600) of 2004-03-11 on NYAUMO > > > My question is this: how do you get it to do the same thing under > > MSDOS Emacs? > > > (progn > > ;;; > > ;;; COOL!!!!!!!!!!! > > ;;; > > (setq ls-lisp-ignore-case t) > > (setq ls-lisp-dirs-first t) > > (safe-require 'ls-lisp) > > ) > > The answer is: the same as in NTEmacs, but you need to build Emacs > v21.x or later for MSDOS, since these ls-lisp options were not > available in Emacs 20.5 (which is what you have for MSDOS, see above). Thank you for your help. Where can I get myself a copy of V21.x or later compiled for MSDOS (i.e. DJGPP). It does not appear in the following folder: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/ I would rather not have to compile emacs from the sources if possible, as that would entail installing DJGPP not to mention the hassles in getting the C compiler to work. > > > How do you get pasting to work between Emacs and Mozilla and vice > > versa? (Note that I am using a DOS console. Cutting and pasting > > using NT Emacs works just fine. > > On what version of Windows do you run the MSDOS build? You cannot use > the Windows clipboard from the MSDOS Emacs on Windows NT, W2K, and XP > (and the rest of the NT family): the API that lets DOS programs access > the Windows clipboard is not available on those Windows versions. > Complain to Bill Gates. I am running Windows XP so that explains why it doesn't work. > > On Windows 9x, the Windows clipboard _is_ supported, and should work > as it does in the NTEmacs build: any C-w and M-w puts text into the > clipboard, and C-y/M-y examine the clipboard before the kill ring. > > > How do you get Dos Emacs to load the file $HOME/.emacs > > a.k.a ~/.emacs ? > > You need to call the file _emacs, not .emacs. (This is in the manual, > btw.) The reason is that DOS doesn't allow file names that begin with > a dot. Thank you for your knowledgable advice. I am running a web design course for high schools so this kind of help will benefit me immensely in knowing how to use Gnu free software.