From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luca Ferrari Newsgroups: gmane.emacs.help Subject: Re: new major mode doubts Date: Thu, 17 Jan 2013 09:14:36 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1358410484 21870 80.91.229.3 (17 Jan 2013 08:14:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Jan 2013 08:14:44 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 17 09:15:02 2013 Return-path: Envelope-to: geh-help-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 1Tvkcn-0002XV-HR for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Jan 2013 09:15:01 +0100 Original-Received: from localhost ([::1]:58877 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvkcW-0003Hc-V5 for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Jan 2013 03:14:44 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvkcQ-0003H8-Br for help-gnu-emacs@gnu.org; Thu, 17 Jan 2013 03:14:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvkcP-0002Zt-A3 for help-gnu-emacs@gnu.org; Thu, 17 Jan 2013 03:14:38 -0500 Original-Received: from mail-wi0-f176.google.com ([209.85.212.176]:37191) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvkcP-0002Zl-3m for help-gnu-emacs@gnu.org; Thu, 17 Jan 2013 03:14:37 -0500 Original-Received: by mail-wi0-f176.google.com with SMTP id hm6so4251285wib.3 for ; Thu, 17 Jan 2013 00:14:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=UnV4ZTm3sHYwSdSfdkR4puQ/lxciqLqT1i4/cLz1qCw=; b=iSgdNl5qnwc/xWl4Domwc9FRIrvBo7VQ5tM6u6ak/ycXq/cUtMVQnlONfeQbaMYAll N8gQlLlGURgTEZQIx0mYrF4hSh6664v7vwkCZv/cQx/ZGilwh2Hq4TPoUhQ7k/juy9s0 sWe9i/UFzs0toCsA1boiQuzxkkBxn0qEdmZ6m2w3CzsdQRXNRHIO/LmH/CSffhyj68bW 3rEJWpGry5NVTrgRZ783DELhlXtDpZnwNVwcB/aNPF8Kr3IfTZlYGwboqOIhJzJ47lgd eVJNd+CO2UjJZAOC+b8HXZAvoBrVynn/9oNu6VWH4sSRH6VJ25H7tqOaNyZf/B20JADA BfCg== X-Received: by 10.194.58.175 with SMTP id s15mr6650255wjq.31.1358410476409; Thu, 17 Jan 2013 00:14:36 -0800 (PST) Original-Received: by 10.194.39.1 with HTTP; Thu, 17 Jan 2013 00:14:36 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: X95VOVmlFgUKLcl55N71ooImB0Y X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.212.176 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88659 Archived-At: > 2) the commenting is behaving in a strange manner: I've c++ comments, > therefore // .... and so I've defined the following: > (defun dataflex-comment-dwim (arg) > "Comment (in/out) a Dataflex piece of source code. It is based on comment-dwin > of newcomment.el" > (interactive "*P") > (require 'newcomment) > (let ( (comment-start "//") (comment-end "") ) > (comment-dwim arg))) I found a problem with another assignment to comment-start and comment-end that clashes with the above, so now this problem is fixed! Luca