all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#12965: 24.3.50; Suppress *Compile-log* buffer during init
@ 2012-11-23  7:39 Jambunathan K
  2012-11-23 15:46 ` Stefan Monnier
  2012-11-26 20:01 ` Stefan Monnier
  0 siblings, 2 replies; 5+ messages in thread
From: Jambunathan K @ 2012-11-23  7:39 UTC (permalink / raw)
  To: 12965


When I am starting up my Emacs, I am getting a split window with top
half containing `initial-buffer-choice' and bottom half showing
"*Compile-Log*" contents.

,----
| elisp/bbdb-2.35/lisp/bbdb-com.elc:Warning: Use `with-current-buffer' rather
|     than save-excursion+set-buffer
| .emacs.elc:Warning: reference to free variable `Info-current-file'
`----

Should snippet below /really/ produce a "*Compile-Log*" when /loading/
my .emacs.elc.

Anyways, I need a way to have this "*Compile-Log*" suppressed or buried.
AFAIK, this "split-window-with-compile-log-in-foreground" is a fairly
recent behaviour with the trunk.


Annexure:

--8<---------------cut here---------------start------------->8---
;; (require 'info)
(defadvice info-display-manual
  (after my-info-display-manual activate)
  (rename-buffer
   (format "*info* (%s)"
	   (capitalize (file-name-directory Info-current-file)))))

(global-set-key "\bi" (quote info-display-manual))
--8<---------------cut here---------------end--------------->8---

In GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2012-11-21 on debian-6.05
Bzr revision: 110967 rgm@gnu.org-20121121044755-u0jd8639omz57us3
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
  value of $LANG: en_IN
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: t






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

* bug#12965: 24.3.50; Suppress *Compile-log* buffer during init
  2012-11-23  7:39 bug#12965: 24.3.50; Suppress *Compile-log* buffer during init Jambunathan K
@ 2012-11-23 15:46 ` Stefan Monnier
  2012-11-26 20:01 ` Stefan Monnier
  1 sibling, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2012-11-23 15:46 UTC (permalink / raw)
  To: Jambunathan K; +Cc: 12965

> When I am starting up my Emacs, I am getting a split window with top
> half containing `initial-buffer-choice' and bottom half showing
> "*Compile-Log*" contents.
> ,----
> | elisp/bbdb-2.35/lisp/bbdb-com.elc:Warning: Use `with-current-buffer' rather
> |     than save-excursion+set-buffer
> | .emacs.elc:Warning: reference to free variable `Info-current-file'
> `----
> Should snippet below /really/ produce a "*Compile-Log*" when /loading/
> my .emacs.elc.

This is not a new problem, actually.  Even if it didn't happen earlier,
it's not because byte-compiler's warnings have changed, but because
some change either causes a code to be byte-compiled which wasn't before.

My guess is that the changes in advice.el have as a side consequence
that your advice now gets compiled even before info.el is loaded.

> Anyways, I need a way to have this "*Compile-Log*" suppressed or buried.

Yes, I think we should change bytecomp.el so that those warnings get
output via `message' when we're not byte-compiling a whole file.

> AFAIK, this "split-window-with-compile-log-in-foreground" is a fairly
> recent behaviour with the trunk.

Actually, no, it's been there for quite a while.


        Stefan





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

* bug#12965: 24.3.50; Suppress *Compile-log* buffer during init
  2012-11-23  7:39 bug#12965: 24.3.50; Suppress *Compile-log* buffer during init Jambunathan K
  2012-11-23 15:46 ` Stefan Monnier
@ 2012-11-26 20:01 ` Stefan Monnier
  2012-11-27  4:11   ` Jambunathan K
  1 sibling, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2012-11-26 20:01 UTC (permalink / raw)
  To: Jambunathan K; +Cc: 12965


Actually, while the general problem is old, its appearance in your case
is indeed due to a recent change in advice.el which I think was a bug.
I've installed a patch on trunk which should fix the problem.
Please confirm,


        Stefan





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

* bug#12965: 24.3.50; Suppress *Compile-log* buffer during init
  2012-11-26 20:01 ` Stefan Monnier
@ 2012-11-27  4:11   ` Jambunathan K
  2012-11-27  5:15     ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Jambunathan K @ 2012-11-27  4:11 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 12965


> Actually, while the general problem is old, its appearance in your case
> is indeed due to a recent change in advice.el which I think was a bug.
> I've installed a patch on trunk which should fix the problem.
> Please confirm,

Fixed.  The bug can be closed.

Some book-keeping info,

    1. *Compile-Log* no longer comes to the fore.
    2. It contains a sole warning 

        ,----
        | elisp/bbdb-2.35/lisp/bbdb-com.elc:Warning: Use `with-current-buffer' rather
        |     than save-excursion+set-buffer
        `----

    3. The warning pertaining to defadvice has disappeared.

>         Stefan





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

* bug#12965: 24.3.50; Suppress *Compile-log* buffer during init
  2012-11-27  4:11   ` Jambunathan K
@ 2012-11-27  5:15     ` Stefan Monnier
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2012-11-27  5:15 UTC (permalink / raw)
  To: Jambunathan K; +Cc: 12965-done

> Fixed.  The bug can be closed.

Thanks, done.

>     2. It contains a sole warning 

>         ,----
>         | elisp/bbdb-2.35/lisp/bbdb-com.elc:Warning: Use `with-current-buffer' rather
>         |     than save-excursion+set-buffer
>         `----

Until someone changes bytecomp.el to use `message' when compiling
a single function, you'll either have to live it or fix it on
BBDB's side.
BTW, you might like to upgrade to bbdb-3.


        Stefan





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

end of thread, other threads:[~2012-11-27  5:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-23  7:39 bug#12965: 24.3.50; Suppress *Compile-log* buffer during init Jambunathan K
2012-11-23 15:46 ` Stefan Monnier
2012-11-26 20:01 ` Stefan Monnier
2012-11-27  4:11   ` Jambunathan K
2012-11-27  5:15     ` Stefan Monnier

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.