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

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

bug#16354: 24.3.50; ?`M-o' conflict in Dired - change Omit mode to `C-x


From: Alan Mackenzie
Subject: bug#16354: 24.3.50; ?`M-o' conflict in Dired - change Omit mode to `C-x M-o'
Date: Mon, 6 Jan 2014 10:51:43 +0000 (UTC)
User-agent: tin/1.9.6-20101126 ("Burnside") (UNIX) (FreeBSD/8.4-RELEASE (amd64))

Juri Linkov <address@hidden> wrote:
>> dired-x.el has bound `M-o' to `dired-omit-mode', which is a toggle,
>> since Time Immemorial.  The facemenu commands were originally on
>> prefix key `M-g'.

> dired-x.el solves a similar problem for the conflicting key M-g
> by using the upper-case G:

> (define-key dired-mode-map "\M-G" 'dired-goto-subdir)

> so doing the same we could use upper-case M-O for dired-omit-mode.
> Actually dired-x.el already uses the upper-case O for the related command:

> (define-key dired-mode-map "*O" 'dired-mark-omitted)

> But before taking M-O into use it should be tested to work in emacs -nw
> without problems.

M-O doesn't work on a Linux tty.  The shift-key is silently ignored,
producing M-o.

-- 
Alan Mackenzie (Nuremberg, Germany).






reply via email to

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