[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]
Re: listing the most user friendly apps with emacspeak.
- To: Steve Holmes <steve@xxxxxxxxxxx>
- Subject: Re: listing the most user friendly apps with emacspeak.
- From: Lukas Loehrer <listaddr1@xxxxxxxxxxx>
- Date: Thu, 26 Oct 2006 11:31:44 +0200
- Delivered-To: priestdo@xxxxxxxxxxx
- Delivered-To: emacspeak@xxxxxxxxxxx
- In-Reply-To: <20061025173417.GA6848@xxxxxxxxxxx>
- List-Help: <mailto:emacspeak-request@xxxxxxxxxxx?subject=help>
- List-Post: <mailto:emacspeak@xxxxxxxxxxx>
- List-Subscribe: <mailto:emacspeak-request@xxxxxxxxxxx?subject=subscribe>
- List-Unsubscribe: <mailto:emacspeak-request@xxxxxxxxxxx?subject=unsubscribe>
- Old-Return-Path: <listaddr1@xxxxxxxxxxx>
- Reply-To: listaddr1@xxxxxxxxxxx
- Resent-Date: Thu, 26 Oct 2006 05:31:49 -0400 (EDT)
- Resent-From: emacspeak@xxxxxxxxxxx
- Resent-Message-ID: <1Ns4JB.A.VtD.FCIQFB@xxxxxxxxxxx>
- Resent-Sender: emacspeak-request@xxxxxxxxxxx
Steve Holmes writes ("Re: listing the most user friendly apps with emacspeak."):
> I'm still looking for a way to launch files from Dired and still be able
> to control the launched application. Example: I activate an mp3 file
> from Dired and say, it launches mplayer. I right now, cannot control
> mplayer once it is launched. Dired still has focus. Is there any way
> to get into mplayer and manipulate it and then quit to have control go
> back to Dired?
I do not know a general answer to your problem, but
in the case of mplayer, I use something like the following in my
.emacs file:
(defun ll-dired-do-with-filename (action &rest args)
"Apply action to currently selected filename"
(let ((filename (dired-get-filename nil t)))
(if filename
(apply action filename args)
(message "No file selected"))))
(when (featurep 'emacspeak)
(define-key dired-mode-map "\C-cp"
(lambda ()
(interactive)
(ll-dired-do-with-filename 'emacspeak-m-player))))
With this, you can do "C-c p" when on an mp3 file in dired and the
m-player integration of emacspeak will start. Do "C-h m" then to see
the available commands.
If you are only interested in the audio, make sure you have the
"novideo" option set in your mplayer configuration file. This should
prevent it from stealing focus when launched under X.
Best regards, Lukas
-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"
Emacspeak Files |
Subscribe |
Unsubscribe | Search