From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Roehler Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#5304: Subject: 23.1.91; comment-start in fundamental-mode Date: Sun, 03 Jan 2010 21:09:50 +0100 Message-ID: <4B40F98E.6040309@online.de> Reply-To: Andreas Roehler , 5304@debbugs.gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1262701476 22342 80.91.229.12 (5 Jan 2010 14:24:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Jan 2010 14:24:36 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 05 15:24:29 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from terminus-est.gnu.org ([66.92.78.210] helo=lists.gnu.org) by lo.gmane.org with esmtp (Exim 4.50) id 1NSAHk-0004Nw-9v for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Jan 2010 15:21:26 +0100 Original-Received: from localhost ([127.0.0.1]:53186 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSAHi-00027z-8w for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Jan 2010 09:21:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSAHS-0001wu-Fd for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2010 09:21:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSAHM-0001sB-TN for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2010 09:21:05 -0500 Original-Received: from [199.232.76.173] (port=45105 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSAHM-0001s3-LS for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2010 09:21:00 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50667) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NSAHK-0001U7-IW for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2010 09:21:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NSA5n-0003ia-Dz; Tue, 05 Jan 2010 09:09:03 -0500 X-Loop: bug-gnu-emacs@gnu.org Mail-Followup-To: Andreas Roehler , 5304@debbugs.gnu.org Resent-From: Andreas Roehler Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Jan 2010 14:09:03 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5304 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.126270051614187 (code B ref -1); Tue, 05 Jan 2010 14:09:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Jan 2010 14:08:36 +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 1NSA5L-0003gh-UP for submit@debbugs.gnu.org; Tue, 05 Jan 2010 09:08:36 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NRWlY-0001QM-H0 for submit@debbugs.gnu.org; Sun, 03 Jan 2010 15:09:34 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]:36006) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NRWlU-0006xu-AM for emacs-pretest-bug@gnu.org; Sun, 03 Jan 2010 15:09:28 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NRWlQ-0001UV-9W for emacs-pretest-bug@gnu.org; Sun, 03 Jan 2010 15:09:27 -0500 Original-Received: from moutng.kundenserver.de ([212.227.126.171]:61259) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NRWlP-0001U3-QK for emacs-pretest-bug@gnu.org; Sun, 03 Jan 2010 15:09:24 -0500 Original-Received: from [192.168.178.27] (p54BE9A80.dip0.t-ipconnect.de [84.190.154.128]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MFOim-1NfmMe00Tk-00EVTn; Sun, 03 Jan 2010 21:09:20 +0100 User-Agent: Thunderbird 2.0.0.19 (X11/20081227) X-Provags-ID: V01U2FsdGVkX1/Bl8WbCw8Hwoy8IkmYMZtFxUhY6av3pTL1UCS P7a+gAdO1t1bHXzr6c3lobdv6VHz4es/QBdOW6OZ20YM60JDPT KWcOXW4P0U8qA8WCGGF/4SeCO+I0vdIs++PeYZL0Rs= X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-Spam-Score: -6.6 (------) X-Mailman-Approved-At: Tue, 05 Jan 2010 09:08:26 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -6.6 (------) Resent-Date: Tue, 05 Jan 2010 09:09:03 -0500 X-detected-operating-system: by monty-python.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:33939 gmane.emacs.pretest.bugs:25360 Archived-At: Hi, after emacs -q `comment-start' is available in fundamental mode as a global variable. Once set, it retains its value for other buffers. IMO `comment-start' should not exist in fundamental mode, also it should be buffer local from the very beginning. Below a recipe to reproduce the bug: emacs -q scratch-buffer M-x fundamental-mode \C-h v comment-start ==> comment-start is a variable defined in `newcomment.el'. Its value is nil This variable is safe as a file local variable if its value satisfies the predicate `string-or-null-p'. Documentation: *String to insert to start a new comment, or nil if no comment syntax. ;;;;;;;;;;;; (setq comment-start "abc") \C-h v comment-start ==> comment-start is a variable defined in `newcomment.el'. Its value is "abc" ... ;;;;;;;;;;;;; Now kill buffer, ask again: same result. `comment-start' is remembered throughout buffers as "abc". So far, thanks all Andreas BTW emacs-pretest-bug@gnu.org still active, think it should be deactivated(?) -- https://code.launchpad.net/s-x-emacs-werkstatt/ ;;;;;;;;;;;;;;;;;;;;;;;; In GNU Emacs 23.1.91.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2010-01-01 Windowing system distributor `The X.Org Foundation', version 11.0.70200000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-h v c o m m e n t - s r t a r t M-x f u n d a m e n t a l - m o C-h v M-x r e p o r t - e m a c s - b u Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Type C-x 1 to delete the help window. Load-path shadows: None found. Features: (shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug pp find-func help-mode easymenu view help-fns tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs)