From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Richard Newsgroups: gmane.emacs.help Subject: Re: Byte-compiler warnings Date: Thu, 25 Jun 2015 14:56:36 +0200 Message-ID: <87wpysdjzv.fsf@members.fsf.org> References: <874mlxh2tk.fsf@mbork.pl> <87h9pwis3q.fsf@nl106-137-147.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1435237023 10817 80.91.229.3 (25 Jun 2015 12:57:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Jun 2015 12:57:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 25 14:56:58 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z86i9-00062D-Br for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Jun 2015 14:56:57 +0200 Original-Received: from localhost ([::1]:55623 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z86i8-0002K4-QC for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Jun 2015 08:56:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z86hs-0002BO-Mb for help-gnu-emacs@gnu.org; Thu, 25 Jun 2015 08:56:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z86hp-0007e0-C3 for help-gnu-emacs@gnu.org; Thu, 25 Jun 2015 08:56:40 -0400 Original-Received: from mxin.ulb.ac.be ([164.15.128.112]:60996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z86hp-0007dk-6U for help-gnu-emacs@gnu.org; Thu, 25 Jun 2015 08:56:37 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqcGALT5i1WkD4Xx/2dsb2JhbABbhESqZQEBAQEBAQaaCAKCCwEBAQEBAYELhCMBAQSBCQgDISUPAQRciC/OR4YchS6FDRaEFQWUBZN3kBImg3w8MYJIAQEB Original-Received: from mathsrv4.ulb.ac.be (HELO localhost) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 25 Jun 2015 14:56:36 +0200 In-Reply-To: <87h9pwis3q.fsf@nl106-137-147.student.uu.se> (Emanuel Berg's message of "Thu, 25 Jun 2015 01:50:17 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 164.15.128.112 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105154 Archived-At: Emanuel Berg writes: > One question is: if (goto-char (point-min)) is > equivalent, why cannot the byte-compiler just use that > instead for the compiled version? It's not equivalent. e.g. if you want to set point at beginning of line, you can use beginning-of-line (or forward-line, depending on the circumstances) Now what the warning says is : if you're interested in move to beginning-of-buffer, don't use beginning-of-buffer, use the other approach instead. -- Nico