help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: package: iPhone behavior insert . After a word and twice space


From: Uwe Brauer
Subject: Re: package: iPhone behavior insert . After a word and twice space
Date: Sun, 26 Nov 2017 21:57:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

>>> "Thorsten" == Thorsten Bonow <thorsten.bonow@withouthat.org> writes:

   >>>>>> Uwe Brauer <oub@mat.ucm.es> writes:
   >> Mi iphone has the nice feature that if I press space quickly twice after a
   >> word it inserts a . Since it is considered as a end of sentence.

   >> Does anybody now about a Emacs package providing this functionality?

   > Hi,

   > one solution would be "key chord" from EmacsWiki[1].  Quick and dirty:

   > (require 'key-chord "/usr/local/share/emacs/site-lisp/key-chord.el")
   > (key-chord-mode 1)
   > (defun my-insert-dot ()
   >   "Insert \".\" at point, moving point forward"
   >   (interactive)
   >   (insert "."))
   > (key-chord-define-global (kbd "SPC SPC") 'my-insert-dot)

Thanks just checked, for me this is slower and less comfortable but
maybe more stable than the other solution I posted. I will play around
with both.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]