[gnu.emacs] search-repeat-char and sentence boundaries

segre@baal.cs.cornell.edu (Alberto M. Segre) (09/01/89)

[Posting as a favour to someone who can't post directly; please direct
email to him rather than replying to me. Thanks.  -alberto]

>  From jack%cs.glasgow.ac.uk@NSFNET-RELAY.AC.UK Fri Sep  1 02:10:24 1989
>  Organization: COMANDOS Project, Glesga Yoonie, No Mean City
>  From: Jack Campin <jack%cs.glasgow.ac.uk@NSFNET-RELAY.AC.UK>  
>  To: segre%cs.cornell.edu@NSFNET-RELAY.AC.UK
>  Subject: Two questions: search-repeat-char and sentence boundaries
>  Date: Thu, 31 Aug 89 13:03:22 BST
>  
>  
>  [ I can't post news from here at present, so can you post the following
>    questions to gnu.emacs for me?    best wishes  -  jack ]
>  
>  I usually work at two terminals simultaneously, one going through a
>  terminal concentrator and the other not.  The concentrator uses ^S
>  for flow control so I need to set up a different key for invoking
>  isearch-forward.  What I've done is put this in my .emacs:
>  
>  	(global-unset-key "\C-s")
>  	(global-set-key "\C-\\" 'isearch-forward)
>  	(setq search-repeat-char "\C-\\")
>  
>  The unset-key is for consistency, to stop me using ^S at all on either
>  terminal.  The global-set-key works fine.  Setting search-repeat-char
>  appears to do absolutely nothing; ^-\ just invokes a new search rather
>  than continuing to search for the same string.  Is this a bug, or am I
>  doing something wrong?  This is in version 18.41.24, but the only manual
>  I have is the version 17 one.
>  
>  Another question: how do I persuade Emacs that a sentence can end with a
>  period and ONE space?  (I use two in my own writing, but lots of Usenet
>  posters have other ideas).
>  
>  -- 
>  Jack Campin  *  Computing Science Department, Glasgow University, 17 Lilybank
>  Gardens, Glasgow G12 8QQ, SCOTLAND.    041 339 8855 x6045 wk  041 556 1878 ho
>  INTERNET: jack%cs.glasgow.ac.uk@nsfnet-relay.ac.uk  USENET: jack@glasgow.uucp
>  JANET: jack@uk.ac.glasgow.cs     PLINGnet: ...mcvax!ukc!cs.glasgow.ac.uk!jack