From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andrew Schwartzmeyer Newsgroups: gmane.emacs.bugs Subject: bug#32795: Acknowledgement (26.1; provided-mode-derived-p does not support parent modes set with defalias) Date: Mon, 24 Sep 2018 21:15:28 -0700 Message-ID: <6ab54491416605d957ece9ee6154a6a5@posteo.net> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=_8c303201c1c8c6a31c646fa1c9255fac" X-Trace: blaine.gmane.org 1537849630 18175 195.159.176.226 (25 Sep 2018 04:27:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 25 Sep 2018 04:27:10 +0000 (UTC) User-Agent: Posteo Webmail To: 32795@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 25 06:27:06 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4ewD-0004Yq-OX for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Sep 2018 06:27:06 +0200 Original-Received: from localhost ([::1]:50734 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4eyJ-0001PP-Mw for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Sep 2018 00:29:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4eyB-0001PH-PI for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2018 00:29:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g4emV-0008Va-0v for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2018 00:17:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48442) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g4emU-0008VS-SW for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2018 00:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g4emU-0004VW-Ir for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2018 00:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrew Schwartzmeyer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Sep 2018 04:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32795 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32795-submit@debbugs.gnu.org id=B32795.153784896417242 (code B ref 32795); Tue, 25 Sep 2018 04:17:02 +0000 Original-Received: (at 32795) by debbugs.gnu.org; 25 Sep 2018 04:16:04 +0000 Original-Received: from localhost ([127.0.0.1]:52700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4elW-0004Tv-Vc for submit@debbugs.gnu.org; Tue, 25 Sep 2018 00:16:03 -0400 Original-Received: from mout01.posteo.de ([185.67.36.141]:42211) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4elV-0004TE-1m for 32795@debbugs.gnu.org; Tue, 25 Sep 2018 00:16:01 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 23C1220F5B for <32795@debbugs.gnu.org>; Tue, 25 Sep 2018 06:15:28 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 42K75r2kTCz6tm9 for <32795@debbugs.gnu.org>; Tue, 25 Sep 2018 06:15:28 +0200 (CEST) In-Reply-To: X-Sender: andrew@schwartzmeyer.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:150633 Archived-At: --=_8c303201c1c8c6a31c646fa1c9255fac Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Patch with tests attached. Please let me know if I missed anything, or if the code could be improved. I read through CONTRIBUTE and may have accidentally sent this patch in as a new bug report, sorry! This was generated from 'emacs-26' where the bug occurs, and will merge just fine into 'master'. The bug also exists on 'emacs-25' but the code is slightly different ('provided-mode-derived-p' had not been extracted yet from 'derived-mode-p'). I can supply a back-ported patch as well. Thanks, Andy On 09/21/2018 8:22 am, help-debbugs@gnu.org wrote: > Thank you for filing a new bug report with debbugs.gnu.org. > > This is an automatically generated reply to let you know your message > has been received. > > Your message is being forwarded to the package maintainers and other > interested parties for their attention; they will reply in due course. > > Your message has been sent to the package maintainer(s): > bug-gnu-emacs@gnu.org > > If you wish to submit further information on this problem, please > send it to 32795@debbugs.gnu.org. > > Please do not send mail to help-debbugs@gnu.org unless you wish > to report a problem with the Bug-tracking system. --=_8c303201c1c8c6a31c646fa1c9255fac Content-Transfer-Encoding: base64 Content-Type: text/x-diff; name=0001-Fix-provided-mode-derived-p-when-the-parent-is-an-al.patch Content-Disposition: attachment; filename=0001-Fix-provided-mode-derived-p-when-the-parent-is-an-al.patch; size=2833 RnJvbSBmMzlkN2YyYjVlOTJlMDg1OTI3OTE4Y2Y0ZjlkYTRiYThkZjhmMzY2IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBBbmRyZXcgU2Nod2FydHptZ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