[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

Re: patch: removal of -q switch from emacspeak.sh



We should do these one at a time. tutorial needs an update.

I still  want to deprecate the emacspeak.sh shell script rather
than burning any more cycles on it.
>>>>> "Jarek" == Jarek Czekalski <jarekczek@xxxxxxxxxxx> writes:
    Jarek> The next step would be updating info files. I had have
    Jarek> fun reading the whole paragraph in tutorial.html. It
    Jarek> says that the first thing before using Emacspeak is
    Jarek> removing the -q switch from the script and the unibyte
    Jarek> mode. I guess this paragraph should be deleted once we
    Jarek> do it in the repository.
    Jarek> 
    Jarek> I attach the patch modifying texi and org files. Could
    Jarek> you regenerate html and info from that? They all
    Jarek> belong to the repository, but if I remake them and
    Jarek> include in the patch, it would be unreadable, because
    Jarek> almost all resulting files get changed.
    Jarek> 
    Jarek> Jarek
    Jarek> 
    Jarek> 
    Jarek> ----------------------------------------------------------------------
    Jarek> Index: info/tutorial.org
    Jarek> ===================================================================
    Jarek> --- info/tutorial.org (revision 8561) +++
    Jarek> info/tutorial.org (working copy) @@ -378,13 +378,8 @@
    Jarek>  
    Jarek>  ** Setting up your environment
    Jarek>  
    Jarek> -This section talks about how to set up how Emacspeak
    Jarek> speaks to you and how to make it present information
    Jarek> for you in certain ways. Before you can customize it
    Jarek> though, you need to edit the shell script that
    Jarek> launches Emacspeak found in /usr/bin/emacspeak. To do
    Jarek> this, type the following at a terminal: +This section
    Jarek> talks about how to set up how Emacspeak speaks to you
    Jarek> and how to make it present information for you in
    Jarek> certain ways.
    Jarek>  
    Jarek> -#+BEGIN_EXAMPLE -sudo gedit /usr/bin/emacspeak
    Jarek> -#+END_EXAMPLE -Once that's done, arrow down till you
    Jarek> get to the part that begins to talk about exporting to
    Jarek> unary mode. You need to get rid of those lines. Do
    Jarek> this either by commenting them out with a # sine or by
    Jarek> just deleting them altogether. Unary mode isn't
    Jarek> necessary for Emacspeak anymore and it will slow your
    Jarek> system down some. Next, find the line that begins with
    Jarek> execute emacs -q -l followed by a path to the
    Jarek> emacspeak file in the /usr/share/emacs directory. You
    Jarek> need to get rid of the -q flag since this will prevent
    Jarek> you from being able to customize your Emacs at all. If
    Jarek> you want to play it safe, comment the line out then
    Jarek> select, copy and paste a copy of it underneath and
    Jarek> just delete the -q from that one. When you are done,
    Jarek> save your changes and you are ready to customize. -
    Jarek> *** Voice rate, punctuation level and key echo
    Jarek> Hopefully, your distribution came with emacspeak more
    Jarek> or less preconfigured for use without a setting turned
    Jarek> on that totally drives Index:
    Jarek> info/introducing-emacspeak.texi
    Jarek> ===================================================================
    Jarek> --- info/introducing-emacspeak.texi (revision 8561)
    Jarek> +++ info/introducing-emacspeak.texi (working copy) @@
    Jarek> -1350,10 +1350,6 @@ #$Id$ # with minor changes, 2006
    Jarek> Mar 18
    Jarek>  
    Jarek> -if [ -f $HOME/.emacs ] -then - INITSTR="-l
    Jarek> $HOME/.emacs" -fi @end group
    Jarek>  
    Jarek>  @group @@ -1365,8 +1361,6 @@ elif [ "$CL" = "-d" ];
    Jarek> then DTK_PROGRAM=dtk-soft export DTK_PROGRAM - elif [
    Jarek> "$CL" = "-q" ]; then - INITSTR="" else CL_ALL="$CL_ALL
    Jarek> $CL" fi @@ -1374,13 +1368,11 @@ @end group
    Jarek>  
    Jarek>  @group -export EMACS_UNIBYTE=1 export
    Jarek> DTK_PROGRAM=/usr/local/bin/eflite export
    Jarek> DTK_TCL=/usr/local/bin/eflite
    Jarek>  
    Jarek> -exec emacs -q \ - -l
    Jarek> /usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-setup.el
    Jarek> \ - $INITSTR $CL_ALL +exec emacs -l
    Jarek> /usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-setup.el
    Jarek> \ + $CL_ALL ### end /usr/local/bin/emacspeak-eflite
    Jarek> @end group @end smallexample @@ -1399,10 +1391,6 @@
    Jarek> #$Id$ # with minor changes, 2006 Mar 18
    Jarek>  
    Jarek> -if [ -f $HOME/.emacs ] - then - INITSTR="-l
    Jarek> $HOME/.emacs" -fi @end group
    Jarek>  
    Jarek>  @group @@ -1414,8 +1402,6 @@ elif [ "$CL" = "-d" ];
    Jarek> then DTK_PROGRAM=dtk-soft export DTK_PROGRAM - elif [
    Jarek> "$CL" = "-q" ]; then - INITSTR="" else CL_ALL="$CL_ALL
    Jarek> $CL" fi @@ -1423,13 +1409,11 @@ @end group
    Jarek>  
    Jarek>  @group -export EMACS_UNIBYTE=1 export
    Jarek> DTK_PROGRAM=/usr/local/src/espeakf/espeakf.pl export
    Jarek> DTK_TCL=/usr/bin/perl
    Jarek>  
    Jarek> -exec emacs -q \ - -l
    Jarek> /usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-setup.el
    Jarek> \ - $INITSTR $CL_ALL +exec emacs -l
    Jarek> /usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-setup.el
    Jarek> \ + $CL_ALL ### end /usr/local/bin/emacspeak-espeakf
    Jarek> @end group @end smallexample

-- 
Best Regards,
--raman

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



If you have questions about this archive or had problems using it, please send mail to:

priestdo@xxxxxxxxxxx No Soliciting!

Emacspeak List Archive | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog