GNU bug report logs - #65621
[PATCH] `dired-next-line' go to meaningful line

Previous Next

Package: emacs;

Reported by: Shynur Xie <one.last.kiss <at> outlook.com>

Date: Wed, 30 Aug 2023 13:09:01 UTC

Severity: wishlist

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#65621: closed ([PATCH] `dired-next-line' go to meaningful line)
Date: Sun, 10 Sep 2023 07:47:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 10 Sep 2023 10:45:30 +0300
with message-id <83sf7msc85.fsf <at> gnu.org>
and subject line Re: bug#65621: [PATCH] `dired-next-line' go to meaningful line
has caused the debbugs.gnu.org bug report #65621,
regarding [PATCH] `dired-next-line' go to meaningful line
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
65621: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65621
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Shynur Xie <one.last.kiss <at> outlook.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: [PATCH] `dired-next-line' go to meaningful line
Date: Wed, 30 Aug 2023 13:02:43 +0000
[Message part 3 (text/plain, inline)]
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.
[0001-dired-next-line-go-to-meaningful-line.patch (application/octet-stream, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Shynur Xie <one.last.kiss <at> outlook.com>
Cc: 65621-done <at> debbugs.gnu.org, stefankangas <at> gmail.com
Subject: Re: bug#65621: [PATCH] `dired-next-line' go to meaningful line
Date: Sun, 10 Sep 2023 10:45:30 +0300
> From: Shynur Xie <one.last.kiss <at> outlook.com>
> CC: "65621 <at> debbugs.gnu.org" <65621 <at> debbugs.gnu.org>
> Date: Sat, 2 Sep 2023 14:40:29 +0000
> msip_labels:
> 
> > We prefer that the documentation accompanies the code changes.  If
> > nothing else, this enlarges the group of people who can write good
> > documentation for Emacs.  It also lowers the probability that we
> > will forget to document changes.
> 
> Understood.  This is my first time to write a NEWS entry, so it may
> not be considered good documentation.
> 
> New patch is attached.  Thanks in advance for reviewing.

Thanks, installed on the master branch, and closing the bug.


This bug report was last modified 1 year and 260 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.