[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Return values of (find-file-noselect), etc.
From: |
Douglas Lewan |
Subject: |
Re: Return values of (find-file-noselect), etc. |
Date: |
Mon, 7 Jan 2019 02:36:20 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Icedove/52.9.1 |
On 01/06/2019 10:06 PM, Stefan Monnier wrote:
>> Either way, that's not what I'm seeing. Should this be recorded as a bug?
> I think it's a bug for a major mode function to change the current
> buffer, so what you're seeing is likely the result of find-file-noselect
> not protecting itself against such misbehaving major modes ;-)
>
>
> Stefan
>
>
Hmmm. I suppose I could make (cpio-mode) a function instead of a mode,
but that seems to be somehow inappropriate. It would avoid the bug of
being a misbehaving major mode, but . . . well . . . . I do suppose
there could be a legitimate style issue here.
I think I'll leave it the way it is and wait to see if anyone screams.
Thanks for taking the time to think about this. :-)
--
,Doug
Douglas Lewan
+1 (908) 720-7908
Give me "assloads of config" over "some other person thought they could decide
what I like" any day. - Szmo, on reddit, 2017 Sep 05
- Return values of (find-file-noselect), etc., Douglas Lewan, 2019/01/06
- Re: Return values of (find-file-noselect), etc., Stefan Monnier, 2019/01/06
- Re: Return values of (find-file-noselect), etc., Douglas Lewan, 2019/01/06
- Re: Return values of (find-file-noselect), etc., Stefan Monnier, 2019/01/06
- Re: Return values of (find-file-noselect), etc.,
Douglas Lewan <=
- Re: Return values of (find-file-noselect), etc., Stefan Monnier, 2019/01/08
- Re: Return values of (find-file-noselect), etc., Douglas Lewan, 2019/01/08