From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Undocumented hyperlinks in doc strings. Date: 20 Oct 2003 10:44:16 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200310090050.h990oIa15681@raven.dms.auburn.edu> <200310100327.h9A3REl20310@raven.dms.auburn.edu> <200310150138.h9F1cWg10456@raven.dms.auburn.edu> <200310170332.h9H3WSC25439@raven.dms.auburn.edu> <200310190114.h9J1EdL03115@raven.dms.auburn.edu> <200310200224.h9K2O8505226@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066661366 19163 80.91.224.253 (20 Oct 2003 14:49:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2003 14:49:26 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Oct 20 16:49:24 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ABbLY-0004Ss-00 for ; Mon, 20 Oct 2003 16:49:24 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ABbLY-0001Il-00 for ; Mon, 20 Oct 2003 16:49:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ABbKt-0002MP-UJ for emacs-devel@quimby.gnus.org; Mon, 20 Oct 2003 10:48:43 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ABbKo-0002Le-30 for emacs-devel@gnu.org; Mon, 20 Oct 2003 10:48:38 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ABbKG-0001s7-VY for emacs-devel@gnu.org; Mon, 20 Oct 2003 10:48:36 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ABbJh-000154-Ik; Mon, 20 Oct 2003 10:47:29 -0400 Original-Received: from vor.iro.umontreal.ca (vor.iro.umontreal.ca [132.204.24.42]) by mercure.iro.umontreal.ca (8.12.9/8.12.9) with ESMTP id h9KEiGom027068; Mon, 20 Oct 2003 10:44:16 -0400 Original-Received: by vor.iro.umontreal.ca (Postfix, from userid 20848) id 36E753C63E; Mon, 20 Oct 2003 10:44:16 -0400 (EDT) Original-To: Luc Teirlinck In-Reply-To: <200310200224.h9K2O8505226@raven.dms.auburn.edu> Original-Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-DIRO-MailScanner: Found to be clean X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17264 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17264 > I guess it might be feasible to make comment-region insert > three semicolons by default when commenting out code _inside_ a > function with semicolons at the margin (since with two semicolons > C-M-q would mess things up in this situation), > Want to try to do that? > I will take a look at it. The only way I can think of that won't make newcomment.el's code even more complex (and significantly more ugly) is to accept expressions (rather than just numbers) for comment-add. Then the expression could use syntax-ppss or some such trick to decide whther to evaluate to 1 or 2. Stefan