all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: 8137@debbugs.gnu.org
Subject: bug#8137: Requiring a file during bytecompilation runs that file's kill-emacs-hook.
Date: Mon, 28 Feb 2011 10:28:12 +0100	[thread overview]
Message-ID: <4D6B6AAC.5040409@gmx.at> (raw)
In-Reply-To: <AANLkTi=i6KapVmBwUoHhCP4nu7CUPDRRfeYxRg-TOQ9z@mail.gmail.com>

 > After this change (from a few months ago, but I just discovered):
 >
 > revno: 101722
 > committer: Glenn Morris <rgm@gnu.org>
 > branch nick: trunk
 > timestamp: Fri 2010-10-01 19:30:11 -0700
 > message:
 >   Run kill-emacs-hook in batch mode, and on SIGINT in batch mode.
 >   See thread http://lists.gnu.org/archive/html/emacs-devel/2010-09/msg00795.html
 >
 >   * src/emacs.c (fatal_error_signal): Also run Fkill_emacs on SIGINT.
 >   (main) [!WINDOWSNT]: Handle SIGINT with fatal_error_signal
 >   in batch-mode.
 >   (Fkill_emacs): Doc fix.  Also run the hook in batch mode.
 >   (kill-emacs-hook): Doc fix.
 >
 >
 > compiling code requiring a file that sets kill-emacs-hook runs that
 > hook, for example
 >
 > ;;; bug.el
 > (require 'saveplace)
 > ;;; end of bug.el
 >
 > emacs -batch -Q -f batch-byte-compile bug.el
 > Wrote c:/emacs/repo/bug.elc
 > Wrote c:/my_home/.emacs-places

Could this be also the cause of

bug#8134: (Some special files were saved without asking)

?

martin





  reply	other threads:[~2011-02-28  9:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-28  5:13 bug#8137: Requiring a file during bytecompilation runs that file's kill-emacs-hook Juanma Barranquero
2011-02-28  9:28 ` martin rudalics [this message]
2011-02-28 12:27   ` Juanma Barranquero
2011-02-28 14:14     ` martin rudalics
2011-02-28 17:23 ` Chong Yidong
2011-03-03 17:18   ` Juanma Barranquero
2011-03-05 20:24     ` Chong Yidong
2011-03-05 22:34       ` Juanma Barranquero
2011-03-05 23:58         ` Chong Yidong
2011-03-06  0:58           ` Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D6B6AAC.5040409@gmx.at \
    --to=rudalics@gmx.at \
    --cc=8137@debbugs.gnu.org \
    --cc=lekktu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.