GNU bug report logs - #16354
24.3.50; `M-o' conflict in Dired - change Omit mode to `C-x M-o'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 5 Jan 2014 19:31:01 UTC

Severity: minor

Found in version 24.3.50

Done: Leo Liu <sdl.web <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Leo Liu <sdl.web <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#16354: closed (24.3.50; `M-o' conflict in Dired - change Omit
 mode to `C-x M-o')
Date: Mon, 06 Jan 2014 05:08:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 06 Jan 2014 13:07:08 +0800
with message-id <m1k3edy9z7.fsf <at> gmail.com>
and subject line Re: bug#16354: 24.3.50; `M-o' conflict in Dired - change Omit mode to `C-x M-o'
has caused the debbugs.gnu.org bug report #16354,
regarding 24.3.50; `M-o' conflict in Dired - change Omit mode to `C-x M-o'
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
16354: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16354
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; `M-o' conflict in Dired - change Omit mode to `C-x M-o'
Date: Sun, 5 Jan 2014 11:29:51 -0800 (PST)
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'.

Someone later had the bright idea to change `M-g' to prefix "go to"
commands.  And so, presumably without too much reflection about Dired X,
facemenu commands were moved to prefix key `M-o'.

So now you cannot put font-lock- or face-related commands on prefix
`M-o' in Dired, if you also use Dired X (which you should, of course).

`M-o' makes much more sense as a prefix key than as a toggle key.

I propose that we change the Dired X binding of `dired-omit-mode' to
`C-x M-o'.  Or to some other not-easily-repeatable key.  This toggle
does not need to be a quick key to use, at all.

In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2014-01-01 on ODIEONE
Bzr revision: 115827 eggert <at> cs.ucla.edu-20140101192741-bi5hb4xb4kdi2zpw
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 'CFLAGS=-O0 -g3' LDFLAGS=-Lc:/Devel/emacs/lib
 CPPFLAGS=-Ic:/Devel/emacs/include'


[Message part 3 (message/rfc822, inline)]
From: Leo Liu <sdl.web <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 16354-done <at> debbugs.gnu.org
Subject: Re: bug#16354: 24.3.50;
 `M-o' conflict in Dired - change Omit mode to `C-x M-o'
Date: Mon, 06 Jan 2014 13:07:08 +0800
Fixed in 24.4.

On 2014-01-06 12:07 +0800, Stefan Monnier wrote:
> Indeed, I find the "conflicts with global M-o binding" to be very weak,
> but the I see no reason for dired-omit-mode to have a short key-binding,
> so C-x <something> is perfectly fine for it.

OK, I rebound it to C-x M-o as suggested by Drew.

Leo


This bug report was last modified 11 years and 139 days ago.

Previous Next


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