[Top][All Lists]

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

pushd in shell makes mistakes

From: Peter Dyballa
Subject: pushd in shell makes mistakes
Date: Sat, 9 Apr 2005 13:21:35 +0200


In .emacs I have these settings with shell and comint:

         '(comint-completion-recexact t)
         '(comint-input-ignoredups t)
         '(comint-prompt-regexp "^[a-z]+ [0-9]+ /\\\\ " t)
         '(shell-cd-regexp "[cp]d")
         '(shell-dirtrack-verbose nil)
         '(shell-prompt-pattern "^[a-z]+ [0-9]+ /\\\\ ")
         '(shell-pushd-dextract t)
         '(shell-pushd-dunique t)
         '(shell-pushd-regexp "p{ush,}d")
         '(shell-pushd-tohome t)

and my prompt looks like this:

        pete 1294 /\

'pd <some name>' or 'pd ..' seem to work well, but a 'pd +<number>' is not tracked, i.e. I cd in shell into that directory of course, but when I invoke at that state dired it chooses to show the last working directory's contents, the one before 'pd +<number>'ing that I have to explicitly invoke M-x dirs to 'communicate' that new state.

In GNU Emacs (powerpc-apple-darwin7.8.0, X toolkit, Xaw3d scroll bars)
 of 2005-04-02 on localhost
Distributor `The XFree86 Project, Inc', version 11.0.40300000
configured using `configure '--without-carbon' '--with-x' '--without-pop' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-png' '--with-gif' '--with-x-toolkit=lucid' 'CFLAGS=-I/sw/include' 'CPPFLAGS=-I/sw/include' 'LDFLAGS=-L/sw/lib''

Important settings:
  value of $LC_ALL: de_DE.UTF-8
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: de_DE.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Shell

Minor modes in effect:
  TeX-PDF-mode: t
  desktop-save-mode: t
  auto-compression-mode: t
  display-time-mode: t
  mouse-sel-mode: t
  show-paren-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-decoding-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

  Pete       (:
        _    / __    -    -
      _/ \__/_/        -     -
     (´`)      (´`)   -    -
      `´        `´

reply via email to

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