[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M-x shell question
From: |
Uwe Brauer |
Subject: |
Re: M-x shell question |
Date: |
Wed, 17 Aug 2016 19:04:18 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
>>> "raman" == raman <address@hidden> writes:
> Richard Stallman <address@hidden> writes:
> 1+ -- I implemented myself a different shell command specifically for
> this case and bound it to a key:
That function depends on emacspeak, why?
> (defun emacspeak-wizards-shell-toggle () > "Switch to the shell
buffer and cd to
> the directory of the current buffer."
> (interactive)
> (declare (special default-directory))
What is this declare call good for?
> (let ((dir default-directory))
> (shell)
> (unless (string-equal (expand-file-name dir)
> (expand-file-name default-directory))
> (goto-char (point-max))
> (insert (format "pushd %s" dir))
> (comint-send-input)
> (shell-process-cd dir))
> (emacspeak-auditory-icon 'select-object)
> (emacspeak-speak-mode-line)))
- M-x shell question, Richard Stallman, 2016/08/17
- Re: M-x shell question, raman, 2016/08/17
- Re: M-x shell question,
Uwe Brauer <=
- Re: M-x shell question, Richard Stallman, 2016/08/18
- Fwd: M-x shell question, Kaushal Modi, 2016/08/18
- Re: Fwd: M-x shell question, Richard Stallman, 2016/08/19
- Re: Fwd: M-x shell question, Kaushal Modi, 2016/08/19
- Re: Fwd: M-x shell question, Eli Zaretskii, 2016/08/19
- Re: Fwd: M-x shell question, Robert Weiner, 2016/08/19
- Re: Fwd: M-x shell question, Kaushal Modi, 2016/08/19
- Re: Fwd: M-x shell question, Robert Weiner, 2016/08/19
- Re: Fwd: M-x shell question, Kaushal Modi, 2016/08/19