Bugs item #1600102, was opened at 2006-11-21 01:47
Message generated for change (Comment added) made by lebert
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1600102&group_id=11005

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Prebuilds
Group: None
Status: Open
Resolution: None
Priority: 9
Private: No
Submitted By: Thorsten Haude (yooden)
Assigned to: Thorsten Haude (yooden)
Summary: Add example .nedit to release tarball

Initial Comment:
As discussed here:
http://www.nedit.org/pipermail/develop/2006-October/012629.html

----------------------------------------------------------------------

Comment By: Bert Wesarg (lebert)
Date: 2008-01-18 21:41

Message:
Logged In: YES 
user_id=122956
Originator: NO

define rmTrailingSpaces
{
    replace_all("\\s*\n", "\n", "regex")
}

is a "\\s+\n" not a little faster?

----------------------------------------------------------------------

Comment By: Thorsten Haude (yooden)
Date: 2008-01-17 21:03

Message:
Logged In: YES 
user_id=119143
Originator: YES

Uses Jörg's man viewer acceleration and adds some comments.
File Added: dotNEdit.2008-01-17.1.tar.gz

----------------------------------------------------------------------

Comment By: Joerg Fischer (jf505)
Date: 2008-01-14 21:57

Message:
Logged In: YES 
user_id=918104
Originator: NO

>I'll post a link for the few additions I have in mind,

Here it is

http://nedit.gmxhome.de/dotNE-additions.tar.gz

----------------------------------------------------------------------

Comment By: Thorsten Haude (yooden)
Date: 2008-01-14 12:18

Message:
Logged In: YES 
user_id=119143
Originator: YES

I have to admit that I don't quite understand the angle you are coming
from. I asked you more than once, in more than one medium to work on
merging our two solutions. You did not reply. Now you are picking the bug
tracker of all places to have this discussion?

There is no problem with manViewer.nm. Just don't pick a single file from
a set of files and expect it to work. The function you are missing is
provided in util.nm (which is also autoloaded). The whole idea is to
provide a coordinated set, not just a bunch of single files; you can have
plenty of those from somewhere else. So of course I put library functions
in their own module to advocate reuse. Of course I add menu items because
easy access to external macros is what NEdit is lacking.

I provided some explanation in the tarball's README. Please let me know
how to improve the text. And please, let's work on merging the two man
viewers. (And after that, maybe the two spell checker.)

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2008-01-14 09:27

Message:
Logged In: NO 

Sorry, manViewer.nm does not work for me.

a) undefined macro countChar("\\n", aproposResult, "regex")) is called by
getManSection.

b) two empty rangesets are created, i.e. boldRS and underlineRS

c) autoload.nm loads  manViewer.nm which cannot be used "as is". Some
initiated macro is added directly in macro menu via nedic.rc to prepare
nMan call. Seems, that is bad practice.

I think, neman.nm can be used instead manViewer.nm
http://nedit.hackvalue.nl/niki/images/8/8b/Neman.nm.txt

We can comment out highlighting and add comment like
"Contributed by T.Balinsky, T.Haude and A.Kuznetsov"

Alexey Kuznetsov

----------------------------------------------------------------------

Comment By: Joerg Fischer (jf505)
Date: 2008-01-13 22:39

Message:
Logged In: YES 
user_id=918104
Originator: NO

I've rewritten the rangeset macro collection on niki
(http://nedit.hackvalue.nl/niki/index.php/RangesetMacroCollection)

Btw, for my own macros I use a simplistic version of "On Demand Macro
Loading".  I'll post a link for the few additions I have in mind, it's
coming soon.  

----------------------------------------------------------------------

Comment By: Thorsten Haude (yooden)
Date: 2008-01-13 12:45

Message:
Logged In: YES 
user_id=119143
Originator: YES

Transient: Sorry, version bleed

unixWrapper.nm: Renamed to manViewer.nm

nedit.rc: I merged the new versions by hand, please re-check.

smartKey.nm: I never used a resource for that, I simply added 'Tab' to
nedit.rc by hand. This worked fine with Lesstif, but Open Motif has a bug
here. Now the resource would break the 'NEDIT_HOME=. nedit' thing, so I'd
rather leave the macro unbound than add additional complications. (Note
that there is no menu entry at the moment.)

sh2html.nm: I added a small explanation to README.

Rangesets: So you have a particular macro in mind?

Let me know if I missed something.
File Added: dotNEdit.2008-01-13.1.tar.gz

----------------------------------------------------------------------

Comment By: Joerg Fischer (jf505)
Date: 2008-01-07 21:59

Message:
Logged In: YES 
user_id=918104
Originator: NO

unixWrapper.nm:  
---------------
new("window", "transient") ?
unixWrapper.nm should be renamed to manpage-viewer.nm.


nedit.rc: 
---------
make sure to pick up the last one!  You have the old Word Complete and
Fill Sel./wChar macros and the uncomment macro fixes are missing.


smartKey.nm: 
------------
missing keybinding for Tab, to be set in .Xdefaults like

 nedit*text.Translations: #override \n\
~Shift~Alt~Meta~Ctrl<KeyPress>Tab : macro_menu_command()

Notice, it must be <KeyPress>, only <Key> won't do in this case. (Is
this obvious for an average user?)


sh2html.nm: 
-----------
Missing purpose statement.  For instance: This macro transforms an NEdit
window with syntax highlighting to a properly colored HTML page.  Useful
also for a print out.

Some more comments: 
-------------------
Any serious such package should contain a macro interface to rangesets,
since rangesets are available only through macros.  Other candidates
would be restoring the last session, and quickly change text fonts
(including realizing language mode dependent fonts via the smart-indent
initialization - eg, use a proportional font for e-mail language mode).



----------------------------------------------------------------------

Comment By: Thorsten Haude (yooden)
Date: 2008-01-05 16:15

Message:
Logged In: YES 
user_id=119143
Originator: YES

File Added: dotNEdit.2008-01-05.1.tar.gz

----------------------------------------------------------------------

Comment By: Thorsten Haude (yooden)
Date: 2007-03-18 20:25

Message:
Logged In: YES 
user_id=119143
Originator: YES

- The whole should be seen as a set, not to be used individually. The
styles are included in nedit.rc
- Do you use my Patch Collection? I added $NEDIT_HOME with exactly the
same semantics, just comment it out if you want to test it.

----------------------------------------------------------------------

Comment By: Bert Wesarg (lebert)
Date: 2007-01-04 18:04

Message:
Logged In: YES 
user_id=122956
Originator: NO

The nedit.styles for 'Library Call1', 'Library Call2', 'Library Call3' are
missing in the c-extended-0.9.5.pats file.
So I get an error. And the $NEDIT_HOME variable is read only in
autoload.nm.



----------------------------------------------------------------------

Comment By: Thorsten Haude (yooden)
Date: 2007-01-04 16:52

Message:
Logged In: YES 
user_id=119143
Originator: YES

New version with calltip files from Tony. Please have a look.
File Added: dotNEdit.tar.gz

----------------------------------------------------------------------

Comment By: Thorsten Haude (yooden)
Date: 2006-11-22 21:20

Message:
Logged In: YES 
user_id=119143
Originator: YES

Please have a look at the attached tarball.

I'm not too happy about the calltips, does anyone have better examples?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1600102&group_id=11005
-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to