unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Graham Smith" <myotisone@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: UK date format in Dired
Date: Fri, 26 Jan 2007 22:38:30 +0000	[thread overview]
Message-ID: <2c75873c0701261438l5e222fa9n33cc02fc781d579d@mail.gmail.com> (raw)
In-Reply-To: <714145E9-03DB-4CB7-BA5C-ADFA0706937B@Web.DE>


[-- Attachment #1.1: Type: text/plain, Size: 3200 bytes --]

Pete,

I can't say I follow all of this, but I don't think I have GNU installed and
as I understand it, I need this for this line of code to work.

Thanks for your help, maybe I will just live with it.

Graham

On 26/01/07, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
>
> Am 26.01.2007 um 21:41 schrieb Graham Smith:
>
> > Thanks, be fine and I have added this line to my .emacs , but it
> > has made no difference.
> >
> > Is the "locale" in the code the actual text or am I meant to
> > replace with a regional name eg "european"
>
> I remember a time on MS DOS or MS Windows where a shell interpreter
> was available, command.com, in its own window (or terminal). Maybe
> you have a similiar thing by hand. It should work to invoke 'ls --
> help' to see what the ls command understands. The GNU ls command I
> use in my Emacsen on Mac OS X tells me (usually in German, because I
> have the environment variable LANG set to some German value) that it
> accepts:
>
>    -a, --all                  do not ignore entries starting with .
>    -A, --almost-all           do not list implied . and ..
>    -B, --ignore-backups       do not list implied entries ending with ~
>    -D, --dired                generate output designed for Emacs'
> dired mode
>    -h, --human-readable       with -l, print sizes in human readable
> format
>                                 (e.g., 1K 234M 2G)
>        --si                   likewise, but use powers of 1000 not 1024
>    -l                         use a long listing format
>        --time-style=STYLE     with -l, show times using style STYLE:
>                               full-iso, long-iso, iso, locale, +FORMAT.
>                               FORMAT is interpreted like `date'; if
> FORMAT is
>                               FORMAT1<newline>FORMAT2, FORMAT1
> applies to
>                               non-recent files and FORMAT2 to recent
> files;
>                               if STYLE is prefixed with `posix-', STYLE
>                               takes effect only outside the POSIX locale
>
> And I tried exactly
>
>           '(dired-listing-switches "-alD --time-style=locale")
>
> in an UK based environment and it worked. 'ls --version' returns for
> me as first line
>
>         ls (GNU coreutils) 5.96
>
>
> If you do not have GNU ls available, then GNU Emacs uses some ls
> emulation. This one cannot be switched to display the date in some
> 'local' format.
>
>
> I have one (actually two) more thing(s) set:
>
>         (setq insert-directory-program "gls" dired-use-ls-dired t)
>
> This tells GNU Emacs to use GNU ls instead of a built-in or system ls
> command:
>
>         insert-directory-program is a variable defined in `files.el'.
>
>         Documentation:
>         Absolute or relative name of the `ls' program used by `insert-
> directory'.
>
>
>         dired-use-ls-dired is a variable defined in `dired.el'.
>
>         Documentation:
>         Non-nil means Dired should use `ls --dired'.
>
> Could be they are accessible via customisation ...
>
> --
> Greetings
>
>    Pete
>
> Encryption:  A powerful algorithmic encoding technique employed in
> the creation
>                       of computer manuals.
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 5966 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

  reply	other threads:[~2007-01-26 22:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3542.1169678575.2155.help-gnu-emacs@gnu.org>
2007-01-24 23:32 ` UK date format in Dired Harald Hanche-Olsen
2007-01-25  6:15   ` Graham Smith
2007-01-26  8:21     ` Eli Zaretskii
2007-01-26 18:55       ` Graham Smith
2007-01-26 20:16         ` Peter Dyballa
2007-01-26 20:41           ` Graham Smith
2007-01-26 22:14             ` Peter Dyballa
2007-01-26 22:38               ` Graham Smith [this message]
2007-01-27 10:36               ` Eli Zaretskii
2007-01-27 10:27           ` Eli Zaretskii
2007-01-27 11:21             ` Peter Dyballa
2007-01-27 11:34               ` Eli Zaretskii
2007-01-27  2:25 ` Tim X
2007-01-27  8:40   ` Graham Smith
2007-01-27 11:22     ` Eli Zaretskii
2007-01-24 22:42 Graham Smith

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=2c75873c0701261438l5e222fa9n33cc02fc781d579d@mail.gmail.com \
    --to=myotisone@gmail.com \
    --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).