f



(local-variables/warning) File local-variables error: Symbol's value as variable is void: compile-command

Hi
I get the following error message when I start my xemacs in a
directory containing a desktop file (see below).
(local-variables/warning) File local-variables error: Symbol's value
as variable is void: compile-command

I have tried starting xemacs with -init_debug but I did not get any
further info.
Thanks for any hint.
GA


;;;;;;;;;;;;;;;;;;;;;;;;; desktop file begins here
;;
--------------------------------------------------------------------------
;; Desktop File for Emacs
;;
--------------------------------------------------------------------------
;; Created Wed Aug  5 12:13:17 2009
;; Emacs version 21.4 (patch 21) "Educational Television" XEmacs Lucid

;; Global section:
(setq desktop-missing-file-warning nil)
(setq search-ring '("lazy" "rand_address_sig" "USE" "stre"
"right_stream_0" "random_engine" "random_engine_enable_sig"
"output_reg_enable" "output_registers_enable" "systemc_output_path"
"random_engine_enable" "random_engine_enable_sig" "temp_out_check_bit"
"chaine" "rand_address_sig" "_DS"))
(setq regexp-search-ring nil)
(setq register-alist (list '(?f file-query "/Projects/code/c-cpp/
stochastic/stoc_TrueBit_ver5_Improved_Init/.emacs.desktop" 3751) '(?
d . "// Random engine\n#define MAX_ENGINES_RAE          3 // Total
number of engines in the RAE\n#ifdef _STRUCTURED_RE_ALLOCATION
\n#define MAX_OUTPUT_WIDTH_RAE     12 // Number of output bits per
address channel on each engine\n#define MAX_ADDRESS_CHANNELS_RAE 1 //
Total number of address channel for each engine\n#else\n#endif")
(desktop-list* ?c (let ((mk (make-marker))) (add-hook 'desktop-delay-
hook (list 'lambda '() (list 'set-marker mk nil (get-buffer
"*desktop*")))) mk)) '(?b file-query "/Projects/code/c-cpp/stochastic/
stoc_TrueBit_ver5_Improved_Init/src/matrix.c" 1121725) '(?a . "#ifdef
_SPLIT_32\n#else // NO  _SPLIT_32\n#endif // END OF _SPLIT_32 ")))

;; Buffer section:
(desktop-create-buffer 205
  "/Projects/code/c-cpp/stochastic/stoc_TrueBit_ver5_Improved_Init/src/
msg.c"
  "msg.c"
  'c-mode
  '(abbrev-mode line-number-mode column-number-mode font-lock-mode
lazy-lock-mode global-auto-revert-mode c-auto-hungry-string)
  1
  '(nil nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  "/Projects/code/c-cpp/stochastic/stoc_TrueBit_ver5_Improved_Init/src/
error.c"
  "error.c"
  'c-mode
  '(abbrev-mode line-number-mode column-number-mode font-lock-mode
lazy-lock-mode global-auto-revert-mode c-auto-hungry-string)
  1
  '(nil nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  "/Projects/code/c-cpp/stochastic/stoc_TrueBit_ver5_Improved_Init/src/
channel.c"
  "channel.c"
  'c-mode
  '(abbrev-mode line-number-mode column-number-mode font-lock-mode
lazy-lock-mode global-auto-revert-mode c-auto-hungry-string)
  1
  '(nil nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  "/Projects/code/c-cpp/stochastic/stoc_TrueBit_ver5_Improved_Init/inc/
main.h"
  "main.h"
  'c++-mode
  '(abbrev-mode line-number-mode column-number-mode font-lock-mode
lazy-lock-mode global-auto-revert-mode c-auto-hungry-string)
  298
  '(nil nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  "/Projects/code/c-cpp/stochastic/stoc_TrueBit_ver5_Improved_Init/inc/
encode.h"
  "encode.h"
  'c++-mode
  '(abbrev-mode line-number-mode column-number-mode font-lock-mode
lazy-lock-mode global-auto-revert-mode c-auto-hungry-string)
  1
  '(nil nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  "/mnt/i386/Projects/test_codes/test_n32_k16_deg6/rtl/NOSP/do.do"
  "do.do"
  'tcl-mode
  '(line-number-mode column-number-mode font-lock-mode lazy-lock-mode
global-auto-revert-mode)
  3299
  '(nil nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  "/mnt/i386/Projects/test_codes/test_n32_k16_deg6/rtl/NOSP/wave.do"
  "wave.do"
  'tcl-mode
  '(line-number-mode column-number-mode font-lock-mode lazy-lock-mode
global-auto-revert-mode)
  114506
  '(3460 nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  "/mnt/i386/Projects/test_codes/test_n32_k16_deg6/rtl/NOSP/
control_unit.v"
  "control_unit.v"
  'verilog-mode
  '(line-number-mode column-number-mode font-lock-mode lazy-lock-mode
global-auto-revert-mode)
  4100
  '(177 nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  "/Projects/test_codes/test_n32_k16_deg6/rtl/NOSP/do_opt_xi.do"
  "do_opt_xi.do"
  'tcl-mode
  '(line-number-mode column-number-mode font-lock-mode lazy-lock-mode
global-auto-revert-mode)
  4456
  '(2050 nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  "/Projects/test_codes/test_n32_k16_deg6/rtl/NOSP/do_xi.do"
  "do_xi.do"
  'tcl-mode
  '(line-number-mode column-number-mode font-lock-mode lazy-lock-mode
global-auto-revert-mode)
  4750
  '(4547 nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  "/Projects/code/c-cpp/stochastic/stoc_TrueBit_ver5_Improved_Init/src/
test.c"
  "test.c"
  'c-mode
  '(abbrev-mode line-number-mode column-number-mode font-lock-mode
lazy-lock-mode global-auto-revert-mode c-auto-hungry-string)
  17431
  '(256 nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  "/Projects/code/c-cpp/stochastic/stoc_TrueBit_ver5_Improved_Init/src/
encode.c"
  "encode.c"
  'c-mode
  '(abbrev-mode line-number-mode column-number-mode font-lock-mode
lazy-lock-mode global-auto-revert-mode c-auto-hungry-string)
  434
  '(nil nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  "/Projects/code/c-cpp/stochastic/stoc_TrueBit_ver5_Improved_Init/inc/
decode_stoc.h"
  "decode_stoc.h"
  'c++-mode
  '(abbrev-mode line-number-mode column-number-mode font-lock-mode
lazy-lock-mode global-auto-revert-mode c-auto-hungry-string)
  546
  '(443 nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  "/Projects/code/c-cpp/stochastic/stoc_TrueBit_ver5_Improved_Init/src/
decode_stoc_newupdate_bool_all_longcodes.c"
  "decode_stoc_newupdate_bool_all_longcodes.c"
  'c-mode
  '(abbrev-mode line-number-mode column-number-mode font-lock-mode
lazy-lock-mode global-auto-revert-mode c-auto-hungry-string)
  60104
  '(60249 nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  "/Projects/code/c-cpp/stochastic/stoc_TrueBit_ver5_Improved_Init/sys/
stoc_true_test_code_n32_k16_IMP-
INIT_16b_sf_3_m_32_32_32_2_DC_700_LRR_6b_W_7b_snr12.25.txt"
  "stoc_true_test_code_n32_k16_IMP-
INIT_16b_sf_3_m_32_32_32_2_DC_700_LRR_6b_W_7b_snr12.25.txt"
  'text-mode
  '(auto-fill-mode line-number-mode column-number-mode global-auto-
revert-mode)
  592
  '(92 nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 78) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  nil
  "src"
  'dired-mode
  '(line-number-mode column-number-mode global-auto-revert-mode dired-
sort-mode)
  1468
  '(nil nil)
  t
  '("/Projects/code/c-cpp/stochastic/stoc_TrueBit_ver5_Improved_Init/
src/")
  '((case-fold-search)))

(desktop-create-buffer 205
  nil
  "stoc_TrueBit_ver5_Improved_Init"
  'dired-mode
  '(line-number-mode column-number-mode global-auto-revert-mode dired-
sort-mode)
  332
  '(nil nil)
  t
  '("/Projects/code/c-cpp/stochastic/
stoc_TrueBit_ver5_Improved_Init/")
  '((case-fold-search)))

(desktop-create-buffer 205
  nil
  "inc"
  'dired-mode
  '(line-number-mode column-number-mode global-auto-revert-mode dired-
sort-mode)
  263
  '(nil nil)
  t
  '("/Projects/code/c-cpp/stochastic/stoc_TrueBit_ver5_Improved_Init/
inc/")
  '((case-fold-search)))

(desktop-create-buffer 205
  "/Projects/code/c-cpp/stochastic/stoc_TrueBit_ver5_Improved_Init/inc/
matrix.h"
  "matrix.h"
  'c++-mode
  '(abbrev-mode line-number-mode column-number-mode font-lock-mode
lazy-lock-mode global-auto-revert-mode c-auto-hungry-string)
  2333
  '(3206 nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  "/Projects/code/c-cpp/stochastic/stoc_TrueBit_ver5_Improved_Init/src/
main.c"
  "main.c"
  'c-mode
  '(abbrev-mode line-number-mode column-number-mode font-lock-mode
lazy-lock-mode global-auto-revert-mode c-auto-hungry-string)
  14460
  '(14789 nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  "/mnt/i386/Projects/802_3an/rtl/SP32/decoder2048.v"
  "decoder2048.v"
  'verilog-mode
  '(line-number-mode column-number-mode font-lock-mode lazy-lock-mode
global-auto-revert-mode)
  30964
  '(177 nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  "/Projects/code/c-cpp/stochastic/stoc_TrueBit_ver5_Improved_Init/inc/
params.h"
  "params.h"
  'c++-mode
  '(abbrev-mode line-number-mode column-number-mode font-lock-mode
lazy-lock-mode global-auto-revert-mode c-auto-hungry-string)
  5634
  '(5570 nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  "/Projects/code/c-cpp/stochastic/stoc_TrueBit_ver5_Improved_Init/inc/
set_output_paths_thales.h"
  "set_output_paths_thales.h"
  'c++-mode
  '(abbrev-mode line-number-mode column-number-mode font-lock-mode
lazy-lock-mode global-auto-revert-mode c-auto-hungry-string)
  1052
  '(11170 nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  "/Projects/code/c-cpp/stochastic/stoc_TrueBit_ver5_Improved_Init/mak/
Makefile"
  "Makefile"
  'makefile-mode
  '(line-number-mode column-number-mode font-lock-mode lazy-lock-mode
global-auto-revert-mode)
  7821
  '(5503 nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))

(desktop-create-buffer 205
  "/Projects/code/c-cpp/stochastic/stoc_TrueBit_ver5_Improved_Init/src/
matrix.c"
  "matrix.c"
  'c-mode
  '(abbrev-mode line-number-mode column-number-mode font-lock-mode
lazy-lock-mode global-auto-revert-mode c-auto-hungry-string)
  1609960
  '(1614451 nil)
  nil
  nil
  '((overwrite-mode) (fill-column . 70) (case-fold-search . t)
(truncate-lines)))


;;;;;;;;;;;;;;;;;;;;;;;;; desktop file ends here
0
gkamendje (2)
8/5/2009 4:18:38 PM
comp.emacs.xemacs 2750 articles. 0 followers. Post Follow

2 Replies
632 Views

Similar Articles

[PageSpeed] 57

nike <gkamendje@gmail.com> writes:

> I get the following error message when I start my xemacs in a
> directory containing a desktop file (see below).
> (local-variables/warning) File local-variables error: Symbol's value
> as variable is void: compile-command

The reason is quite obvious: something requires compile.el to be
loaded. Putting (require 'compile) into your .xemacs/init.el before
loading desktop files will likely solve this one.

The question now expands to "What needs to have compile-command
defined and WTF doesn't it (require 'compile) itself?". I don't know
the answer to this one.

Regards
Marcus
-- 
note that "property" can also be used as syntaxtic sugar to reference
a property, breaking the clean design of verilog; [...]

             (seen on http://www.veripool.com/verilog-mode_news.html)
0
Marcus
8/6/2009 11:53:29 AM
On Aug 6, 7:53=A0am, Marcus Harnisch <marcus.harni...@gmx.net> wrote:

> The reason is quite obvious: something requires compile.el to be
> loaded. Putting (require 'compile) into your .xemacs/init.el before
> loading desktop files will likely solve this one.
>
> The question now expands to "What needs to have compile-command
> defined and WTF doesn't it (require 'compile) itself?". I don't know
> the answer to this one.
Thanks for the hint. Putting (require 'compile) before loading the
desktop solved the issue.

GA


0
nike
8/6/2009 12:41:35 PM
Reply: