From bcd7c6f4cd60a9c7ea4426317eeff910b6b88827 Mon Sep 17 00:00:00 2001 From: vindarel Date: Mon, 24 Jul 2023 10:39:26 +0200 Subject: [PATCH 1/2] directory-mode: follow file name at point after sort (improve) --- src/ext/directory-mode.lisp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ext/directory-mode.lisp b/src/ext/directory-mode.lisp index d4b522a48..73ac234c4 100644 --- a/src/ext/directory-mode.lisp +++ b/src/ext/directory-mode.lisp @@ -458,7 +458,7 @@ "Sort files: by name, by last modification time, then by size. Each new directory buffer first uses the default sort method (`lem/directory-mode:*default-sort-method*')" - (let ((filename (file-namestring (get-pathname (current-point))))) + (let ((path (get-pathname (current-point)))) (cond ;; mtime -> size ((eql (buffer-value (current-buffer) :sort-method) :mtime) @@ -477,7 +477,8 @@ (update (current-buffer) :sort-method :mtime))) ;; Follow file name. - (search-filename-and-recenter filename))) + (when (and path (str:non-blank-string-p (file-namestring path))) + (search-filename-and-recenter (file-namestring path))))) (define-command make-directory (filename) ("FMake directory: ") (setf filename (uiop:ensure-directory-pathname filename)) From bcfb183d1ca1082849a3c82c949ce3ac164637e5 Mon Sep 17 00:00:00 2001 From: vindarel Date: Mon, 24 Jul 2023 10:43:29 +0200 Subject: [PATCH 2/2] README: bump version [ci skip] --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6c2831f07..2d5f36c7f 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,9 @@ Other Lem features include: # Download -**Lem 2.0 was released!** +**Lem 2.1 was released!** -See our [Lem 2.0 realease](https://github.com/lem-project/lem/releases/tag/v2.0.0) to +See our [Lem 2.1 realease](https://github.com/lem-project/lem/releases/tag/v2.1.0) to download binaries for Windows, MacOS and Linux. On mac, you need to run `xattr -d com.apple.quarantine /Applications/lem.app`.