From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#16993: advice-add hides docstring Date: Wed, 12 Mar 2014 20:49:52 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1394653871 15370 80.91.229.3 (12 Mar 2014 19:51:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Mar 2014 19:51:11 +0000 (UTC) Cc: 16993@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 12 20:51:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1WNpBN-0003QI-Kg for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Mar 2014 20:51:17 +0100 Original-Received: from localhost ([::1]:34471 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNpBN-00028U-6h for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Mar 2014 15:51:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNpBG-00021c-1a for bug-gnu-emacs@gnu.org; Wed, 12 Mar 2014 15:51:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNpB9-000889-Bp for bug-gnu-emacs@gnu.org; Wed, 12 Mar 2014 15:51:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNpB9-000885-8W for bug-gnu-emacs@gnu.org; Wed, 12 Mar 2014 15:51:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WNpB8-0002Fr-Sw for bug-gnu-emacs@gnu.org; Wed, 12 Mar 2014 15:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Mar 2014 19:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16993 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16993-submit@debbugs.gnu.org id=B16993.13946538378593 (code B ref 16993); Wed, 12 Mar 2014 19:51:02 +0000 Original-Received: (at 16993) by debbugs.gnu.org; 12 Mar 2014 19:50:37 +0000 Original-Received: from localhost ([127.0.0.1]:34946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WNpAi-0002ET-5U for submit@debbugs.gnu.org; Wed, 12 Mar 2014 15:50:36 -0400 Original-Received: from mail-yh0-f43.google.com ([209.85.213.43]:61645) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WNpAf-0002ED-EW for 16993@debbugs.gnu.org; Wed, 12 Mar 2014 15:50:34 -0400 Original-Received: by mail-yh0-f43.google.com with SMTP id b6so10745240yha.30 for <16993@debbugs.gnu.org>; Wed, 12 Mar 2014 12:50:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=tPAAUpClPpPhmaKiuTeYtDeTgcdbqJoZSknkn5+2ubA=; b=FxF3aREt8/Stnu3EpyKsT7Ibm7cx1/014nWlR4HbbUslpvKhXueEMfSvhZpf0GSM1i DBgpiv1eM8PSNyeJHiR6xpy/Z2ls9rFI8YDEY1LlIFNlRtyTffh0rmQHu9HEuNz90Pw7 +eRZKotwfPNasjBghfGDya/wFCgpuHjMMErMVBRpBlxpZup1fpKZ/gtbaVeRU4BzKcql wiWGUpqfCuXE6dAD6olSkZdHwowpvOBw3sy+oEWLJO/Sz6+bE2hRBQufiMEmaXA+uTeN +hLgrk+kESlKU1prd+Rf2uFF4rxObtyysRPMgyMJNa9nS89+KpGRSaluldaXQOj6B5Fk XqZA== X-Received: by 10.236.62.232 with SMTP id y68mr63911005yhc.12.1394653832527; Wed, 12 Mar 2014 12:50:32 -0700 (PDT) Original-Received: by 10.170.163.3 with HTTP; Wed, 12 Mar 2014 12:49:52 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:86785 Archived-At: On Wed, Mar 12, 2014 at 8:34 PM, Glenn Morris wrote: > I think this is because substitute-command-keys (in describe-function-1) > removes text properties (per its documentation). Aha, I tried with two test functions, one with a key binding in its doc (\\[universal-argument]) and the other without, and indeed, the first one gets its advice info's font-locking removed and the other doesn't. I'll try to come with an easy fix, if at all possible, unless you beat me to it (feel free to ;-) Still, the other problem (docstrings missing) is much more serious. Thanks, J