From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kiso Katsuyuki Newsgroups: gmane.emacs.devel Subject: Re: Selecting *Compile-log* buffer automatically Date: Sun, 10 Dec 2023 19:07:31 -0600 Message-ID: References: <83r0jtvoom.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000949649060c318fc6" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20832"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 11 02:08:53 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rCUmx-0005Hw-88 for ged-emacs-devel@m.gmane-mx.org; Mon, 11 Dec 2023 02:08:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCUmC-0007IC-VR; Sun, 10 Dec 2023 20:08:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCUlv-0007DN-BH for emacs-devel@gnu.org; Sun, 10 Dec 2023 20:07:49 -0500 Original-Received: from mail-yb1-xb36.google.com ([2607:f8b0:4864:20::b36]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCUls-0007PU-JS; Sun, 10 Dec 2023 20:07:46 -0500 Original-Received: by mail-yb1-xb36.google.com with SMTP id 3f1490d57ef6-db3a09e96daso4051964276.3; Sun, 10 Dec 2023 17:07:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702256862; x=1702861662; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=toP/OggG4l4eOx9eiO1xAJ7fP9QiqQDD4APZqT3rEOk=; b=h0cepnKNFeuXeg6DyhUmQiAWnSd/g57lIy/FQJHOQf8wdu2kmgt7RMYnPxxqOnVBRr X1ysBs4IzX8LBS69ug3q4UQ0vn1NKzFTaSj2gun6Y27mFMUmHASr/6tWh72s97Axv38r 1bCCAkvXtnJdljKvDbJXqkufAQLVn96sjdGT4EeLkvd/XJ4iTGg5ZboLlctZ1xYpHHtn pP2FTcaK/pNTphSUIlWPy5Yyv5SjnEib+po6LoqkFfpwzY5RKoaRorRv+bkdw3ze32f0 yfYxzey8irpFHje6opWI7dD0RnE2KNif2/uOjLc2iNj1sYi2WDzpHjtaJU3xnegLxz9S bDig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702256862; x=1702861662; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=toP/OggG4l4eOx9eiO1xAJ7fP9QiqQDD4APZqT3rEOk=; b=FRy7x4v4QZ5DCaD1Sot+u7vm7oAQVYPg2yYP8XOICKLQ/RQFkPG3SXEELrslp3ZGHe a8du2ogr+dn3I2pO0qsNZhWY3KnUARcF7odlJaQcQUHzX8NIBpDr+boLJ4yYvgFR8cRL KX1NoyUKG0stcZSTjhS87qjwvdg+HDMseo1JYtjj7Dog2CJnUt/KE5DRZVBeKDaJqrMO sA3b2fsVRiorGZySR/vWHG/kvTD6LFM2BoB7D5aaeAGoAVeOj3Iem3iNsQOG7OuKARNW tuPDaeiT6uavoQnQAPBcIPdXNuDSx2pkxiaL81pBsWvL8qRlHVBozlL9H+0Dbq4iYFVE HsnA== X-Gm-Message-State: AOJu0YzBdqafrOP8n2yoBFf6jhHpYxIC2IYve9IDgMDPkixHlxR91JDR Xy3z5BzRC5sAvDl3KjOaDul6Yx5NTGZpGB6dnhbXwm+qwyY= X-Google-Smtp-Source: AGHT+IFjDYNN1W+kXC8AWr4yjNyhQBI8VauB2IbPc1KMZIMYhkpi2KjImjacUxFBHVoSyZlrylnW2t3OGHYFyvcvCoM= X-Received: by 2002:a25:cb81:0:b0:db5:48b0:292f with SMTP id b123-20020a25cb81000000b00db548b0292fmr2083825ybg.57.1702256862072; Sun, 10 Dec 2023 17:07:42 -0800 (PST) In-Reply-To: <83r0jtvoom.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::b36; envelope-from=katsuyuki2388@gmail.com; helo=mail-yb1-xb36.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:313697 Archived-At: --000000000000949649060c318fc6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Eli, Thanks for the comments! >Can you elaborate why you needed to select it? Emacs has commands to >scroll non-selected windows, you should be able to view the >compilation log without the need to select its window. In almost all my byte-compile, warnings like "Warning: assignment to free variable...", "Warning: the function =E2=80=98foo=E2=80=99 might not be defined at runtim= e", and etc. occur. Warnings and Errors have Emacs display the *Compile-log* buffer (this is the default behavior). I usually ignores this kind of warnings, so I just move focus to the *Compile-log* buffer window, bury it (keybind "q" by default), and then I can restore the original window configuration. I want to skip the step to move focus to the *Compile-log* buffer window. --000000000000949649060c318fc6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Eli,

Thanks for the comments!

>Can you= elaborate why you needed to select it?=C2=A0 Emacs has commands to
>= scroll non-selected windows, you should be able to view the
>compilat= ion log without the need to select its window.

In almost all my byte= -compile, warnings like "Warning: assignment to free variable..."= ,
"Warning: the function =E2=80=98foo=E2=80=99 might not be defined= at runtime", and etc. occur.
Warnings and Errors have Emacs displa= y the *Compile-log* buffer
(this is the default behavior). I usually ign= ores this kind of warnings,
so I just move focus to the *Compile-log* bu= ffer window, bury it (keybind "q" by default),
and then I can = restore the original window configuration. I want to skip the step to move = focus to
the *Compile-log* buffer window.


--000000000000949649060c318fc6--