Discussion:
Nedit 5.5 under Debian Lenny
Klaus Jantzen
2009-11-07 11:23:22 UTC
Permalink
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Klaus Jantzen
2009-11-07 11:34:12 UTC
Permalink
Hello,

I have two problems:

1. Where do I have to keep the .neditmacro file?
I have it in {$HOME} and in {$Home}/.nedit.
When loading it from either location, the macros are recognized and
executed correctly.
But even after "Saving Defaults" the macros are "lost" when Nedit is
started again.
2. Copy/Paste do not work.
When I try to copy a highlighted text either by Ctrl-C or by
right-klick of the mouse and selecting "Copy" from the small
menu, nothing happens when I enter either Ctrl-V or when I select "Paste"
from the small menu.

Any help would be appriated.
Thanks.
--
KDJ.
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Joerg Fischer
2009-11-07 20:25:59 UTC
Permalink
Post by Klaus Jantzen
1. Where do I have to keep the .neditmacro file?
I have it in {$HOME} and in {$Home}/.nedit.
When loading it from either location, the macros are recognized and
executed correctly.
But even after "Saving Defaults" the macros are "lost" when Nedit is
started again.
There are two different files, one called nedit.rc (old name .nedit)
and the other autoload.nm (old name .neditmacro). nedit.rc is for
storing menu settings including the macros located in the Macro menu.
Only these settings are stored with "Saving Defaults". autoload.nm is
for automatically loading user defined (macro) functions (starting
with the define keyword, these can't be defined in the Macro menu). If
this should sound like gibberish for you, you should read the NEdit
documentation under the Help menu ;-)
Post by Klaus Jantzen
2. Copy/Paste do not work.
When I try to copy a highlighted text either by Ctrl-C or by
right-klick of the mouse and selecting "Copy" from the small
menu, nothing happens when I enter either Ctrl-V or when I select "Paste"
from the small menu.
Debian is likely to use Lesstif by default to build NEdit, cf. Help ->
Version. Your description sounds like a known problem of many Lesstif
versions (especially for 64bit systems). So, either get NEdit from
nedit.org, or rebuild it using Openmotif, or make your own clipboard
with the help of macros like for instance
http://nedit.hackvalue.nl/niki/index.php/ManyClipboards

Cheers,
Jörg
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Tony Balinski
2009-11-10 06:08:22 UTC
Permalink
Post by Joerg Fischer
Post by Klaus Jantzen
2. Copy/Paste do not work.
When I try to copy a highlighted text either by Ctrl-C or by
right-klick of the mouse and selecting "Copy" from the small
menu, nothing happens when I enter either Ctrl-V or when I select "Paste"
from the small menu.
Debian is likely to use Lesstif by default to build NEdit, cf. Help ->
Version. Your description sounds like a known problem of many Lesstif
versions (especially for 64bit systems). So, either get NEdit from
nedit.org, or rebuild it using Openmotif, or make your own clipboard
with the help of macros like for instance
http://nedit.hackvalue.nl/niki/index.php/ManyClipboards
If you use KDE, the clipboard program (klipper IIRC) will do funny things with
your selection and copy/paste buffer. Some configuration fixes this (which off
hand I can't remember) - but check the list archives or niki.

Tony
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Klaus Jantzen
2009-11-12 10:07:47 UTC
Permalink
Post by Joerg Fischer
Post by Klaus Jantzen
1. Where do I have to keep the .neditmacro file?
I have it in {$HOME} and in {$Home}/.nedit.
When loading it from either location, the macros are recognized and
executed correctly.
But even after "Saving Defaults" the macros are "lost" when Nedit is
started again.
There are two different files, one called nedit.rc (old name .nedit)
and the other autoload.nm (old name .neditmacro). nedit.rc is for
storing menu settings including the macros located in the Macro menu.
Only these settings are stored with "Saving Defaults". autoload.nm is
for automatically loading user defined (macro) functions (starting
with the define keyword, these can't be defined in the Macro menu). If
this should sound like gibberish for you, you should read the NEdit
documentation under the Help menu ;-)
Post by Klaus Jantzen
2. Copy/Paste do not work.
When I try to copy a highlighted text either by Ctrl-C or by
right-klick of the mouse and selecting "Copy" from the small
menu, nothing happens when I enter either Ctrl-V or when I select "Paste"
from the small menu.
Debian is likely to use Lesstif by default to build NEdit, cf. Help ->
Version. Your description sounds like a known problem of many Lesstif
versions (especially for 64bit systems). So, either get NEdit from
nedit.org, or rebuild it using Openmotif, or make your own clipboard
with the help of macros like for instance
http://nedit.hackvalue.nl/niki/index.php/ManyClipboards
That solved the problem with the popup menu in the editing window.
How can I change the menu entries of the edit submenu of the toolbar?

Using the nedit excutable from nedit.org failed because the library
libXp.so.6 is missing. Where would I get that?
Post by Joerg Fischer
Cheers,
Jörg
Thank you for your help.
--
KDJ.
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Joerg Fischer
2009-11-12 18:17:47 UTC
Permalink
Post by Klaus Jantzen
How can I change the menu entries of the edit submenu of the toolbar?
Simply by patching the sources ;-) Seriously, one can't change the
edit menu - except for altering keybindings, but I think you want
to add the macro there like for the Macro menu, so when you click
there on copy/paste the macro is called.

There is only some older patch for this in nedit's patch tracker
on sourceforge.
Post by Klaus Jantzen
Using the nedit excutable from nedit.org failed because the library
libXp.so.6 is missing. Where would I get that?
This is an old excutable and probably the X system and libs changed
alot in the mean time. So it's better to compile from sources on your
system (using Openmotif instead of Lesstif then).

If you like to do so, I rather recommend to get nedit 5.6 ;-)
(Check the developer list for more on this.)

Cheers,
Jörg
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Loading...