GNU bug report logs -
#14483
Problem with loading ~/.emacs file
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14483 in the body.
You can then email your comments to 14483 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#14483; Package
emacs.
(Mon, 27 May 2013 15:09:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Petr Hracek <phracek <at> redhat.com>:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org.
(Mon, 27 May 2013 15:09:01 GMT)
Full text and
rfc822 format available.
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)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#14483; Package
emacs.
(Tue, 28 May 2013 01:54:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 14483 <at> debbugs.gnu.org (full text, mbox):
Petr Hracek wrote:
> BZ(https://bugzilla.redhat.com/show_bug.cgi?id=827898)
Insufficient data for meaningful answer.
(Also, this seems to be a year-old report from a pretest version of
Emacs 24.1.)
> my ~/.emacs file looks like:
Works fine for me with 24.3.
> (unless (featurep 'xemacs)
> (add-to-list 'load-path "~/.emacs-config/lisp.emacs" t)
> (add-to-list 'load-path "~/.emacs-config/lisp.xemacs" t))
Doesn't seem to make sense to add lisp.xemacs when not using XEmacs.
> (add-to-list 'load-path "~/.emacs-config/lisp" t)
These 3 directories could contain literally anything at all.
The OP might try
(setq debug-on-quit t)
at the start of .emacs, then interrupt it with ctrl-g when it hangs and
examine the backtrace.
bug closed, send any further explanations to
14483 <at> debbugs.gnu.org and Petr Hracek <phracek <at> redhat.com>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org.
(Tue, 04 Jun 2013 03:42:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org.
(Tue, 02 Jul 2013 11:24:05 GMT)
Full text and
rfc822 format available.
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.