From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Reify the cc-mode-common into an actual parent mode Date: Sun, 29 May 2016 10:53:05 -0400 Message-ID: References: <20160528113003.GA2950@acm.fritz.box> <20160529094552.GA3367@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1464533613 19624 80.91.229.3 (29 May 2016 14:53:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 May 2016 14:53:33 +0000 (UTC) Cc: bug-cc-mode@gnu.org, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 29 16:53:24 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b725j-00013V-Pe for ged-emacs-devel@m.gmane.org; Sun, 29 May 2016 16:53:23 +0200 Original-Received: from localhost ([::1]:56092 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b725g-0006WB-1P for ged-emacs-devel@m.gmane.org; Sun, 29 May 2016 10:53:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b725a-0006Vu-Et for emacs-devel@gnu.org; Sun, 29 May 2016 10:53:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b725Y-0002So-Fm for emacs-devel@gnu.org; Sun, 29 May 2016 10:53:13 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:62339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b725R-0002QA-RR; Sun, 29 May 2016 10:53:05 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AxFgA731xV//v1SC1cgxCEAoVVu0CHSwQCAoE8OxIBAQEBAQEBgQpBBYNdAQEDAVYjEAsOJhIUGA0kiDcIzyMBAQEBBgIBH4s6hQUHhC0FtQQjhBQigngBAQE X-IPAS-Result: A0AxFgA731xV//v1SC1cgxCEAoVVu0CHSwQCAoE8OxIBAQEBAQEBgQpBBYNdAQEDAVYjEAsOJhIUGA0kiDcIzyMBAQEBBgIBH4s6hQUHhC0FtQQjhBQigngBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="239857492" Original-Received: from 45-72-245-251.cpe.teksavvy.com (HELO pastel.home) ([45.72.245.251]) by ironport2-out.teksavvy.com with ESMTP; 29 May 2016 10:53:05 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 240A961374; Sun, 29 May 2016 10:53:05 -0400 (EDT) In-Reply-To: <20160529094552.GA3367@acm.fritz.box> (Alan Mackenzie's message of "Sun, 29 May 2016 09:45:52 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:204126 Archived-At: >> Which part wouldn't work in XEmacs? > `set-keymap-parent', which is called `set-keymap-parents' (note the > final "s") in XEmacs. XEmacs has set-keymap-parent as well: `set-keymap-parent' is a compiled Lisp function -- loaded from "/build/xemacs21-y6hBE4/xemacs21-21.4.22/lisp/obsolete.elc" (set-keymap-parent KEYMAP PARENT) Emacs Compatible; use `set-keymap-parents' instead. Documentation: Make the given keymap have (only) the given parent. It's been there "forever" AFAIK, and I doubt they really intend to drop it, since this function is widely used in all kinds of packages. Stefan