[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting dired to list directories first in MSDOS

From: Eli Zaretskii
Subject: Re: Getting dired to list directories first in MSDOS
Date: Sun, 25 Mar 2007 22:45:34 +0200

> From: "Davin Pearson" <address@hidden>
> 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).

> 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.

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]