From: Arthur Miller <arthur.miller@live.com>
To: monnier@iro.umontreal.ca
Cc: emacs-devel@gnu.org
Subject: Re: Lazy wdired preprocessing - Question
Date: Wed, 24 Mar 2021 21:52:15 +0100 [thread overview]
Message-ID: <AM9PR09MB497716FD7A213A70269AFF6C96639@AM9PR09MB4977.eurprd09.prod.outlook.com> (raw)
In-Reply-To: <AM9PR09MB49779E7396B51D3966D9651096639@AM9PR09MB4977.eurprd09.prod.outlook.com> (Arthur Miller's message of "Wed, 24 Mar 2021 21:20:29 +0100")
Arthur Miller <arthur.miller@live.com> writes:
I have forgott to say, I did make use make bootstrap before
building Emacs.
> I hope I don't bother, too much.
>
> There is some problem I see when building Emacs with the patch:
>
> It builds fine, but when I test it, it seems that I need to re-eval
> after Emacs started wdired.el in order to get it to work properly. What
> happeneds it that Emacs seems to run self-insert command upon entering
> wdired mode anyway, despite being build with patched wdired.
>
> However when I eval my working file "lazy-wdired.el" it works fine. The
> code is identical as one in the patch.
>
> I also noticed when I unload-feature lazy-wdired, so I unload all those
> wdired definitions, and if I eval patched wdired.el from lisp directory which I
> built Emacs with, everything also works correctly too.
>
> I am little bit confused, why do I need to re-evaluate wdired.el in a
> freshly patched and recompiled Emacs to get this to work?
>
>
>
> -------------------- Start of forwarded message --------------------
> From: Arthur Miller <arthur.miller@live.com>
> To: emacs-devel@gnu.org
> Subject: Patch: Lazy wdired preprocessing
> Date: Tue, 23 Mar 2021 15:52:08 +0100
>
> The original thread seems to have become more of a lisp language thread,
> so to make it easier, I made a new one, with more descriptive name.
>
> Attached is new a version of patch. Seems to correctly work with
> permissions now. I have also discovered (current-column) function so I
> no longer calculate columns in my own code :-).
>
> I have tested on my ext4 file system where my normal system is
> installed, and there it works correctly.
>
> I have also tested on one NTFS drive, where I can not change permissions
> normally and there is following behaviour, don't know if it is
> acceptable or not:
>
> In wdired buffer I can seemingly change permission, but when I save
> buffer, then permission is of course not saved and reverted dired buffer
> shows correct permission. In Dolphin, it seems to work similar (I can
> set pulldown menu in permissions dialog to only read, and press OK, but
> it is not saved).
>
> There is also a question what happeneds when one have an empty folder
> and switches to wdired buffer. I don't see it handled in old wdired, so
> I have added an error condition for that in
> wdired-change-to-wdired-mode.
>
> Please test it, there might be some other test condition I haven't
> tested. I am attaching both the working file for easy evaluation and
> test, and the patch.
>
> best regards
> /a
>
>
>
> -------------------- End of forwarded message --------------------
next prev parent reply other threads:[~2021-03-24 20:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-24 20:20 Lazy wdired preprocessing - Question Arthur Miller
2021-03-24 20:52 ` Arthur Miller [this message]
2021-03-24 22:31 ` Arthur Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AM9PR09MB497716FD7A213A70269AFF6C96639@AM9PR09MB4977.eurprd09.prod.outlook.com \
--to=arthur.miller@live.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.