unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* safe variables for perl and cperl
@ 2007-11-30 19:12 Tom Tromey
  2007-12-09 19:22 ` Dan Nicolaescu
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Tromey @ 2007-11-30 19:12 UTC (permalink / raw)
  To: emacs-pretest-bug


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 emacs-pretest-bug@gnu.org 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: safe variables for perl and cperl
  2007-11-30 19:12 safe variables for perl and cperl Tom Tromey
@ 2007-12-09 19:22 ` Dan Nicolaescu
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Nicolaescu @ 2007-12-09 19:22 UTC (permalink / raw)
  To: Tom Tromey; +Cc: emacs-pretest-bug

Tom Tromey <tromey@redhat.com> writes:

  > 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 emacs-pretest-bug@gnu.org 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.

I did that on the EMACS_22_BASE branch, it will get merged to the
trunk at some point.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-09 19:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-30 19:12 safe variables for perl and cperl Tom Tromey
2007-12-09 19:22 ` Dan Nicolaescu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).