From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: 'M-o' ('facemap-keymap') has now been removed until March 10th 2021 Date: Sat, 20 Mar 2021 08:58:59 +0100 Message-ID: <87zgyyl0ho.fsf@gnus.org> References: <87a6sbg41o.fsf@gnus.org> <87lfatirk1.fsf@gnus.org> <878s6lumf0.fsf@gnus.org> <837dm4defe.fsf@gnu.org> <83wnu4bvtk.fsf@gnu.org> <87y2ejoaap.fsf@gnus.org> <831rcbftzg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38641"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 20 08:59:51 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lNWWU-0009xM-Jk for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Mar 2021 08:59:50 +0100 Original-Received: from localhost ([::1]:44878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNWWT-0001BY-IB for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Mar 2021 03:59:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNWVm-0000kt-RF for emacs-devel@gnu.org; Sat, 20 Mar 2021 03:59:06 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:53824) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNWVl-0008DS-5K; Sat, 20 Mar 2021 03:59:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=AQNM71eNrzeyLYCH9PobXz/wIDJEtawlwbih079+Dr8=; b=gMKuL0xy/Ei+rlfZDEn8w8ybJX 907rUKwjVJeOMyl/AWeCLrlz6Ld2zPDO/BcUv43iCvX6a2hufkwU/9q9BuXfb7WMnxhYG/r3zEHCT /J1JUKD11pBK6gUqMsNGocsQwwoWNeRrP9sWJgcstNeZgyZ7W4LpnvVaDYycqnBiKirY=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lNWVg-00024f-KJ; Sat, 20 Mar 2021 08:59:03 +0100 X-Now-Playing: Joel Graham's _Third Noise Principle (Formative North American Electronica 1975-1984) (4)_: "Geomancy" In-Reply-To: <831rcbftzg.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 19 Mar 2021 10:06:11 +0200") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:266627 Archived-At: Eli Zaretskii writes: >> > Actually, it looks like the following is needed to get back the old >> > bindings: >> > >> > (require 'facemenu) >> > (define-key global-map "\M-o" 'facemenu-keymap) >> > (define-key facemenu-keymap "\es" 'center-line) >> > (define-key facemenu-keymap "\eS" 'center-paragraph) >> >> These two functions aren't really related to the facemenu functionality, >> so I think that just confuses the issue. If somebody wants to have a >> binding for these two commands, that's presumably orthogonal to whether >> they want to have the facemenu-keymap functionality. So these people >> should just put them on `C-c LETTER' or wherever they put things. > > We are talking about getting back the old behavior, so we should let > users have _all_ of it back. We could, of course, clarify that the > last two bindings are unrelated to faces, and that they are needed > only if the user wants them back. If the user just wants to get center-line back with the old binding (without doing the facemap thing), they'll have to say something like: (global-set-key "\M-o" (let ((map (make-sparse-keymap))) (define-key map "\es" 'center-line) map)) Which is why I'd rather not talk about center-line in the context of facemenu. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no