From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Move the point to the end of current buffer with the whole buffer selected. Date: Fri, 26 May 2023 09:44:48 +0300 Message-ID: <83o7m7lhgf.fsf@gnu.org> References: <877csvvjz2.fsf@web.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21404"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 26 08:44:43 2023 Return-path: Envelope-to: geh-help-gnu-emacs@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 1q2RBr-0005OU-K0 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 26 May 2023 08:44:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2RBS-0007BZ-DO; Fri, 26 May 2023 02:44:18 -0400 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 1q2RBR-0007BC-At for help-gnu-emacs@gnu.org; Fri, 26 May 2023 02:44:17 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2RBR-0004JB-29 for help-gnu-emacs@gnu.org; Fri, 26 May 2023 02:44:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=So8NHAzC9KQ6tHuJ29VUE5uUAhgQr+QZfKR3+k6P0Jc=; b=eQQmG7fJwudl uybWvOba4kK4Jay1cmJsRIIRyhga9z4riHCrCX/t6Bol2MlraxqOlCZir5fhthH8Wk29/dlTw1R86 M4taz7fBxufmOKKPvjTFnslRMumqIidO7mfgHKb/Po5wHEWwzlH1sIOgZkcUS7vJRkjrS7VmgdOkE PTg/Vayoag/6+I1cVrBE9fn+wF6iKXVEM3YKe7x2M6qzpIRGpV7xs9oWF0kWExuz6tx4nHrgR2PjF mX7r9Mk956qnf4y3E4wyIZbj8KRvrDjlKvO6QVWT5pnDdVjLI/zApte4FG+q5Sx+38eiDqDpciKLE fEe5ciOgF8OmANaXoPxCMw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2RBQ-0007na-Hy for help-gnu-emacs@gnu.org; Fri, 26 May 2023 02:44:16 -0400 In-Reply-To: <877csvvjz2.fsf@web.de> (message from Michael Heerdegen on Fri, 26 May 2023 05:40:17 +0200) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143748 Archived-At: > From: Michael Heerdegen > Date: Fri, 26 May 2023 05:40:17 +0200 > > Hongyi Zhao writes: > > > In order to execute `query-replace-regexp' on current buffer, it needs > > to move the point to the end of current buffer with the whole buffer > > selected. > > Does it? Doesn't moving to the beginning of the buffer (M-<) suffice? > > Anyway, there is `mark-whole-buffer' on C-x h. Or C-S- (assuming you have the function key on your keyboard).