From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#24359: Patch for byte compilation bugs Date: Sun, 11 Sep 2016 12:36:30 -0400 Message-ID: <87fup61jht.fsf@users.sourceforge.net> References: <878tv79xw6.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1473611844 31252 195.159.176.226 (11 Sep 2016 16:37:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Sep 2016 16:37:24 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 24359@debbugs.gnu.org To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 11 18:37:20 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bj7km-0006oi-9O for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Sep 2016 18:37:12 +0200 Original-Received: from localhost ([::1]:38359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bj7kn-0007N8-DG for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Sep 2016 12:37:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bj7kg-0007Mh-Qx for bug-gnu-emacs@gnu.org; Sun, 11 Sep 2016 12:37:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bj7kc-0005Hr-KR for bug-gnu-emacs@gnu.org; Sun, 11 Sep 2016 12:37:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bj7kc-0005Hl-Fv for bug-gnu-emacs@gnu.org; Sun, 11 Sep 2016 12:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bj7kc-0002uF-Bw for bug-gnu-emacs@gnu.org; Sun, 11 Sep 2016 12:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Sep 2016 16:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24359 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24359-submit@debbugs.gnu.org id=B24359.147361177611120 (code B ref 24359); Sun, 11 Sep 2016 16:37:02 +0000 Original-Received: (at 24359) by debbugs.gnu.org; 11 Sep 2016 16:36:16 +0000 Original-Received: from localhost ([127.0.0.1]:56653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bj7js-0002tI-BE for submit@debbugs.gnu.org; Sun, 11 Sep 2016 12:36:16 -0400 Original-Received: from mail-oi0-f43.google.com ([209.85.218.43]:32859) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bj7jr-0002t6-Av for 24359@debbugs.gnu.org; Sun, 11 Sep 2016 12:36:15 -0400 Original-Received: by mail-oi0-f43.google.com with SMTP id y2so259284341oie.0 for <24359@debbugs.gnu.org>; Sun, 11 Sep 2016 09:36:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=Ec2+UD23UzeDvFGCWhSAw5BCl/7SklwQ2y6JZc3bdOE=; b=Zd+iq4gS7BY2sQ1+nh9Ed3IpXRSZ+9DgoS5WyUnrf6xsk1c6epX7kxETdQMCBq9Pp+ 3VIEqATHaxIrAVelego7QXBllZc2rxsw+KqICeHAnhdEUZIl0QamjREfGeE7imBJ1q2+ QQMlttex4xFmG59/xgg24oCKoCNeS4QOVXGUE1JUtYe9PRaCyBt12UUqk2BzohTg9Ak9 8OYze6X955o/96A72GljRhV8PY2FUmz4FKub+bIp0ZVlgS2vNHz6BYebeFVI0K3krEoh hlJcbijNYMqJM5BH0QMYvYSTVw9xR4GYWjw0pEMWD0WM2KSLWdHmk+3Xqb+G+IIHeOUj ApZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=Ec2+UD23UzeDvFGCWhSAw5BCl/7SklwQ2y6JZc3bdOE=; b=X/VtyjFhgL8Bvl3tjgU+j4sXU8aH1pgh/skhBMc+d4XRYbBnpc9E4J+iMKTgBsPWW6 RDqkrXVczuJk6JGrLSP4UmNu3lvX2Nq+6+K5djrajcX8FQ+O1Qr8OGnzNcuWusbsHRGG qavChRPk5VG2iJWpuErre7pFGP/YnL2VkCIsUcXxk+AJQGGUzsMp5HGoO0k7X7wKlHnS Xh7rrkdMo2wPirxM/WKDtSRf/s8N/XTRairQDEjCyowURuokfvS3+wGGRMcfOF/z92/t sNhYWro7P8Nh3u/leYK3kx2KdUSZCc8umt5waZO3784WrgwSJh/NdBrAXWI+p/vcJbsT 9oxw== X-Gm-Message-State: AE9vXwNCKXBzv3yivRsnmzlidwBGJfcsD3gVBDYGRmd+9dQWncjHagtfldoUtUC6R17/IQ== X-Received: by 10.202.102.198 with SMTP id m67mr3203639oik.1.1473611769762; Sun, 11 Sep 2016 09:36:09 -0700 (PDT) Original-Received: from zony ([45.2.7.130]) by smtp.googlemail.com with ESMTPSA id v7sm8074440ita.9.2016.09.11.09.36.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Sep 2016 09:36:09 -0700 (PDT) In-Reply-To: (Philipp Stephani's message of "Sun, 11 Sep 2016 16:05:27 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:123179 Archived-At: Philipp Stephani writes: > Philipp Stephani writes: > > > > * lisp/emacs-lisp/macroexp.el (macroexp--funcall-if-compiled) > > (macroexp--warn-and-return): Use =E2=80=98byte-compile-warn=E2=80=99 i= nstead of > > =E2=80=98byte-compile-log-warning=E2=80=99. > > > > * lisp/emacs-lisp/bytecomp.el (byte-compile-form, byte-compile-unfold-= bcf) > > (byte-compile-setq, byte-compile-funcall): Use > > =E2=80=98byte-compile-report-error=E2=80=99 instead of =E2=80=98byte-c= ompile-log-warning=E2=80=99. > [...] > > * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use) > > (cconv--analyze-function, cconv-analyze-form): Use > > =E2=80=98byte-compile-warn=E2=80=99 instead of =E2=80=98byte-compile-l= og-warning=E2=80=99. > > > > * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): Use > > =E2=80=98byte-compile-warn=E2=80=99 instead of =E2=80=98byte-compile-l= og-warning=E2=80=99. > > > > * lisp/subr.el (add-to-list): Use =E2=80=98byte-compile-report-error= =E2=80=99 instead > > of =E2=80=98byte-compile-log-warning=E2=80=99. > > (do-after-load-evaluation): Use =E2=80=98byte-compile-warn=E2=80=99 in= stead of > > =E2=80=98byte-compile-log-warning=E2=80=99. > > I think you can combine all these into one entry. > > I wouldn't know how, as they are for different files, and AFAIK the chang= elog format doesn't allow combining messages across files. Just put them together like entries in the same file, e.g. * lisp/emacs-lisp/macroexp.el (macroexp--funcall-if-compiled) (macroexp--warn-and-return): * lisp/emacs-lisp/bytecomp.el (byte-compile-form, byte-compile-unfold-bcf) (byte-compile-setq, byte-compile-funcall): Use =E2=80=98byte-compile-report-error=E2=80=99 and =E2=80=98byte-compile-warn= =E2=80=99 instead of =E2=80=98byte-compile-log-warning=E2=80=99. Another example is in 6acff252: * src/window.c (window_scroll_pixel_based): * src/xdisp.c (pos_visible_p): Don't allow simulated redisplay to start outside the accessible portion of the buffer. This avoids assertion violations when some Lisp narrows the buffer to less than the current window, and then attempts to scroll the buffer.