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

Re: emacspeak and orgstruct-mode key bindings



Hi,

To revisit an old issue that I have so far never managed to solve.

I am still having the issue that in shell-mode backward-word will not
cross what appears to be prompt boundaries.  That is from shell mode
backward-word won't move back over the prompt unless I either arrow left
or go to the beginning of the line, then it works.

I start emacs from a script like this:
#!/bin/bash
open -F -n /Users/bart/emacs/head/Emacs.app  --args               --debug-init -Q --no-site-file -fg yellow -bg black -l /Users/bart/emacs/site-lisp/init-safe.el --no-splash  


I have all of the debug options I can find and the options to not load
any additional code enabled.

Then The init file init-safe.el contains the following:

;;; init.el
;; This is the first thing to get loaded.
;; this file is for testing

; Load emacspeak
(setq load-path (cons "~/emacs/head/src/emacspeak/lisp" load-path))
(setq load-path (cons "~/emacs/head/src/emacspeak/lisp/contrib" load-path))
(setq emacspeak-directory "~/emacs/head/src/emacspeak")
(setq dtk-program "mac")
(setq mac-default-speech-rate 500)
(load-file "~/emacs/head/src/emacspeak/lisp/emacspeak-setup.el")



And that's it.

I've also removed all customizations and elpa packages and I'm still
seeing the behaviour.

I was hoping that people can take a look at what I'm doing and see if
there is anything further they can think of I can try.

Also are there any mac users out there that can confirm that
backward-word works for them in shell mode.

I don't believe this is emacspeak specific because the I'm almost
certain the problem exists even if I don't launch emacspeak.  I'm sorry
I'm not 100% certain of this.

Kind regards
Bart Bunting <bart@bunting.net.au> writes:

> Thanks!
>
> Works wonderfully
>
> Much appreciated.
>
> Thanks Jarek for finding the issue and Raman for patching it!
>
> Kind regards
>
> Bart
>
> "T. V. Raman" <tv.raman.tv@gmail.com> writes:
>
>> Fixed at svn head.  I've nuked the advice on key-description, and
>> instead created that functionality differently -- see the code in
>> emacspeak-advice.el 
>>>>>>> "Jarek" == Jarek Czekalski <jarekczek@poczta.onet.pl> writes:
>>     Jarek> Hi Bart Probably you could workaround that by issuing:
>>     Jarek> 
>>     Jarek> (ad-deactivate 'key-description)
>>     Jarek> 
>>     Jarek> I guess org.el uses this function's output to produce
>>     Jarek> its keymap and that causes the conflict with
>>     Jarek> emacspeak:
>>     Jarek> 
>>     Jarek>                  (setq key (read-kbd-macro (let
>>     Jarek> ((case-fold-search)) (replace-regexp-in-string (car
>>     Jarek> rep) (cdr rep) (key-description key))))))
>>     Jarek> 
>>     Jarek> Jarek
>>     Jarek> 
>>     Jarek> -----------------------------------------------------------------------------
>>     Jarek> To unsubscribe from the emacspeak list or change your
>>     Jarek> address on the emacspeak list send mail to
>>     Jarek> "emacspeak-request@cs.vassar.edu" with a subject of
>>     Jarek> "unsubscribe" or "help".
>>
>> -----------------------------------------------------------------------------
>> To unsubscribe from the emacspeak list or change your address on the
>> emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
>> subject of "unsubscribe" or "help".
>>
> Bart
> -- 
>
> Bart Bunting
Bart
-- 

Bart Bunting

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
subject of "unsubscribe" or "help".



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

priestdo@cs.vassar.edu No Soliciting!

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

Emacspeak Files | Emacspeak Blog | Search the archive