[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/jarchive b93da9f976 17/33: Do NOT implement file-attrib
From: |
ELPA Syncer |
Subject: |
[elpa] externals/jarchive b93da9f976 17/33: Do NOT implement file-attributes |
Date: |
Sat, 12 Nov 2022 17:57:56 -0500 (EST) |
branch: externals/jarchive
commit b93da9f97679036032ec4488cecd51d554ebe7a7
Author: dannyfreeman <danny@dfreeman.email>
Commit: dannyfreeman <danny@dfreeman.email>
Do NOT implement file-attributes
At least not in terms of the jar.
Navigating with `find-buffer-visiting` will use file-attributes to try
to id an existing buffer with matching attributes. This means that
navigating to a file in a jar, call it F2, where there exists ANOTHER
open file, called F1, then F1 may be opened instead of F2.
Instead we just return nil, which is what the system file-attributes
implementation will do.
---
jarchive.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jarchive.el b/jarchive.el
index a3a3bd1f83..347f3c65de 100644
--- a/jarchive.el
+++ b/jarchive.el
@@ -57,7 +57,7 @@ See `(elisp)Magic File Names'."
((eq op 'file-name-nondirectory) (file-name-nondirectory file-path))
((eq op 'directory-file-name) (directory-file-name
(file-name-directory jar-path)))
((eq op 'file-name-case-insensitive-p) (file-name-case-insensitive-p
jar-path))
- ((eq op 'file-attributes) (file-attributes jar-path (cadr args)))
+ ((eq op 'file-attributes) nil)
;; Predicates
((eq op 'file-directory-p) nil)
- [elpa] externals/jarchive abea8e79ec 28/33: Typo, (continued)
- [elpa] externals/jarchive abea8e79ec 28/33: Typo, ELPA Syncer, 2022/11/12
- [elpa] externals/jarchive 0361896bdc 29/33: Address package-lint feedback, ELPA Syncer, 2022/11/12
- [elpa] externals/jarchive 149f37507e 31/33: Separate Eglot patching process to be invoked manually by the user, ELPA Syncer, 2022/11/12
- [elpa] externals/jarchive d209394a47 08/33: Set a different buffer name that doesn't match the jarchive-regex, ELPA Syncer, 2022/11/12
- [elpa] externals/jarchive b226bfd66c 09/33: Helper functions for matching parts of the jar/file path, ELPA Syncer, 2022/11/12
- [elpa] externals/jarchive ec1da7f538 14/33: Allow user to relocate extracted files to the previous project., ELPA Syncer, 2022/11/12
- [elpa] externals/jarchive d8fa586e1c 21/33: Also work with "zipfile" scheme URIs from clojure-lsp, ELPA Syncer, 2022/11/12
- [elpa] externals/jarchive 72465b705a 30/33: Address checkdoc feedback, ELPA Syncer, 2022/11/12
- [elpa] externals/jarchive 4aa2e5d394 13/33: Add section to readme for mailing list, ELPA Syncer, 2022/11/12
- [elpa] externals/jarchive a4505a4784 32/33: Add FSF as copyright holder, ELPA Syncer, 2022/11/12
- [elpa] externals/jarchive b93da9f976 17/33: Do NOT implement file-attributes,
ELPA Syncer <=
- [elpa] externals/jarchive 3ff89ae9cb 05/33: Update doc string, ELPA Syncer, 2022/11/12
- [elpa] externals/jarchive 0733e1fcb3 07/33: Use find-buffer-visiting instead of local var check, ELPA Syncer, 2022/11/12
- [elpa] externals/jarchive c9fdbe909d 19/33: Cleanup docstring, and ensure var is set after eglot loads, ELPA Syncer, 2022/11/12
- [elpa] externals/jarchive 050436241e 27/33: Update README now that this includes hacks to fix legacy eglot, ELPA Syncer, 2022/11/12
- [elpa] externals/jarchive 2c182b3cf9 06/33: Make setup function interactive for convenience, ELPA Syncer, 2022/11/12
- [elpa] externals/jarchive 82ff9f791f 12/33: Remove unnecessary local variable, ELPA Syncer, 2022/11/12
- [elpa] externals/jarchive a5ab89db3f 15/33: Do not set default-directory, and manually set buffer-file-name, ELPA Syncer, 2022/11/12
- [elpa] externals/jarchive 5736d46d33 24/33: Include hack to work with legacy versions of eglot., ELPA Syncer, 2022/11/12
- [elpa] externals/jarchive c8c12f1c9b 25/33: Update file preamble, ELPA Syncer, 2022/11/12
- [elpa] externals/jarchive bfcc201cca 33/33: Bump to version 0.1.0 was 0.3.0, ELPA Syncer, 2022/11/12