all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emilio Lopes <eclig@gmx.net>
Cc: Peter_Dyballa@Web.DE
Subject: Re: [Peter_Dyballa@Web.DE: popd in tcsh fails]
Date: Tue, 23 Aug 2005 20:02:52 +0200	[thread overview]
Message-ID: <ssy86s7cqb.fsf@tiscali.de> (raw)
In-Reply-To: E1E7Nav-00058y-Ry@fencepost.gnu.org

Richard Stallman writes:

> Can someone please look at this, then ack to me?

I started Emacs with this command:

   ./src/emacs --no-init-file --no-site-file -l ~/tcsh-init.el

The file ~/tcsh-init.el contains the following:

   (setq shell-file-name "tcsh")
   (setenv "SHELL" shell-file-name)
   (setq explicit-shell-file-name shell-file-name)

   (setq comint-completion-recexact t)
   (setq comint-input-ignoredups t)
   (setq comint-input-ring-file-name ".emacs.d/foo_history")
   (setq comint-prompt-regexp "^[a-z]+ [0-9]+ /\\\\ ")
   (setq comint-use-prompt-regexp nil)
   (setq shell-cd-regexp "[cp]d")
   (setq shell-dirtrack-verbose nil)
   (setq shell-pushd-regexp "p(ush|)d")


The first three lines are there to convince shell-mode to start `tcsh'
as the default shell.  The rest are variables customized by original
bug reporter.

My first test was to issue a "pushd /etc" and see if a "C-x C-f" would
offer me that directory as the default one.  Test failed.  Emacs is
not even recognizing "pushd"s.

So I noted that the customization of `shell-pushd-regexp' (see above)
is bogus.  I changed that to

   (setq shell-pushd-regexp "p\\(ush\\|\\)d")

and tried some "pushd"s and "popd"s again.  Emacs seems to correctly
keep track of the working directory now.

The problem was not tcsh specific AFAICT. 

  reply	other threads:[~2005-08-23 18:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-23  1:28 [Peter_Dyballa@Web.DE: popd in tcsh fails] Richard Stallman
2005-08-23 18:02 ` Emilio Lopes [this message]
2005-08-23 18:41   ` Emilio Lopes
2005-08-24 10:32   ` Richard M. Stallman
2005-08-23 18:48 ` Fwd: popd in tcsh fails Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2005-08-08 13:22 [Peter_Dyballa@Web.DE: popd in tcsh fails] Dhruva Krishnamurthy (RBIN/EDI3) *
2005-08-08 13:50 ` David Kastrup
2005-08-08 13:57 ` Peter Dyballa
2005-08-08 12:09 Richard Stallman
2005-07-24 21:14 Richard M. Stallman

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

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

  git send-email \
    --in-reply-to=ssy86s7cqb.fsf@tiscali.de \
    --to=eclig@gmx.net \
    --cc=Peter_Dyballa@Web.DE \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.