all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#27340: 26.0.50; byte-compile-delete-errors value changes unexpectedly
@ 2017-06-12 10:30 Katsumi Yamaoka
  2017-06-12 11:12 ` npostavs
  0 siblings, 1 reply; 6+ messages in thread
From: Katsumi Yamaoka @ 2017-06-12 10:30 UTC (permalink / raw)
  To: 27340

Hi,

When loading a certain Lisp module that requires eieio, the value
of `byte-compile-delete-errors' is changed to t (the default nil)
unexpectedly.  For instance:

emacs -batch -Q -l auth-source -eval '(message "%s" byte-compile-delete-errors)'
=> t

Because of this, the byte compiler gets oddly quiet when compiling
a Lisp source on a running Emacs than `batch-byte-compile'.  What
changes the value of `byte-compile-delete-errors' is the following
section of eieio-core.el:

--8<---------------cut here---------------start------------->8---
(cl-defstruct (eieio--class
               (:constructor nil)
               (:constructor eieio--class-make (name))
               (:include cl--class)
               (:copier nil))
  children
  initarg-tuples                  ;; initarg tuples list
  (class-slots nil :type eieio--slot)
  class-allocation-values         ;; class allocated value vector
  default-object-cache ;; what a newly created object would look like.
                       ; This will speed up instantiation time as
                       ; only a `copy-sequence' will be needed, instead of
                       ; looping over all the values and setting them from
                       ; the default.
  options ;; storage location of tagged class option
          ; Stored outright without modifications or stripping
  )
--8<---------------cut here---------------end--------------->8---

Though I don't know why it changes `byte-compile-delete-errors',
I think it's a bug.

Thanks.

In GNU Emacs 26.0.50 (build 1, i686-pc-cygwin, GTK+ Version 3.18.9)
 of 2017-06-12 built on localhost
Windowing system distributor 'The Cygwin/X Project', version 11.0.11900000





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-06-24 14:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-12 10:30 bug#27340: 26.0.50; byte-compile-delete-errors value changes unexpectedly Katsumi Yamaoka
2017-06-12 11:12 ` npostavs
2017-06-15  8:49   ` Katsumi Yamaoka
2017-06-16 11:37     ` npostavs
2017-06-19  9:23       ` Katsumi Yamaoka
2017-06-24 14:19         ` npostavs

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.