unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "A. Soare" <alinsoar@voila.fr>
To: Glenn Morris <rgm@gnu.org>
Subject: bug#3846: *shell-mode* error
Date: Wed, 15 Jul 2009 10:39:37 +0200 (CEST)	[thread overview]
Message-ID: <13944604.7879901247647177788.JavaMail.www@wwinf4634> (raw)


Thanks.

I cannot reproduce the bug today, but it happened to me many times, and it will happen again. I will report in detail.




> tags 3864 moreinfo
> stop
> 
> "A. Soare" wrote:
> 
> > On the contrary, when I memorize the current directory (X) using
> > pushd, then I make cd <new_dir>, then I execute popd, the
> > *Completion* buffer will show the files from the directory
> > <new_dir>, even I executed in the meantime popd. It should have
> > displayed the files from X...
> 
> The precise recipe is missing, but the following sequence:
> 
> emacs -Q -f shell
> cd /tmp
> pushd
> 
> is not a valid sequence in the bash shell, because pushd with no
> arguments exchanges the top two elements in the directory stack, and
> the directory stack is empty at this point.
> 
> This on the other hand works fine, as it should:
> 
> emacs -Q -f shell
> cd /tmp
> pushd /usr
> cd bin
> popd
> 
> 
> If you are using tcsh with pushdtohome set, you want to set
> shell-pushd-tohome.
> 
> You need to provide a recipe from emacs -Q that says what the problem
> is, what your shell is, and any relevant shell options you have set.
> 
> 

____________________________________________________

Le week-end sera pluvieux ? Quel dommage !... Mais pas de panique le nouveau Guide TV de Voila est là  http://tv.voila.fr







             reply	other threads:[~2009-07-15  8:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-15  8:39 A. Soare [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-07-14 14:34 bug#3846: *shell-mode* error A. Soare
2009-07-14 18:03 ` Glenn Morris
2011-07-11 19:51   ` Glenn Morris

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=13944604.7879901247647177788.JavaMail.www@wwinf4634 \
    --to=alinsoar@voila.fr \
    --cc=3846@emacsbugs.donarmstrong.com \
    --cc=rgm@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.
Code repositories for project(s) associated with this public inbox

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

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