[Top][All Lists]

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

bug#5763: 24.0.50; compile.el tries to make nil buffer-local (typo)

From: Jan D.
Subject: bug#5763: 24.0.50; compile.el tries to make nil buffer-local (typo)
Date: Wed, 24 Mar 2010 08:44:48 +0100
User-agent: Thunderbird (X11/20090817)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
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,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug.  If you can, give
a recipe starting from `emacs -Q':

When compiling, Emacs complains that nil can't be made buffer local.
There is a typo in compile.el.  Can anybody apply this patch, I don't
have access to my normal environment just now.


=== modified file 'lisp/progmodes/compile.el'
--- lisp/progmodes/compile.el   2010-03-23 18:22:46 +0000
+++ lisp/progmodes/compile.el   2010-03-24 07:41:29 +0000
@@ -1785,7 +1785,7 @@
               (unless comint-inhibit-carriage-motion
                 (comint-carriage-motion (process-mark proc) (point)))
               (set-marker (process-mark proc) (point))
-              (set (make-local-variable buffer-modtime) (current-time))
+              (set (make-local-variable 'buffer-modtime) (current-time))
               (run-hooks 'compilation-filter-hook))
          (goto-char pos)
           (narrow-to-region min max)

           Jan D.

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'.
For information about debugging Emacs, please read the file

In GNU Emacs (i686-pc-linux-gnu, GTK+ Version 2.18.3)
 of 2010-03-24 on cons1
Windowing system distributor `The X.Org Foundation', version 11.0.10604000
configured using `configure '--verbose' '--prefix=/opt/emacs-trunk' '--enable-asserts' 'CFLAGS=-g''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  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
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  diff-auto-refine-mode: t
  show-paren-mode: t
  desktop-save-mode: t
  delete-selection-mode: t
  icomplete-mode: t
  display-time-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
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <help-echo> C-x f ~ <backspace> <backspace>
C-x v ~ 9 9 7 3 9 <return> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
<tools> <compare> <ediff-buffers> <return> <return>
SPC SPC SPC q <switch-frame> <switch-frame> y <switch-frame>
<down-mouse-1> <mouse-1> C-x k <return> <down-mouse-1>
<mouse-movement> <mouse-1> C-x v ~ 9 9 7 3 8 <return>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <tools> <compare> <ediff-buffers>
<return> <return> SPC SPC q <switch-frame> y <down-mouse-1>
<mouse-movement> <drag-mouse-1> C-x k <return> <help-echo>
<down-mouse-1> <mouse-movement> <mouse-1> C-x v l <down-mouse-1>
<mouse-movement> <mouse-1> <help-echo> <down-mouse-1>
<mouse-1> <double-down-mouse-1> <double-mouse-1> <escape>
w <help-echo> <down-mouse-1> <mouse-movement> <mouse-1>
C-x v ~ C-y <return> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
<tools> <compare> <ediff-buffers> <return> <return>
SPC SPC SPC SPC SPC q <switch-frame> <switch-frame>
y <switch-frame> <down-mouse-1> <mouse-1> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
<tools> <compare> <ediff-buffers> <return> <return>
SPC <switch-frame> <help-echo> <help-echo> <help-echo>
<switch-frame> <switch-frame> <switch-frame> SPC SPC
<help-echo> <switch-frame> <help-echo> <down-mouse-1>
<mouse-movement> <drag-mouse-1> <help-echo> <switch-frame>
q y <left> <left> ' C-s C-w C-w C-s C-s C-s C-s C-s
C-s C-s C-s C-s C-a C-x C-s C-x 1 C-s C-s C-s C-s C-a
C-x v = <help-echo> <help-echo> <down-mouse-1> <mouse-1>
M-x r e p o r t - e m <tab> <return>

Recent messages:
Processing difference regions ... done
Region 1 in buffer A is empty [2 times]
Region 2 in buffer A is empty [2 times]
Region 3 in buffer A is empty [2 times]
Quit this Ediff session? (y or n)
Mark saved where search started
Saving file /home/jdjarv/src/emacs/trunk/lisp/progmodes/compile.el...
Wrote /home/jdjarv/src/emacs/trunk/lisp/progmodes/compile.el
Mark saved where search started
Finding changes in /home/jdjarv/src/emacs/trunk/lisp/progmodes/compile.el...done

Load-path shadows:
None found.

(shadow sort gnus-util mail-extr message sendmail rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader
emacsbug whitespace diff-mode multi-isearch add-log log-view easy-mmode
wid-edit pcvs-util ediff-merg ediff-diff ediff-wind ediff-help
ediff-util ediff-mult ediff-init ediff vc vc-dispatcher vc-bzr sha1
hex-util paren desktop cus-start cus-load msb delsel icomplete cc-mode
cc-fonts easymenu cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs regexp-opt time 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)

reply via email to

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