From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#27191: 26.0.50; Long history items in minibuffer (again) Date: Mon, 24 Aug 2020 16:38:02 +0200 Message-ID: <87ft8c9kj9.fsf@gnus.org> References: <874lvzh1wo.fsf@rosalinde> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4525"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 27191@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 24 16:46:09 2020 Return-path: Envelope-to: geb-bug-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 1kADjc-00012m-LA for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Aug 2020 16:46:08 +0200 Original-Received: from localhost ([::1]:56902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kADjb-0005b7-Li for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Aug 2020 10:46:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kADck-0007co-LF for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2020 10:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47275) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kADck-0004Nx-9l for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2020 10:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kADck-0001q7-7u for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2020 10:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Aug 2020 14:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27191 X-GNU-PR-Package: emacs Original-Received: via spool by 27191-submit@debbugs.gnu.org id=B27191.15982798956961 (code B ref 27191); Mon, 24 Aug 2020 14:39:02 +0000 Original-Received: (at 27191) by debbugs.gnu.org; 24 Aug 2020 14:38:15 +0000 Original-Received: from localhost ([127.0.0.1]:58794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kADbz-0001oD-2r for submit@debbugs.gnu.org; Mon, 24 Aug 2020 10:38:15 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:58494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kADbx-0001o0-SW for 27191@debbugs.gnu.org; Mon, 24 Aug 2020 10:38:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bnrEmDp4IOnIrB3oYvB+ZjrP64Ftz/tcdjRftVR45PE=; b=CKHxqz/bEK4uy8m2A2AP6yngrF iHKDeyVtHV29yt9C6mH/mdcvZnTw3CufsGVC08ApCXQrVwQ4vf8SLSmMKwH6FF+ZU/c8WUyW5MPHM 7naZGVyHKWzp2PEtaYPk3ZsIF1Qg6Ruponmpp38tY52D+OTycywBPaOCX1x/+uz1cAZY=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kADbo-0007XQ-74; Mon, 24 Aug 2020 16:38:07 +0200 X-Now-Playing: Sevdaliza's _ISON_: "Amandine Insensible" In-Reply-To: <874lvzh1wo.fsf@rosalinde> (Stephen Berman's message of "Thu, 01 Jun 2017 22:46:15 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:186158 Archived-At: Stephen Berman writes: > 0. emacs -Q > 1. C-x C-f > ~/foo/bar/very/long/file/name/that/overflows/minibuffer/window/line/when/displayed > > 2. C-x C-f > => The file name entered in step 1 appears in the minibuffer, with point > on the "w" of "when" (i.e., column 80, the end of the visual line). > > If at step 2 instead of you type `M-p', then point is at the end of > the file name in the minibuffer. This is what I expected for too. Yes, that's really confusing. I do get a different result than you, though -- point is placed inside the "Find file" prompt when I hit . :-/ That's even worse. > 2017-06-01 Stephen Berman > > Improve navigation through minibuffer history > > * lisp/simple.el (previous-line-or-history-element): If the > element extends beyond window-width, go to its logical end, > since that is the natural target for editing history elements. > If it consists of a single line, move by logical lines to hit > beginning-of-buffer immediately and get the previous history > element. Otherwise, move by visual lines. > Your change makes sense, I think, but when I tried applying the two patches, they no longer applied to Emacs 28, so I couldn't give it a try. Could you possibly respin the patches? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no