Hi,

* Tony Balinski wrote (2008-01-06 03:02):
>Quoting Thorsten Haude <[EMAIL PROTECTED]>:
>> * Jörg Fischer wrote (2008-01-04 11:33):
>> >Thorsten Haude wrote:
>> >> >- Macro built-in function registration
>> >> >
>> >> >  Tony's proposal, ready, available here
>> >> >
>> http://ajbj.free.fr/nedit/nedit5.5dev/patches/newMacroFnRegistration2.diff
>
>I proposed adding this as a code cleanup while allowing for new built-in macro
>function C files (or splitting the current one). I use it in my own builds.
>However, it does change things enough that one might consider it as more than
>cosmetic. Since it is a purely internal change, it can wait till after the
>release.

Hm, it's a good change, and not too complex, but it changes a fairly
important part of NEdit pretty fundamentally. So I agree that it
should wait. Will you enter a bug to keep track of it?


>> >> >- Remove non-existing files from Open Previous?
>
>I've got a patch which does this here:
>
>http://ajbj.free.fr/nedit/nedit5.5dev/patches/DropPrevIfNotFound2.diff
>
>It has the effect of opening a window, realising the required file doesn't
>exist, closing the new window, then removing the entry in the previous list.

I'm not too sure about this. It assumes that any error in doOpen() is
ENOENT. Not technically, (ie. there is no 'if (ENOENT == errno)'), but
just see its name.

So I wonder if different states of doOpen() should be covered
differently. Maybe not, all other cases might be boring (eg. do we
want the file name removed from the menu if it's a block device).


Thorsten                                                     Headlights: TV
-- 
Reality continues to ruin my life.
    - Calvin

Attachment: pgpCsGt5MwMoQ.pgp
Description: PGP signature

-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to