From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?us-ascii?Q?=3D=3Futf-8=3FQ=3F=3DC3=3D93scar=5FFuentes=3F=3D?= Newsgroups: gmane.emacs.help Subject: Re: command-execute in .emacs file Date: Sun, 10 Jun 2012 06:42:44 +0200 Message-ID: <87fwa3dbgb.fsf@wanadoo.es> References: <44cbbb2fc867f29de85fec86ba21ed38@151.83.100.252> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1339343574 2671 80.91.229.3 (10 Jun 2012 15:52:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Jun 2012 15:52:54 +0000 (UTC) To: fab , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 10 17:52:52 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SdkRZ-0008K2-6B for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Jun 2012 17:52:45 +0200 Original-Received: from localhost ([::1]:42378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdkRZ-0001s9-2v for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Jun 2012 11:52:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdZzH-0003MA-Mt for help-gnu-emacs@gnu.org; Sun, 10 Jun 2012 00:42:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SdZzF-0006ae-Nk for help-gnu-emacs@gnu.org; Sun, 10 Jun 2012 00:42:51 -0400 Original-Received: from impaqm2.telefonica.net ([213.4.138.18]:5074 helo=telefonica.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdZzF-0006aD-E6 for help-gnu-emacs@gnu.org; Sun, 10 Jun 2012 00:42:49 -0400 Original-Received: from IMPmailhost6.adm.correo ([10.20.102.127]) by IMPaqm2.telefonica.net with bizsmtp id LUhi1j0092kvMAa3NUimAm; Sun, 10 Jun 2012 06:42:46 +0200 Original-Received: from qcore ([83.43.87.1]) by IMPmailhost6.adm.correo with BIZ IMP id LUik1j00M01k7CK1mUilA1; Sun, 10 Jun 2012 06:42:46 +0200 X-Brightmail-Tracker: AAAAAA== X-original-sender: 981711563@telefonica.net In-Reply-To: <44cbbb2fc867f29de85fec86ba21ed38@151.83.100.252> (fab's message of "Sun, 10 Jun 2012 02:49:18 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.4.138.18 X-Mailman-Approved-At: Sun, 10 Jun 2012 11:52:41 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85193 Archived-At: fab writes: > Hi all! > I'm a beginner with lisp language and I'm trying to use Emacs with Speech > Dispatcher > and Festival (in English language). > > This manual page [1] says how to remove the brltty symbol from the > list of active output drivers, using the interactive command: > >> M-x speechd-out-disable-driver RET brltty RET > > Now I'm tryng to customize my .emacs file, but if I use this form > >> (command-execute 'speechd-out-disable-driver nil "brltty") > > I obtain this error message: > >> Wrong type argument: vectorp, brltty > > Can anyone help me? Thanks! > > Fabio > > [1] http://cvs.freebsoft.org/doc/speechd-el/speechd-el_9.html#SEC16 Don't use command-execute for invoking a function, just call the function directly. >From my interpretation of the function definition on http://cvs.freebsoft.org/repository/speechd-el.moved-to-git/speechd-out.el?view=markup it seems that speechd-out-disable-driver expects a symbol name corresponding to the driver to be disabled. So try putting this on your .emacs: (speechd-out-disable-driver 'brltty)