- Subject: Re: Bug: Jed flags readonly file as readonly while opening it as root
- From: Jörg Sommer <joerg@xxxxxxxxxxxx>
- Date: Tue, 24 Nov 2009 11:22:02 +0000 (UTC)
Hello John,
"John E. Davis" <davis@xxxxxxxxxxxxx> wrote:
> Jörg Sommer <joerg@xxxxxxxxxxxx> wrote:
>> opening a file that misses the flag for write permission does not mean we
>> can't write to it. Root can write to everything, execpt some
>> exceptions. :) So I think jed should better use the access function to
>> determine if it should flag a buffer readonly or not. Maybe some
>> special file tweakings also allow write access, i.e. ACLs.
>
> I see this as more of a feature than a bug in the sense that having
> the read-only flag set is a reminder that the file has been marked as
> read-only.
But in 0.99.19pre175 this was not so. In this version the buffer was not
set readonly. But I've found change 187 where you explicitly installed
this behaviour. So, everything is fine.
> If root wants to write to this file, then the buffer's flag can easily
> be toggled (emacs bindings: Ctrl-X t).
In XJed: When setting the file read‐write and pasting something to the
buffer with the middle mouse key, I don't get the y/n question but the
yes/no question. Is this intended? Only a guess: The pasted characters
are used as input stream and because they do not start with y the yes/no
question comes?
And another issue: When pasting a few characters (e.g. 8) I get the
yes/no question. When pasting many characters (e.g. 2490) I get the
yes/no question first *and* than the y/n question.
Next issue: When pasting a few characters, answering the yes/no question
with yes and pressing any key (e.g. T) this character is lost. It doesn't
show up in the buffer. Until the next character will appear.
For all tests I've used pre210.
Bye, Jörg.
--
>> Kann man da auch ausrutschen?
> Das ist ja das fatale: Im Bett passieren sogar Unfälle, *ohne* daß man
> ausrutscht.
Du meinst, Safer Sex ist, wenn man die Freundin an der Wand festkettet?
<news:072bda371fa28679a7c0818a1157fd7e@xxxxxxxx>
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2009 date index]
[2009 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]