Re: [Lazarus] Package filenames with _package

2018-01-10 Thread Kostas Michalopoulos via Lazarus
On Mon, Jan 8, 2018 at 11:38 PM, Graeme Geldenhuys via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > Then it seems Windows Explorer is right up your alley. :) They hide the file extension by default. Users (like me) have to explicitly go into the settings and enable "show file extensions"

Re: [Lazarus] Package filenames with _package

2018-01-08 Thread wkitty42--- via Lazarus
On 01/08/2018 04:38 PM, Graeme Geldenhuys via Lazarus wrote: Even better, Linux and FreeBSD don't even need file extensions. File Extensions are simply for [some] human benefit (unlike Windows that requires them). Linux and FreeBSD OS's query the first 4-8 bytes of a file to accurately

Re: [Lazarus] Package filenames with _package

2018-01-08 Thread Graeme Geldenhuys via Lazarus
On 2018-01-08 21:30, Kostas Michalopoulos via Lazarus wrote: some cases it takes space (like in file managers). Up to 4 letters is fine for me, 5 is stretching it and anything above that is only something i'd use for file types that i wont see often in a list and even then only if i can't avoid

Re: [Lazarus] Package filenames with _package

2018-01-08 Thread Kostas Michalopoulos via Lazarus
On Sun, Jan 7, 2018 at 1:06 PM, Graeme Geldenhuys via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > so why is everybody still limiting file extensions to 3 letters?? Some of my fpGUI included applications use file extensions like *.project etc. Hell, even Microsoft is catching up with that

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Mattias Gaertner via Lazarus
On Sun, 07 Jan 2018 15:02:18 +0100 Vojtěch Čihák via Lazarus wrote: > I noticed: if the main package file has the same name as the lpk than it is > not listed in that lpk, right? Correct. Not every package needs such a file. Mattias --

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Vojtěch Čihák via Lazarus
018 14:55 Předmět: Re: [Lazarus] Package filenames with _package On Sun, 7 Jan 2018 20:08:31 +0700 Ondrej Pokorny via Lazarus <lazarus@lists.lazarus-ide.org> wrote: >[...] > >> The package unit can have a different name as the package. See > >> for example

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Mattias Gaertner via Lazarus
On Sun, 7 Jan 2018 20:08:31 +0700 Ondrej Pokorny via Lazarus wrote: >[...] > >> The package unit can have a different name as the package. See > >> for example synedit. > > > > I didn't know this, and this is good to know ! > > I didn't know this either. Where

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Martin Frb via Lazarus
On 07/01/18 14:35, Ondrej Pokorny via Lazarus wrote: On 07.01.2018 20:29, Vojtěch Čihák via Lazarus wrote: Hi, click Package->New Package... it immediately opens Save dialog, where you choose filname. It saves xyz.lpk Then click Compile and xyz.pas is autogenerated. :D The question

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Ondrej Pokorny via Lazarus
On 07.01.2018 20:29, Vojtěch Čihák via Lazarus wrote: Hi, click Package->New Package... it immediately opens Save dialog, where you choose filname. It saves xyz.lpk Then click Compile and xyz.pas is autogenerated. :D The question was: it saves xyz.lpk, where can I define that abc.pas

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Michael Van Canneyt via Lazarus
On Sun, 7 Jan 2018, Mattias Gaertner via Lazarus wrote: On Sun, 7 Jan 2018 10:42:33 +0100 (CET) Michael Van Canneyt via Lazarus wrote: [...] The "problem" is that the pascal unit generated for a package has the same name as the package and often conflicts

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Graeme Geldenhuys via Lazarus
On 2018-01-07 09:42, Michael Van Canneyt via Lazarus wrote: many Laz packages have suffix anyway: Dsgn, Pkg, pkg, maybe others. True. And this is unfortunate, because it is not functional at all. Well, I think it is very important to distinguish between "runtime" and "design time" packages.

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Graeme Geldenhuys via Lazarus
On 2018-01-07 08:35, leledumbo via Lazarus wrote: I don't agree, that's what file extension is for. Fully agree. I feel I should also add that DOS is not the mainstream OS any more like it was in the early 90's (some 26 years ago), so why is everybody still limiting file extensions to 3

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Mattias Gaertner via Lazarus
On Sun, 7 Jan 2018 10:42:33 +0100 (CET) Michael Van Canneyt via Lazarus wrote: >[...] > The "problem" is that the pascal unit generated for a package has the > same name as the package and often conflicts with a unit in the package. The package unit can have a

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread AlexeyT via Lazarus
conflicts with a unit in the package. IMO it would be better to prefix it automatically. I agree: better to auto add prefix or suffix (i like suffix _package). good wish. -- Regards, Alexey -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Werner Pamler via Lazarus
Am 05.01.2018 um 18:12 schrieb AlexeyT via Lazarus: 1. packager/globallinks/lclextensions_package-0.6.1.lpl 2. +1 −0

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Michael Van Canneyt via Lazarus
On Sun, 7 Jan 2018, AlexeyT via Lazarus wrote: I am glad to read this, I also think the _package is completely redundant. many Laz packages have suffix anyway: Dsgn, Pkg, pkg, maybe others. True. And this is unfortunate, because it is not functional at all. The "problem" is that the

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread AlexeyT via Lazarus
I am glad to read this, I also think the _package is completely redundant. many Laz packages have suffix anyway: Dsgn, Pkg, pkg, maybe others. -- Regards, Alexey -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread AlexeyT via Lazarus
I don't agree, that's what file extension is for. Filtering and sorting should easily be done to distinguish package files from others. There is one moment: ATSynedit has - atsynedit.pas (main unit) - atsynedit_package.pas (with suffix) You see suffix is useful here. -- Regards, Alexey

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Michael Van Canneyt via Lazarus
On Sun, 7 Jan 2018, leledumbo via Lazarus wrote: It is good filenames, with _package suffix, easy to see filenames from all filenames in big dir I don't agree, that's what file extension is for. Filtering and sorting should easily be done to distinguish package files from others. I am

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread leledumbo via Lazarus
> It is good filenames, with _package suffix, easy to see filenames from all filenames in big dir I don't agree, that's what file extension is for. Filtering and sorting should easily be done to distinguish package files from others. -- Sent from: