From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#7509: 24.0.50; doc for `comment-style' and `comment-styles' Date: Tue, 30 Nov 2010 17:06:23 -0500 Message-ID: References: <9166F5772B0D414D84ECE3808ECD3964@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291188708 8995 80.91.229.12 (1 Dec 2010 07:31:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Dec 2010 07:31:48 +0000 (UTC) Cc: 7509@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 01 08:31:44 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PNhAE-0006Lf-7d for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Dec 2010 08:31:43 +0100 Original-Received: from localhost ([127.0.0.1]:42456 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNhAD-0000dX-CK for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Dec 2010 02:31:41 -0500 Original-Received: from [140.186.70.92] (port=43273 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNdVC-0006S8-Tm for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2010 22:37:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNYTX-0005bQ-F8 for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2010 17:15:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNYTX-0005bH-DE for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2010 17:15:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PNYGv-0006bb-U6; Tue, 30 Nov 2010 17:02:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Nov 2010 22:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7509 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7509-submit@debbugs.gnu.org id=B7509.129115446625330 (code B ref 7509); Tue, 30 Nov 2010 22:02:01 +0000 Original-Received: (at 7509) by debbugs.gnu.org; 30 Nov 2010 22:01:06 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PNYG2-0006aU-8P for submit@debbugs.gnu.org; Tue, 30 Nov 2010 17:01:06 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PNYG0-0006Zq-LE for 7509@debbugs.gnu.org; Tue, 30 Nov 2010 17:01:05 -0500 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id oAUM6OKo010672; Tue, 30 Nov 2010 17:06:24 -0500 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 91877B4154; Tue, 30 Nov 2010 17:06:23 -0500 (EST) In-Reply-To: (Drew Adams's message of "Tue, 30 Nov 2010 11:13:03 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3695=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 30 Nov 2010 17:02:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:42030 Archived-At: > I came across some variable definition weirdness (unrelated to this > bug): I must say I have no idea how you got into such a mess. My only explanation would be that some part of the patch did not apply properly. > Seems there is something buggy about the Customize code or C-M-x or > both. C-M-x on a defcustom or a defconst in file foo.el should not > give a *Help* buffer that says that the var is defined in file bar.el, > and it should not give the doc from a definition in bar.el. AFAIK, none of those things occur in my usage. > What's the magic to competely undo a defcustom or defconst - `makunbound' > doesn't seem to be enough. There's no such magic. > Can you please give me an example of each style, for > a context/language appropriate to that style? Then I can try to > suggest better one-liner descriptions. If the behavior is different > depending on whether comment-end is nil, then give me an example of > each behavior. >From memory: feel free to test them in a C-mode buffer. plain: /* blabla */ /* bla */ indent /* blabla */ /* bla */ multi-line /* blabla * bla */ extra-line /* * blabla * bla */ aligned /* blabla */ /* bla */ box /**********/ /* blabla */ /* bla */ /**********/ box-multi /********** * blabla * * bla * **********/ When comment-end is the empty string, indent=multi-line=extra-line=aligned and box=box-multi. Stefan