GNU bug report logs -
#14483
Problem with loading ~/.emacs file
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi folks,
I have a problem as well with loading that file (~/.emacs) stored in my
home directory.
when I am trying to open them it finish infinite loop.
BZ(https://bugzilla.redhat.com/show_bug.cgi?id=827898)
Could you please advice me what is wrong?
my ~/.emacs file looks like:
*;; Options Menu Settings --*- emacs-lisp -*--
;; =====================
(unless (featurep 'xemacs)
(add-to-list 'load-path "~/.emacs-config/lisp.emacs" t)
(add-to-list 'load-path "~/.emacs-config/lisp.xemacs" t))
(add-to-list 'load-path "~/.emacs-config/lisp" t)
(defun ensc/new-cxx-file (cxx_unified_name)
(interactive
(list (read-string "Please insert an unique macro-name to prevent
multiple compilation: " nil 'ensc/include-guard-history)))
; "sPlease insert an unique macro-name to prevent multiple compilation: ")
; (c++-mode)
(insert "/*\t--*- "
(if (string-match "\\.\\(hh\\|cc\\|hcc\\|icc\\)$"
(buffer-file-name)) "c++" "c")
" -*--\n")
(require 'gpl)
(insert " * " gpl-copyright-line "\n" )
(gpl-insert-notice " *" (gpl-generic-notice))
(insert " */\n")
(if (not (string= cxx_unified_name ""))
(insert "\n"
"#ifndef " cxx_unified_name "\n"
"#define " cxx_unified_name "\n")
(unless (string-match "\\.icc$" (buffer-file-name))
(insert "\n"
"#ifdef HAVE_CONFIG_H\n"
"# include <config.h>\n"
"#endif\n")))
(insert "\n")
(unless (string= cxx_unified_name "")
(save-excursion
(insert "\n\n"
"#endif\t/* " cxx_unified_name " */\n")))
)
(message "Finished init.el.")
*
--
Best regards / S pozdravem
Petr Hracek
[Message part 2 (text/html, inline)]
This bug report was last modified 12 years and 51 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.