GNU bug report logs - #343
C mode asks twice about local variables

Previous Next

Packages: emacs, cc-mode;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Sat, 31 May 2008 23:00:03 UTC

Severity: normal

Merged with 347

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Subject: bug#343 closed by Chong Yidong <cyd <at> stupidchicken.com> (Re: C 
 mode asks twice about local variables)
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#343: C mode asks twice about local variables

It has been closed by Chong Yidong <cyd <at> stupidchicken.com>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <cyd <at> stupidchicken.com> by
replying to this email.


-- 
343: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=343
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: 343-done <at> debbugs.gnu.org, 347-done <at> debbugs.gnu.org
Subject: Re: C mode asks twice about local variables
Date: Thu, 31 Jul 2008 10:14:42 -0400
I believe this is now fixed in the trunk.  We'll leave it unfixed in the
branch, since the fix involves the hack-local-variables code and needs
to be tested thoroughly.

[Message part 3 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Cc: bug-cc-mode <at> gnu.org
Subject: C mode asks twice about local variables
Date: Sat, 31 May 2008 18:51:35 -0400
This applies in Emacs 22.2 and CVS trunk.

emacs -Q lib-src/etags.c

    The local variables list in etags.c
    contains values that may not be safe (*).

    Do you want to apply it?  You can type
    y  -- to apply the local variables list.
    n  -- to ignore the local variables list.
    !  -- to apply the local variables list, and permanently mark these
    values (*) as safe (in the future, they will be set automatically.)

    indent-tabs-mode: t
    tab-width: 8
    fill-column: 79
  * c-font-lock-extra-types: ("FILE" "bool" "language" "linebuffer" "fdesc" "node" "regexp")
    c-file-style: "gnu"


If I answer `y', nothing happens. I have to press `y' a second time.




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

Previous Next


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