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.bugs Subject: bug#65621: [PATCH] `dired-next-line' go to meaningful line Date: Wed, 30 Aug 2023 16:36:06 +0300 Message-ID: <834jkghcu1.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19733"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65621@debbugs.gnu.org To: Shynur Xie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 30 15:37:14 2023 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 1qbLNi-0004yG-OA for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Aug 2023 15:37:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qbLNQ-0004ov-9f; Wed, 30 Aug 2023 09:36:56 -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 1qbLNO-0004og-HV for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 09:36:54 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qbLNO-0006Sz-9N for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 09:36:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qbLNV-0002PO-Md for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 09:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Aug 2023 13:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65621 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 65621-submit@debbugs.gnu.org id=B65621.16934026099238 (code B ref 65621); Wed, 30 Aug 2023 13:37:01 +0000 Original-Received: (at 65621) by debbugs.gnu.org; 30 Aug 2023 13:36:49 +0000 Original-Received: from localhost ([127.0.0.1]:52428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbLNJ-0002Ow-29 for submit@debbugs.gnu.org; Wed, 30 Aug 2023 09:36:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbLND-0002Oh-Lh for 65621@debbugs.gnu.org; Wed, 30 Aug 2023 09:36:48 -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 1qbLN0-0006NU-LL; Wed, 30 Aug 2023 09:36:30 -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=xLux9NcHO8I+9EDK/Dio4GzttamTEgAwOWayPrfudy4=; b=VnSskJzvYacD 7fDE+34EgLzYlh+gSv8ZUMMif8nD/NvuNFxpZxGGafOm/nXXHo8LYfQeQPzepgfVhOQZwBHwFpniF du3/E5moOAr/HJxtWGKWrjGS6QdYrpRhWgqz3wmO8ikrzDntuqWe4brn01PG5yvJSNAMSF5KbCuwY XFE1IRsoopU0UhjaQ0oVaG64C9z7anjXz+pTrpCsXlkP9iFLOKotO8Bkc5Fur9g9lZVIy51Idf2tE omuEDueQUpicb7vkxoKMFTguwnbTzKQbIwcIzL+ZHe05D3rH5cQp5RyjOsQo6rtB6baGECASdqniL ghGpzBUC3daY+hYZoI6UBg==; In-Reply-To: (message from Shynur Xie on Wed, 30 Aug 2023 13:02:43 +0000) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:268708 Archived-At: > From: Shynur Xie > Date: Wed, 30 Aug 2023 13:02:43 +0000 > > Cursor in Dired buffer sometimes go to a line which is not an item > line. For example, the 1st line and the last line: > > > d:/Desktop/.emacs.d/site-lisp: > drwxrwxrwx shynur 4096 08/30 18:15 . > drwxrwxrwx shynur 4096 08/30 18:07 .. > -rw-rw-rw- shynur 304 08/09 3:01 subdirs.el > > \Newline here. > > Avoiding these lines may improve the experience when moving cursor. > The attaching patch implements this. > > If there is no visible item line, move the cursor as Dired used to do. Thanks, but I personally fail to see why people would like this. It basically means that if I want to copy those "forbidden" lines to the kill ring or the clipboard, I can't (except by disabling this feature). Is it really a good idea?