GNU bug report logs - #1453
23.0.60; Dead keys do not work in dired and similar modes in Cocoa port

Previous Next

Package: emacs;

Reported by: Wolfgang Lux <wolfgang.lux <at> gmail.com>

Date: Sat, 29 Nov 2008 15:35:02 UTC

Severity: normal

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alan Third <alan <at> idiocy.org>
To: Wolfgang Lux <wolfgang.lux <at> gmail.com>
Cc: 1453 <at> debbugs.gnu.org
Subject: bug#1453: 23.0.60; Dead keys do not work in dired and similar modes in Cocoa port
Date: Sat, 10 Sep 2016 22:21:34 +0100
Wolfgang Lux <wolfgang.lux <at> gmail.com> writes:

> Dired mode binds ~ to dired-flag-backup-files. When one attempts
> entering
> ~ via the dead-key combination Alt-n (assuming the Alt key is not used
> as
> a modifier key and Command is interpreted as Meta key), Emacs first
> reports
> an error message "Buffer is read-only: #<buffer ~>" followed by an error
> message "Wrong type argument: overlayp, nil" upon the next event.

This is still sort of an issue in Emacs 25. As far as I can tell Emacs
still gives the "buffer is read-only" message, but as soon as another
key is hit actually executes dired-flag-backup-files.

I also suspect this won't be limited to the NS port, but will be an
issue anywhere you can use dead-keys in a read-only buffer.

I can't think of any reason to try and display the partially complete
input when the buffer's read-only, but I can't see where this dead-key
entry code is located to see if it's possible to do a check.
-- 
Alan Third




This bug report was last modified 5 years and 151 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.