all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Alan Mackenzie <acm@muc.de>
Cc: bug-cc-mode@gnu.org, emacs-devel@gnu.org
Subject: Re: Reify the cc-mode-common into an actual parent mode
Date: Sun, 29 May 2016 10:53:05 -0400	[thread overview]
Message-ID: <jwvlh2sncj8.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20160529094552.GA3367@acm.fritz.box> (Alan Mackenzie's message of "Sun, 29 May 2016 09:45:52 +0000")

>> 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



  reply	other threads:[~2016-05-29 14:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-24  0:41 Reify the cc-mode-common into an actual parent mode Stefan Monnier
2016-05-28 11:30 ` Alan Mackenzie
2016-05-28 17:51   ` Stefan Monnier
2016-05-29  9:45     ` Alan Mackenzie
2016-05-29 14:53       ` Stefan Monnier [this message]
2016-05-28 18:08   ` Stefan Monnier
2016-05-29 10:00     ` Alan Mackenzie
2016-05-30 17:37       ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvlh2sncj8.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=acm@muc.de \
    --cc=bug-cc-mode@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.