emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

safe variables for perl and cperl


From: Tom Tromey
Subject: safe variables for perl and cperl
Date: Fri, 30 Nov 2007 12:12:31 -0700

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:


automake.in, a perl script, has this local variable section:

    ### Setup "GNU" style for perl-mode and cperl-mode.
    ## Local Variables:
    ## perl-indent-level: 2
    ## perl-continued-statement-offset: 2
    ## perl-continued-brace-offset: 0
    ## perl-brace-offset: 0
    ## perl-brace-imaginary-offset: 0
    ## perl-label-offset: -2
    ## cperl-indent-level: 2
    ## cperl-brace-offset: 0
    ## cperl-continued-brace-offset: 0
    ## cperl-label-offset: -2
    ## cperl-extra-newline-before-brace: t
    ## cperl-merge-trailing-else: nil
    ## cperl-continued-statement-offset: 2
    ## End:

Every time I visit this file I'm prompted to verify these settings.
I looked at perl-mode and cperl-mode, and only perl-indent-level and
cperl-indent-level are marked as safe local variables.

I think all of these variables should be marked as safe.


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/22.0.990/etc/DEBUG for instructions.


In GNU Emacs 22.0.990.1 (i386-koji-linux-gnu, GTK+ Version 2.10.11)
 of 2007-05-23 on xenbuilder3.fedora.phx.redhat.com
Windowing system distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure  '--build=i386-koji-linux-gnu' 
'--host=i386-koji-linux-gnu' '--target=i386-redhat-linux-gnu' 
'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' 
'--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' 
'--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' 
'--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' 
'--infodir=/usr/share/info' '--with-pop' '--with-sound' '--with-gtk' 
'build_alias=i386-koji-linux-gnu' 'host_alias=i386-koji-linux-gnu' 
'target_alias=i386-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF 
-DSYSTEM_PURESIZE_EXTRA=16777216 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables''

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: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  shell-dirtrack-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  erc-spelling-mode: t
  erc-truncate-mode: t
  flyspell-mode: t
  eldoc-mode: t
  erc-status-mode: t
  erc-services-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-readonly-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<return> I SPC d o n ' t SPC k n o w <return> <f10> 
<f10> <f10> <f10> C-c b <f10> <f10> <f10> <f10> <f10> 
<f10> <f10> <f10> C-z o C-s c p e r l - i n e n t <backspace> 
<backspace> <backspace> d e n t - l e v e l C-s C-s 
C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s M-< C-s 
s a f e - C-a C-s c p e r l - b r a c e - o f f s e 
t C-s C-s C-s C-s C-s C-s C-s C-s C-s M-< C-s C-s C-s 
C-s C-s C-z o <f10> <f10> <f10> <f10> <f10> i n SPC 
a SPC b i t SPC I S-SPC t h i n k <return> n o t SPC 
q u i t e SPC r e a d y <return> <f10> <f10> <f10> 
C-z o C-x C-f p e r l <tab> <return> C-s p e r l - 
i n d e n t - l e v e l C-s C-s C-s C-s C-a C-z o <f10> 
<f10> <f10> <f10> C-z o M-< C-s p e r l - c o n t i 
n u C-w C-w C-w C-s C-s C-s C-s C-s C-s C-g C-s p e 
r l - c o n C-w - b r a c e C-w C-w <backspace> C-s 
C-s C-s C-g C-s p e r l - b r a c e - i m a g i n a 
t <backspace> r y C-a C-u C-u C-n C-l C-v M-v M-v C-z 
o <f10> <f10> <f10> <f10> <f10> C-z o M-x r e p o r 
t - e m <tab> b <tab> <M-backspace> <tab> <tab> b <tab> 
<return>

Recent messages:
Mark saved where search started
Mark set
Mark saved where search started [2 times]
Mark set
Mark saved where search started [2 times]
Mark set
Quit [2 times]
Mark saved where search started
Making completion list...
Loading emacsbug...done

Tom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]