On Jul 31, 2006, at 10:07 AM, Peter Dyballa wrote:

>
> Am 31.07.2006 um 15:08 schrieb Peter Dyballa:
>
>> Hello!
>>
>> On a German keyboard ~ is ⌥-n, a dead-letter. To make it appear one
>> needs to press SPACE, or some character that carry a tilde. Emacs.app
>> complains in a read-only buffer as soon as I press ⌥-n: "Buffer is
>> read-only: #<buffer *Man awk*>".
>>
>> Something similiar happens when I let search for ^. This is another
>> dead-letter. Or ´ ...
>>
>
> I think it fails in isearch: isearch gets aborted somehow. Something
> like input is still left in some queue so it gets written into any
> read-only buffer after isearch's abortion.

Problem is the routines ns-insert-working-text and ns-delete-working- 
text in ns-win.el (see below): apparently functions such as 'point'  
and 'insert' always refer to the most recently-used main buffer, even  
if you happen to be typing into the minibuffer.  Sigh..


(defun ns-insert-working-text ()
   "Insert contents of ns-working-text as UTF8 string and mark with
ns-working-overlay.  Any previously existing working text is cleared  
first.
The overlay is assigned the face ns-working-text-face."
   (interactive)
   (if ns-working-overlay (ns-delete-working-text))
   (let ((start (point)))
     (insert ns-working-text)
     (overlay-put (setq ns-working-overlay (make-overlay start (point)
                                                        (current-buffer) nil t))
                 'face 'ns-working-text-face)
     (setq ns-working-overlay-len (+ ns-working-overlay-len (-  
(point) start)))))


(defun ns-delete-working-text()
   "Delete working text and clear ns-working-overlay."
   (interactive)
   (delete-backward-char ns-working-overlay-len)
   (setq ns-working-overlay-len 0)
   (delete-overlay ns-working-overlay))



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Emacs-app-dev- mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-

Reply via email to