GNU bug report logs - #19834
Specifying File Variables - does not allow setting comment-start to semicolon

Previous Next

Package: emacs;

Reported by: Jari Aalto <jari.aalto <at> cante.net>

Date: Wed, 11 Feb 2015 08:34:02 UTC

Severity: minor

Tags: notabug, wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19834 in the body.
You can then email your comments to 19834 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#19834; Package emacs. (Wed, 11 Feb 2015 08:34:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jari Aalto <jari.aalto <at> cante.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 11 Feb 2015 08:34:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jari Aalto <jari.aalto <at> cante.net>
To: submit <at> debbugs.gnu.org
Subject: Specifying File Variables - does not allow setting comment-start to
 semicolon
Date: Wed, 11 Feb 2015 10:33:25 +0200
Package: emacs
Version: 46.1
Severity: normal

The following causes systax error if put on file. It seems
that ";" isn't taken as the comment-start. This example is
from Windows AHK configuration file <http://www.autohotkey.com>.

;; Local Variables:
;; mode: text ;
;; comment-start: ;
;; End:

-- System Information
Debian Release: jessie/sid
  APT Prefers testing
  APT policy: (990, testing) (500, unstable)
Architecture: amd64
Kernel: Linux picasso 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux
Locale: LANG=en_DK.UTF-8

-- Versions of packages `emacs depends on'.
Depends:
emacs24         24.4+1-4.1      GNU Emacs editor (with GTK+ GUI support)
emacs24-lucid   24.4+1-4.1      GNU Emacs editor (with Lucid GUI support)
emacs24-nox     24.4+1-4.1      GNU Emacs editor (without GUI support)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19834; Package emacs. (Wed, 11 Feb 2015 09:27:01 GMT) Full text and rfc822 format available.

Message #8 received at 19834 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
To: Jari Aalto <jari.aalto <at> cante.net>
Cc: 19834 <at> debbugs.gnu.org
Subject: Re: bug#19834: Specifying File Variables - does not allow setting
 comment-start to semicolon
Date: Wed, 11 Feb 2015 10:26:46 +0100
Jari Aalto <jari.aalto <at> cante.net> writes:

> ;; Local Variables:
> ;; mode: text ;
> ;; comment-start: ;
> ;; End:

it seems to me this should be written as

;; Local Variables:
;; mode: text
;; comment-start: ";"
;; End:

-- 
Nico.




bug No longer marked as found in versions 46.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 11 Feb 2015 17:02:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19834; Package emacs. (Wed, 11 Feb 2015 18:19:01 GMT) Full text and rfc822 format available.

Message #13 received at 19834 <at> debbugs.gnu.org (full text, mbox):

From: jari <jari.aalto <at> cante.net>
To: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Cc: 19834 <at> debbugs.gnu.org
Subject: Re: bug#19834: Specifying File Variables - does not allow setting
 comment-start to semicolon
Date: Wed, 11 Feb 2015 20:18:43 +0200
On 2015-02-11 10:26, Nicolas Richard wrote:
| Jari Aalto <jari.aalto <at> cante.net> writes:
| 
| > ;; Local Variables:
| > ;; mode: text ;
| > ;; comment-start: ;
| > ;; End:
| 
| it seems to me this should be written as
| 
| ;; Local Variables:
| ;; mode: text
| ;; comment-start: ";"
| ;; End:

Please document this in

https://www.gnu.org/software/emacs/manual/html_node/emacs/Specifying-File-Variables.html#Specifying-File-Variables

as semicolon seems to be a special case.

Jari




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19834; Package emacs. (Wed, 11 Feb 2015 18:47:02 GMT) Full text and rfc822 format available.

Message #16 received at 19834 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: jari <jari.aalto <at> cante.net>
Cc: 19834 <at> debbugs.gnu.org, Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Subject: Re: bug#19834: Specifying File Variables - does not allow setting
 comment-start to semicolon
Date: Wed, 11 Feb 2015 13:46:22 -0500
jari wrote:

> Please document this in
>
> https://www.gnu.org/software/emacs/manual/html_node/emacs/Specifying-File-Variables.html#Specifying-File-Variables
>
> as semicolon seems to be a special case.

comment-start is a string, so trying to set it to ; rather than ";" is
simply a user-error.

I don't think "how to set a variable to a literal semicolon" is worth
documenting, since it's not something that you need to do.




Added tag(s) wontfix. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 17 Feb 2015 19:33:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 19834 <at> debbugs.gnu.org and Jari Aalto <jari.aalto <at> cante.net> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 17 Feb 2015 19:33:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 18 Mar 2015 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 96 days ago.

Previous Next


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