unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Getting dired to list directories first in MSDOS
Date: Sun, 25 Mar 2007 22:45:34 +0200	[thread overview]
Message-ID: <umz219hn5.fsf@gnu.org> (raw)
In-Reply-To: <1174809945.584188.39510@e65g2000hsc.googlegroups.com> (davin.pearson@gmail.com)

> From: "Davin Pearson" <davin.pearson@gmail.com>
> 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.

  parent reply	other threads:[~2007-03-25 20:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-25  8:05 Getting dired to list directories first in MSDOS Davin Pearson
2007-03-25 13:49 ` Drew Adams
2007-03-25 20:45 ` Eli Zaretskii [this message]
     [not found] ` <mailman.1420.1174855678.7795.help-gnu-emacs@gnu.org>
2007-03-26 10:44   ` Davin Pearson
2007-03-26 21:02     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=umz219hn5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).