From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: Hide/show support for C++ triple-slash Doxygen markup? Date: Sat, 29 May 2010 22:00:02 +0200 Message-ID: <87fx1aa37h.fsf@ambire.localdomain> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1275165266 10274 80.91.229.12 (29 May 2010 20:34:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 29 May 2010 20:34:26 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: John Yates Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 29 22:34:25 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-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 1OISir-0002wF-Fg for geh-help-gnu-emacs@m.gmane.org; Sat, 29 May 2010 22:34:24 +0200 Original-Received: from localhost ([127.0.0.1]:34314 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OISij-0006kk-Uk for geh-help-gnu-emacs@m.gmane.org; Sat, 29 May 2010 16:33:25 -0400 Original-Received: from [140.186.70.92] (port=51950 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OISiI-0006iX-Ud for help-gnu-emacs@gnu.org; Sat, 29 May 2010 16:32:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OISiH-0004XT-BV for help-gnu-emacs@gnu.org; Sat, 29 May 2010 16:32:58 -0400 Original-Received: from host218-1-dynamic.48-82-r.retail.telecomitalia.it ([82.48.1.218]:47116 helo=ambire.localdomain) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OISiH-0004X1-4N for help-gnu-emacs@gnu.org; Sat, 29 May 2010 16:32:57 -0400 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1OISCR-0004OJ-Ai; Sat, 29 May 2010 22:00:03 +0200 In-Reply-To: (John Yates's message of "Sat, 29 May 2010 18:09:23 +0000 (UTC)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73789 Archived-At: () John Yates () Sat, 29 May 2010 18:09:23 +0000 (UTC) 1) block markup comments which are the sole element on the line and may or may not begin flush left; e.g. I just tried this in a buffer (copy/paste, M-x c++-mode RET, the latter makes hideshow commands available under my setup) and they work with =E2=80=98hs-toggle-hiding=E2=80=99 on the comment line. The same command i= n the function body (between curly braces), does not function in the same way, however. (It hides from the line following the function name to close curly brace.) 2) trailing markup comments which always follow some number of C++ tokens earlier on the first line but may still spill over onto subsequent lines; e.g. I tried this, too, but nothing happened with =E2=80=98hs-toggle-hiding=E2= =80=99. Caveat: My hideshow.el and related customizations have probably drifted fro= m=20 the more widely available (included w/ emacs) versions. Not to mention my Emacs is from 2008-04-29 and other stick-in-the-mud factors.... YMWUV. I wonder what hide/show support exists to deal with these conventions. The most important cases are the block markup comments. Ideally I would like to be able to eliminate these altogether, meaning that I would prefer not to waste a line simply to indicate presence of a folded block markup comment. You can customize hideshow a bit, perhaps to not adjust the beginning of the hidden region so much. I'd be interested in hearing how things go. thi