GNU bug report logs - #5304
Subject: 23.1.91; comment-start in fundamental-mode

Previous Next

Package: emacs;

Reported by: Andreas Roehler <andreas.roehler <at> online.de>

Date: Tue, 5 Jan 2010 14:09:03 UTC

Severity: minor

Tags: notabug, wontfix

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Roehler <andreas.roehler <at> online.de>
To: 5304 <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#5304: Subject: 23.1.91; comment-start in fundamental-mode
Date: Wed, 06 Jan 2010 10:03:27 +0100
Stefan Monnier wrote:
>> (setq comment-start "abc")
> 
> If you want to set it buffer-locally, then set it buffer-locally:
> 
>   (set (make-local-variable 'comment-start) "abc")
> 
> Same goes for most other variables.
> 
> 
>         Stefan
> 

Stumbled over the issue from my
line-or-region commenting tool - with prefix `ar-' now
BTW at

https://code.launchpad.net/s-x-emacs-werkstatt/

lisp-mode.el contains this

  (make-local-variable 'comment-start)
  (setq comment-start ";")

Think that's the right place: it's more straight IMHO let
modes introduce this var.

Maybe just delete it from c-sources? Unless I'm missing
something... :-)

Thanks

Andreas





This bug report was last modified 14 years and 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.