From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Kifer Newsgroups: gmane.emacs.bugs Subject: bug#16744: 24.3.50; REGRESSION: C-h v does not show doc for `ediff-highlight-all-diffs' Date: Fri, 14 Feb 2014 05:43:45 -0500 Message-ID: <52FDF361.5060903@stonybrook.edu> References: <4d0cbf1a-914e-493c-bb2f-186229902418@default> <1913911dabee4a1e979c4914631ac676@HUBCAS2.cs.stonybrook.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1392374655 3738 80.91.229.3 (14 Feb 2014 10:44:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Feb 2014 10:44:15 +0000 (UTC) Cc: "16744@debbugs.gnu.org" <16744@debbugs.gnu.org> To: Eli Zaretskii , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 14 11:44: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 1WEGFl-0004wD-9P for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Feb 2014 11:44:17 +0100 Original-Received: from localhost ([::1]:51016 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEGFk-0001iR-O6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Feb 2014 05:44:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEGFc-0001iG-MU for bug-gnu-emacs@gnu.org; Fri, 14 Feb 2014 05:44:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WEGFX-0002au-BA for bug-gnu-emacs@gnu.org; Fri, 14 Feb 2014 05:44:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50525) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEGFX-0002aj-78 for bug-gnu-emacs@gnu.org; Fri, 14 Feb 2014 05:44:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WEGFW-0004Iu-IJ for bug-gnu-emacs@gnu.org; Fri, 14 Feb 2014 05:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Kifer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Feb 2014 10:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16744 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16744-submit@debbugs.gnu.org id=B16744.139237463516525 (code B ref 16744); Fri, 14 Feb 2014 10:44:02 +0000 Original-Received: (at 16744) by debbugs.gnu.org; 14 Feb 2014 10:43:55 +0000 Original-Received: from localhost ([127.0.0.1]:51707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WEGFO-0004IQ-FP for submit@debbugs.gnu.org; Fri, 14 Feb 2014 05:43:55 -0500 Original-Received: from mail-qc0-f172.google.com ([209.85.216.172]:38523) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WEGFM-0004IA-97 for 16744@debbugs.gnu.org; Fri, 14 Feb 2014 05:43:52 -0500 Original-Received: by mail-qc0-f172.google.com with SMTP id c9so19939627qcz.3 for <16744@debbugs.gnu.org>; Fri, 14 Feb 2014 02:43:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=87g5HSo6jaNukyyES1d4FyMR/lfaPM+Ob3mo+NrVGhM=; b=WNvymKqb8KoLhRLnGmc2jgQpo1+7Ol7oV2I1x6K8/RYwIYrPnrzOnTTU4Ec9bKmFGO JDVUs0caBS3aMlUpl3jwZuA0OKyS7RjpXwjbeEjK+8iqkzuiAcOMRa8dom4ezMJVfeB0 7c+NGUcdfbzqpTnMCYp3IlAndcvsjoZu7H2hvVG1kCgw47k+qC7+lPvrn+K0ICZ6mA9o Basn21z4dY+9kTZTM9jXVgG6vAHWKiwpciRFBkTqXeLWZCCZXOiooYVZq8h7f4mRu+X2 d5xd8uHuziA1fHppaEhEydYbeftRZWcGEe6yWazFjviFOtoJ0lGjOcTWyn3TQVenQxD/ 40hg== X-Gm-Message-State: ALoCoQlb6FT8yjVYm2U4l074qj/ybjfA9dgZVzgo4ZOh27ct98dbSBX3XgP+3cMTkN9k9m5wkkwV X-Received: by 10.140.44.6 with SMTP id f6mr10937029qga.10.1392374626795; Fri, 14 Feb 2014 02:43:46 -0800 (PST) Original-Received: from [192.168.1.106] (ool-18bf44a9.dyn.optonline.net. [24.191.68.169]) by mx.google.com with ESMTPSA id p8sm7163219qga.9.2014.02.14.02.43.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 14 Feb 2014 02:43:46 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <1913911dabee4a1e979c4914631ac676@HUBCAS2.cs.stonybrook.edu> 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:85555 Archived-At:
On 02/13/2014 03:29 PM, Eli Zaretskii wrote:
Date: Thu, 13 Feb 2014 11:31:58 -0800 (PST)
From: Drew Adams <drew.adams@oracle.com>

emacs -Q
M-x load-library ediff
C-h v ediff-highlight-all-diffs

No doc shown, just an empty "Documentation:".
That's because of the ediff-defvar-local macro:

  (defcustom ediff-highlight-all-diffs t
    "If nil, only the selected differences are highlighted.
  Otherwise, all difference regions are highlighted, but the selected region is
  shown in brighter colors."
    :type 'boolean
    :group 'ediff-highlighting)
  (ediff-defvar-local ediff-highlight-all-diffs t "")

It is invoked (here and elsewhere) with an empty string as the doc, so
that's what you get.

Michael, what's the purpose here?
This problem is caused by some change in the emacs compiler.
The reason I was not seeing it is because I was using .elc files of my development copy of ediff, which were compiled with an older version of emacs. With those .elc's the documentation string was being shown.

Perhaps the empty doc-string in defvar now zaps the doc-string specified in the preceding defcustom while previously it didn't? If so, the previous behavior was smarter.