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

patch: removal of -q switch from emacspeak.sh



Hi,

If your problem is just getting customize to work with the -q option
in the run script, try setting custom-file.

I have customized custom-file to "~/.emacs" and have been using the
old run file with -q for years.

Sean

Jarek Czekalski writes:
 > It would be nice to have Emacspeak 39 already without this troublesome 
 > switch.
 > 
 > Suggested commit message:
 > 
 > Removed -q switch from emacspeak.sh. The switch was causing problems
 > in using "customize" command. On the other hand no-one could supply
 > a reasonable explanation for the presence of this switch, here is
 > the discussion link:
 > https://www.emacspeak.org/VCCS-archive/2013/msg00548.html
 > 
 > By the way removed EMACS_UNIBYTE flag, which also seemed
 > to have no justification.
 > 
 > Thanks,
 > Jarek
 > 
 > ----------------------------------------------------------------------
 > Index: run
 > ===================================================================
 > --- run	(revision 8561)
 > +++ run	(working copy)
 > @@ -2,4 +2,4 @@
 >  #$Id$
 >  #Run out of this directory.
 >  #
 > -emacs -q -l ./lisp/emacspeak-setup.el -l $HOME/.emacs
 > +emacs -l ./lisp/emacspeak-setup.el
 > Index: etc/emacspeak.sh.def
 > ===================================================================
 > --- etc/emacspeak.sh.def	(revision 8561)
 > +++ etc/emacspeak.sh.def	(working copy)
 > @@ -1,19 +1,13 @@
 >  #!/bin/sh
 >  # emacspeak - execute emacs with speech enhancements
 >  # this file needs a maintainer, I, (tv.raman.tv@xxxxxxxxxxx) am not presently maintaining it.
 > -# AKA  Use at your own risk, and if it breaks, you get to keep both pieces. 
 >  # Patches that are fully tested always welcome.
 >  #$Id$
 > -    if [ -f /etc/emacspeak.conf ]
 > +if [ -f /etc/emacspeak.conf ]
 >      then
 >      . /etc/emacspeak.conf
 >  fi
 >  
 > -if [ -f $HOME/.emacs ]
 > -then
 > -	INITSTR="-l $HOME/.emacs"
 > -fi
 > -
 >  CL_ALL=""
 >  for CL in $* ; do
 >  	if [ "$CL" = "-o" ]; then
 > @@ -28,14 +22,9 @@
 >  	elif [ "$CL" = "-d" ]; then
 >  		DTK_PROGRAM=dtk-soft
 >  		export DTK_PROGRAM
 > -	elif [ "$CL" = "-q" ]; then
 > -		INITSTR=""
 >  	else
 >  		CL_ALL="$CL_ALL $CL"
 >  	fi
 >  done
 >  
 > -
 > -EMACS_UNIBYTE=1
 > -export EMACS_UNIBYTE
 > -exec emacs -q -l <emacspeak-dir>/emacspeak-setup.el $INITSTR $CL_ALL
 > +exec emacs -l <emacspeak-dir>/emacspeak-setup.el $CL_ALL
 > Index: Makefile
 > ===================================================================
 > --- Makefile	(revision 8561)
 > +++ Makefile	(working copy)
 > @@ -108,9 +108,9 @@
 >  # This will start emacspeak every time you use emacs
 >  # or alternatively set the following alias.
 >  # If you use csh or tcsh
 > -# alias emacspeak "emacs -q -l <EMACSPEAK_DIR>/emacspeak-setup.el -l $HOME/.emacs"
 > +# alias emacspeak "emacs -l <EMACSPEAK_DIR>/emacspeak-setup.el"
 >  # If you use bash (the default under linux)
 > -# alias emacspeak="emacs -q -l <EMACSPEAK_DIR>/emacspeak-setup.el -l $HOME/.emacs"
 > +# alias emacspeak="emacs -l <EMACSPEAK_DIR>/emacspeak-setup.el"
 >  # Note: in all of the above you should replace <EMACSPEAK_DIR> with your
 >  # site-specific value. The distribution also creates a shell executable
 >  # emacspeak.sh that does the same thing as the alias shown above.

-- 

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