Re: A code editor with auto-indentation ?
I have already found jedit (www.jedit.org) which is great ! thanks anyway. Le mar 25/03/2003 à 21:02, Cliff Wells a écrit : > On Fri, 2003-03-21 at 13:28, Julien Olivier wrote: > > > What I need is really a simple text editor with C/PHP syntax > > highlighting/auto indent. > > Here's a couple you might look at: > > http://anjuta.sourceforge.net/ > http://glimmer.sourceforge.net/ > > -- > Cliff Wells, Software Engineer > Logiplex Corporation (www.logiplex.net) > (503) 978-6726 x308 (800) 735-0555 x308 > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: A code editor with auto-indentation ?
On Fri, 2003-03-21 at 13:28, Julien Olivier wrote: > What I need is really a simple text editor with C/PHP syntax > highlighting/auto indent. Here's a couple you might look at: http://anjuta.sourceforge.net/ http://glimmer.sourceforge.net/ -- Cliff Wells, Software Engineer Logiplex Corporation (www.logiplex.net) (503) 978-6726 x308 (800) 735-0555 x308 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: A code editor with auto-indentation ?
I thought I would have a look as well, but got this fail dependencies, which doesn't make sense to me. Would somebody explain what this is saying. rpm -ihv jedit-rhmenu-4.1-1jpp.noarch.rpm error: failed dependencies: jedit = 4.1-1jpp is needed by jedit-rhmenu-4.1-1jpp david On 21 Mar 2003, Julien Olivier wrote: > Le ven 21/03/2003 à 22:07, David Busby a écrit : > > I asked a similar question a few days (maybe?) ago aboud cool Code editors, > > I tried some of the recommended and dig this one written in Java called > > jEdit. > > > > I just tried it (downloaded from jpackage.org) and you're right: it > rocks ! I think I'll keep it for a while. > > Thanks for the tip ! > > > /B > > - Original Message - > > From: "Jeff Kinz" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, March 21, 2003 13:03 > > Subject: Re: A code editor with auto-indentation ? > > > > > > > On Fri, Mar 21, 2003 at 09:51:49PM +0100, Julien Olivier wrote: > > > > Hi > > > > > > > > I'm an almost happy Emacs user. What I really LOVE in emacs is the fact > > > > that you can automatically indent code using TAB (by automatically I > > > > mean that you press TAB once and the code is put at the correct columne, > > > > without needing to press TAB several times). > > > > > > > > The problem is that Emacs has some bugs/problems: > > > > - It can't open files located in non-UTF paths. > > > > - It has weird keybindings (CTRL-W to cut, CTRL-Y to paste, nothing to > > > > copy, F10-f-s to save, F10-f-e to exit...) > > > > - There is no way to make a search or to repeat this search using a key > > > > combination. > > > > - It uses the X11 clipboard so that you can't select something and > > > > paste over it. > > > > - Selecting several lines of code and pressing a key to REPLACE the > > > > selected characters doesn't work > > > > > > > > So my question is: is there any other code editor with the auto-indent > > > > feature and which doesn't have the bugs I wrote upper ? Or, > > > > alternatively, is there something like kvim (a vim module for KDE) but > > > > using GNOME and Emacs ? > > > > > > Emacs is the most programmable editor on the planet. You can write a > > > macro to make it do anything you want it to do. All the keybindings are > > > re-programmable. Just read the docs and start hacking! :-) > > > > > > -- > > > Jeff Kinz, Open-PC, Emergent Research, Hudson, MA. [EMAIL PROTECTED] > > > copyright 2003. Use is restricted. Any use is an > > > acceptance of the offer at http://www.kinz.org/policy.html. > > > > > > > > > > > > -- > > > redhat-list mailing list > > > unsubscribe mailto:[EMAIL PROTECTED] > > > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > > > > -- > > redhat-list mailing list > > unsubscribe mailto:[EMAIL PROTECTED] > > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: A code editor with auto-indentation ?
On Fri, Mar 21, 2003 at 10:04:50PM +0100, Julien Olivier wrote: > Le ven 21/03/2003 à 22:03, Jeff Kinz a écrit : [...] > > macro to make it do anything you want it to do. All the keybindings are > > re-programmable. Just read the docs and start hacking! :-) > > > > Aaargh ! I hoped nobody would answer me that :( The fact is I'm... > afraid of trying to customize Emacs... it looks so complicated... [...] Well, if you just want to make copy/paste easier, have a look at "pc-select.el" - it's included in the XEmacs distribution and on RHL. I use it in the config file like this: (load "pc-select") (pc-select-mode) You can then use "Shift-MOVEMENT" to mark text and the DOS-like Ctrl-Insert, Shift-Insert, Shift-Del sequences to Copy, Paste, Kill. Cheerio, Thomas -- ==> RH List Archive: http://marc.theaimsgroup.com/?l=redhat-list&r=1&w=2 <== - Thomas Ribbrockhttp://www.ribbrock.org "You have to live on the edge of reality - to make your dreams come true!" -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: A code editor with auto-indentation ?
On Sat, 22 Mar 2003, Matthew Saltzman wrote: > On Sat, 23 Mar 2003, Julien Olivier wrote: Note: Julien, there seems to be something odd about your date setting. > > >[...] > > > > Waow !? Am I the only one to find it VERY complicated ? I mean CTRL-W > > CTRL-Y, then CTRL-W CTRL-Y CTRL-Y just to do a copy/paste... I think > > it's simpler to actually write the text manually :) > > BTW, there is a copy command so you don't need to kill and yank to get > something into the kill ring, but you'd have to map it to a single > keystroke yourself, as it is not done by default. Also, don't forget the > other substitution commands, which can be more appropriate in somne > circumstances. Gordon Messmer, in another message in this thread, has pointed out that ALT-W runs kill-ring-save, which does what I described. I was thinking of copy-region-as-kill, which is not mapped to a key combo. I had forgotten about ALT-W, but the help for it says: Save the region as if killed, but don't kill it. This command is similar to `copy-region-as-kill', except that it gives visual feedback indicating the extent of the region being copied. The visual feedback is a temporary highlighting of the copied region. BTW, another neat thing you can do in emacs is to kill, copy, and yank rectangular subregions of the file, as if it was a 2-dimensional table of characters. Very cool for editing tables, and I don't know of another editor that can do that. -- Matthew Saltzman Clemson University Math Sciences [EMAIL PROTECTED] http://www.math.clemson.edu/~mjs -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: A code editor with auto-indentation ?
Julien Olivier wrote: Waow !? Am I the only one to find it VERY complicated ? I mean CTRL-W CTRL-Y, then CTRL-W CTRL-Y CTRL-Y just to do a copy/paste... I think it's simpler to actually write the text manually :) Meta-W to copy. Ctrl-Y to paste. It's not nearly as complicated as all of that. If you have never gone through emacs' tutorial, then: C-ht You may find any number of operations easier once you've Read The Fine Manual. (And a fine manual it is.) -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: A code editor with auto-indentation ?
> First and most > importantly, you don't need X to use all of its resources. You can get as > much out of it from a terminal window as you can from X. I usually use it > in X but quite frequently I need to do something from the terminal and get > to make use of its power. I agree with you. That's my editor of choice when I don't have X (for example in SSH). > The second is that you can split one buffer into > two parts. One part on top can view any region of the document you are on > (or another document if you want) while the other views a different part of > the same buffer. This means that changes to either the top portion or the > bottom get changed on the document. It is like opening up two windows with > the same document and making changes to both and when you go to save them > all changes are recorded to the one document. This is especially useful > when you have a long document of code and need to reference another part of > the document. If you want to see how it works, open up a document in emacs > and use ctrl+x 2 make a change to the top part and use ctrl+x o to switch > between them. Notice when you change one it changes both. jEdit (www.jedit.org) has that too. > The third reason > is that it is faster to use the memorized key sequences if you know how to > type reasonably fast. Moving your hands from the keyboard to move the mouse > takes time. (Time that irritates me if I have to use it a lot). Once you > get used to the key sequences you hate working without them. I don't expect > everyone to feel it is necessary to memorize key maps to code, nor most > people for that matter. However, if you do a lot of this stuff, memorizing > them in the beginning can pay off in the long run. Well, I agree on that too. But the fact is that I can associate keys to functions in other editors too, but IMO it's easier to do so in other editors. So, yes, having keybindings is useful but only if you can change them easily (without knowing LISP :)). But, as you said, the first argument (running it without X) makes it a must-have app, even if I wouldn't use it on X. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: A code editor with auto-indentation ?
On Sat, 23 Mar 2003, Julien Olivier wrote: > > Emacs actually doesn't use the X clipboard in the way you might think. > > Emacs has its own set of buffers, called the "kill ring." The sequence of > > keystrokes that does what you want is: > > > > Write "Blah" > > Select "Blah" > > CTRL-W CTRL-Y (Cut and paste in place, i.e., copy)) > > Write "This is a test" > > Select "test" > > CTRL-W CTRL-Y CTRL-Y (Cut "test", paste "test" (last cut), paste "Blah" > > instead (previous cut). > > > > You would also want to know about ALT-X Replace-String, which replaces > > all occurrences of one string with another to the end of the file and > > ALT-X Query-Replace-String, which replaces occurrences one at a time. > > > > Furthermore, ALT-X Replace-Regexp and ALT-X Query-Replace-Regexp replace > > patterns with patterns, which is an extremely powerful thing to be able to > > do. > > > > Waow !? Am I the only one to find it VERY complicated ? I mean CTRL-W > CTRL-Y, then CTRL-W CTRL-Y CTRL-Y just to do a copy/paste... I think > it's simpler to actually write the text manually :) It might be simpler in some cases. But like much software (including *nix itself), it's not so complicated if you approach it with the right mindset. In this case, what's happening is this: each time you kill something, it is copied to the front of the kill ring. When you yank, the entry at the front of the kill ring is pasted. If you yank again, the text just pasted is replaced by the next older entry in the kill ring. More consecutive yanks work back through the kill ring. It's a ring, though, so yanking enough times will eventually get you to the front again, and once the ring is full, the oldest entries will be overwritten by new kills. Once you know how it works, the key sequences are natural, not complicated. BTW, there is a copy command so you don't need to kill and yank to get something into the kill ring, but you'd have to map it to a single keystroke yourself, as it is not done by default. Also, don't forget the other substitution commands, which can be more appropriate in somne circumstances. > > > There's an O'Reilly book on emacs that might be a good start. > > > > > Well, as I said: Emacs is too complicated for me I think. Don't get it > wrong: I think it's a great tool because it has a lot of (hidden) > functions and can be customized etc... but, for me, needing to learn > tons of keybindings or needing to learn LISP just to use a code editor > is too much. I prefer focusing on learning the language of the code I'm > writing :) > > Again, no offence to Emacs developers. Each user has his own needs and > Emacs might be the best tools for some of them. For me, jEdit is just > better than Emacs as I can use it without reading a book and remembering > everything. Well, editors are one of the most popular religious issues on any *nix mailing list. Personally, I find vi's editing modes annoying as heck and when I want a powerful or unusual function, I'm pretty sure I can find it or construct it in emacs, but others find the emacs key bindings equally awful and its kitchen-sink mentality offensive to their aesthetic sensibilities. Actually, I wouldn't mind something a little lighter weight, as long as it included all the emacs functionality that I do use 8^). -- Matthew Saltzman Clemson University Math Sciences [EMAIL PROTECTED] http://www.math.clemson.edu/~mjs -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: A code editor with auto-indentation ?
No offense taken. I think Emacs users are used to hearing it. There are three reasons I personally find it worthwhile to learn. First and most importantly, you don't need X to use all of its resources. You can get as much out of it from a terminal window as you can from X. I usually use it in X but quite frequently I need to do something from the terminal and get to make use of its power. The second is that you can split one buffer into two parts. One part on top can view any region of the document you are on (or another document if you want) while the other views a different part of the same buffer. This means that changes to either the top portion or the bottom get changed on the document. It is like opening up two windows with the same document and making changes to both and when you go to save them all changes are recorded to the one document. This is especially useful when you have a long document of code and need to reference another part of the document. If you want to see how it works, open up a document in emacs and use ctrl+x 2 make a change to the top part and use ctrl+x o to switch between them. Notice when you change one it changes both. The third reason is that it is faster to use the memorized key sequences if you know how to type reasonably fast. Moving your hands from the keyboard to move the mouse takes time. (Time that irritates me if I have to use it a lot). Once you get used to the key sequences you hate working without them. I don't expect everyone to feel it is necessary to memorize key maps to code, nor most people for that matter. However, if you do a lot of this stuff, memorizing them in the beginning can pay off in the long run. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Julien Olivier Sent: Saturday, March 22, 2003 6:21 PM To: [EMAIL PROTECTED] Subject: Re: A code editor with auto-indentation ? > Search once = CTRL-S > Search-next = CTRL-S again (repeat as needed). > Ah ! that's useful, and that works well. Thank you. > Emacs actually doesn't use the X clipboard in the way you might think. > Emacs has its own set of buffers, called the "kill ring." The sequence of > keystrokes that does what you want is: > > Write "Blah" > Select "Blah" > CTRL-W CTRL-Y (Cut and paste in place, i.e., copy)) > Write "This is a test" > Select "test" > CTRL-W CTRL-Y CTRL-Y (Cut "test", paste "test" (last cut), paste "Blah" > instead (previous cut). > > You would also want to know about ALT-X Replace-String, which replaces > all occurrences of one string with another to the end of the file and > ALT-X Query-Replace-String, which replaces occurrences one at a time. > > Furthermore, ALT-X Replace-Regexp and ALT-X Query-Replace-Regexp replace > patterns with patterns, which is an extremely powerful thing to be able to > do. > Waow !? Am I the only one to find it VERY complicated ? I mean CTRL-W CTRL-Y, then CTRL-W CTRL-Y CTRL-Y just to do a copy/paste... I think it's simpler to actually write the text manually :) > There's an O'Reilly book on emacs that might be a good start. > > Well, as I said: Emacs is too complicated for me I think. Don't get it wrong: I think it's a great tool because it has a lot of (hidden) functions and can be customized etc... but, for me, needing to learn tons of keybindings or needing to learn LISP just to use a code editor is too much. I prefer focusing on learning the language of the code I'm writing :) Again, no offence to Emacs developers. Each user has his own needs and Emacs might be the best tools for some of them. For me, jEdit is just better than Emacs as I can use it without reading a book and remembering everything. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: A code editor with auto-indentation ?
> Search once = CTRL-S > Search-next = CTRL-S again (repeat as needed). > Ah ! that's useful, and that works well. Thank you. > Emacs actually doesn't use the X clipboard in the way you might think. > Emacs has its own set of buffers, called the "kill ring." The sequence of > keystrokes that does what you want is: > > Write "Blah" > Select "Blah" > CTRL-W CTRL-Y (Cut and paste in place, i.e., copy)) > Write "This is a test" > Select "test" > CTRL-W CTRL-Y CTRL-Y (Cut "test", paste "test" (last cut), paste "Blah" > instead (previous cut). > > You would also want to know about ALT-X Replace-String, which replaces > all occurrences of one string with another to the end of the file and > ALT-X Query-Replace-String, which replaces occurrences one at a time. > > Furthermore, ALT-X Replace-Regexp and ALT-X Query-Replace-Regexp replace > patterns with patterns, which is an extremely powerful thing to be able to > do. > Waow !? Am I the only one to find it VERY complicated ? I mean CTRL-W CTRL-Y, then CTRL-W CTRL-Y CTRL-Y just to do a copy/paste... I think it's simpler to actually write the text manually :) > There's an O'Reilly book on emacs that might be a good start. > > Well, as I said: Emacs is too complicated for me I think. Don't get it wrong: I think it's a great tool because it has a lot of (hidden) functions and can be customized etc... but, for me, needing to learn tons of keybindings or needing to learn LISP just to use a code editor is too much. I prefer focusing on learning the language of the code I'm writing :) Again, no offence to Emacs developers. Each user has his own needs and Emacs might be the best tools for some of them. For me, jEdit is just better than Emacs as I can use it without reading a book and remembering everything. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: A code editor with auto-indentation ?
On Sat, 22 Mar 2003, Julien Olivier wrote: > Le ven 21/03/2003 à 23:44, ABrady a écrit : > > On 21 Mar 2003 21:51:49 +0100 > > Julien Olivier <[EMAIL PROTECTED]> wrote: > > [Trimmed] > > > > - It has weird keybindings (CTRL-W to cut, CTRL-Y to paste, nothing > > > to > > > copy, F10-f-s to save, F10-f-e to exit...) > > > > Save=CTRL-X CTRL-S > > Exit=CTRL-X CTRL-C > > SaveAs=CTRL-W ^^ CTRL-X CTRL-W > > Copy= META-W > > > > I didn't find them. SaveAs doesn't work for me though (CTRL-W cuts for > me). Thanks for the tip. See above. CTRL-W is cut. > > > > - There is no way to make a search or to repeat this search using a > > > key > > > combination. > > > > Search=CTRL-S > > > > In fact, the most important part is not the "search" problem (which has > a solution, it seems), it's the "search next" because I hate to go to > the menu to select "search next" hundreds of times. But I'm pretty sure > there is a keybinding (or can be). Search once = CTRL-S Search-next = CTRL-S again (repeat as needed). > > > > - It uses the X11 clipboard so that you can't select something and > > > paste over it. > > > > ? > > > > For example: > > Write "Blah" > Copy the word "Blah" > Write "This is a test" > Select "test" with the mouse > Press CTRL-Y > Nothing happens. > > In fact, what happened is that when you selected "test", "test" went > into the clipboard instead of "Blah" because X11 automatically copies > what's selected. In general that's a good behavior but in some cases, > that sucks. Emacs actually doesn't use the X clipboard in the way you might think. Emacs has its own set of buffers, called the "kill ring." The sequence of keystrokes that does what you want is: Write "Blah" Select "Blah" CTRL-W CTRL-Y (Cut and paste in place, i.e., copy)) Write "This is a test" Select "test" CTRL-W CTRL-Y CTRL-Y (Cut "test", paste "test" (last cut), paste "Blah" instead (previous cut). You would also want to know about ALT-X Replace-String, which replaces all occurrences of one string with another to the end of the file and ALT-X Query-Replace-String, which replaces occurrences one at a time. Furthermore, ALT-X Replace-Regexp and ALT-X Query-Replace-Regexp replace patterns with patterns, which is an extremely powerful thing to be able to do. > > [Info info deleted] > > Yes, I think that's the best solution. I tried GOOGLE but didn't find > good documentations. There's an O'Reilly book on emacs that might be a good start. > > The thing is I just discovered jEdit and I must say that it doesn't for > me everything that Emacs did, but is way easier to use and configure. It > even has auto-indent ala Emacs. So, I think I'll keep using it now. > > Thanks anyway for your advice. > > > -- > > Speed kills. Slow infuriates. > -- Matthew Saltzman Clemson University Math Sciences [EMAIL PROTECTED] http://www.math.clemson.edu/~mjs -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: A code editor with auto-indentation ?
Le ven 21/03/2003 à 23:44, ABrady a écrit : > On 21 Mar 2003 21:51:49 +0100 > Julien Olivier <[EMAIL PROTECTED]> wrote: > > > Hi > > > > I'm an almost happy Emacs user. What I really LOVE in emacs is the > > fact that you can automatically indent code using TAB (by > > automatically I mean that you press TAB once and the code is put at > > the correct columne, without needing to press TAB several times). > > > > The problem is that Emacs has some bugs/problems: > > - It can't open files located in non-UTF paths. > > ? > Well, if you have a directory whose name contains an icorrect UTF8 character (which happens often if you browse an SMB folder or an FTP folder which contains files created on Windows or on a UTF8-unfriendy distro), Emacs can't open the file. > > - It has weird keybindings (CTRL-W to cut, CTRL-Y to paste, nothing > > to > > copy, F10-f-s to save, F10-f-e to exit...) > > Save=CTRL-X CTRL-S > Exit=CTRL-X CTRL-C > SaveAs=CTRL-W > Copy= META-W > I didn't find them. SaveAs doesn't work for me though (CTRL-W cuts for me). Thanks for the tip. > > - There is no way to make a search or to repeat this search using a > > key > > combination. > > Search=CTRL-S > In fact, the most important part is not the "search" problem (which has a solution, it seems), it's the "search next" because I hate to go to the menu to select "search next" hundreds of times. But I'm pretty sure there is a keybinding (or can be). > > - It uses the X11 clipboard so that you can't select something and > > paste over it. > > ? > For example: Write "Blah" Copy the word "Blah" Write "This is a test" Select "test" with the mouse Press CTRL-Y Nothing happens. In fact, what happened is that when you selected "test", "test" went into the clipboard instead of "Blah" because X11 automatically copies what's selected. In general that's a good behavior but in some cases, that sucks. > > - Selecting several lines of code and pressing a key to REPLACE the > > selected characters doesn't work > > I had trouble with this one, too, if I'm reading what you're saying > right. See below for a possible answer to it, one I never bothered to > look into. > > > So my question is: is there any other code editor with the auto-indent > > feature and which doesn't have the bugs I wrote upper ? Or, > > alternatively, is there something like kvim (a vim module for KDE) but > > using GNOME and Emacs ? > > info emacs > > There's a section about key bindings. Also, with the exception of > searching, everything I put above is located in the menus for the > version I'm using, the version I last used, the version I used years > ago and every version in-between. I discovered searching by accident > because I've never read the info page. There may be a key sequence for > repeating the search, or a means to add it. And there may already be a > solution to all of the things you've mentioned that I don't know what > you mean as well. > Yes, I think that's the best solution. I tried GOOGLE but didn't find good documentations. The thing is I just discovered jEdit and I must say that it doesn't for me everything that Emacs did, but is way easier to use and configure. It even has auto-indent ala Emacs. So, I think I'll keep using it now. Thanks anyway for your advice. > -- > Speed kills. Slow infuriates. -- Julien Olivier <[EMAIL PROTECTED]> -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: A code editor with auto-indentation ?
On 21 Mar 2003 21:51:49 +0100 Julien Olivier <[EMAIL PROTECTED]> wrote: > Hi > > I'm an almost happy Emacs user. What I really LOVE in emacs is the > fact that you can automatically indent code using TAB (by > automatically I mean that you press TAB once and the code is put at > the correct columne, without needing to press TAB several times). > > The problem is that Emacs has some bugs/problems: > - It can't open files located in non-UTF paths. ? > - It has weird keybindings (CTRL-W to cut, CTRL-Y to paste, nothing > to > copy, F10-f-s to save, F10-f-e to exit...) Save=CTRL-X CTRL-S Exit=CTRL-X CTRL-C SaveAs=CTRL-W Copy= META-W > - There is no way to make a search or to repeat this search using a > key > combination. Search=CTRL-S > - It uses the X11 clipboard so that you can't select something and > paste over it. ? > - Selecting several lines of code and pressing a key to REPLACE the > selected characters doesn't work I had trouble with this one, too, if I'm reading what you're saying right. See below for a possible answer to it, one I never bothered to look into. > So my question is: is there any other code editor with the auto-indent > feature and which doesn't have the bugs I wrote upper ? Or, > alternatively, is there something like kvim (a vim module for KDE) but > using GNOME and Emacs ? info emacs There's a section about key bindings. Also, with the exception of searching, everything I put above is located in the menus for the version I'm using, the version I last used, the version I used years ago and every version in-between. I discovered searching by accident because I've never read the info page. There may be a key sequence for repeating the search, or a means to add it. And there may already be a solution to all of the things you've mentioned that I don't know what you mean as well. -- Speed kills. Slow infuriates. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: A code editor with auto-indentation ?
Le ven 21/03/2003 à 22:07, David Busby a écrit : > I asked a similar question a few days (maybe?) ago aboud cool Code editors, > I tried some of the recommended and dig this one written in Java called > jEdit. > I just tried it (downloaded from jpackage.org) and you're right: it rocks ! I think I'll keep it for a while. Thanks for the tip ! > /B > - Original Message - > From: "Jeff Kinz" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, March 21, 2003 13:03 > Subject: Re: A code editor with auto-indentation ? > > > > On Fri, Mar 21, 2003 at 09:51:49PM +0100, Julien Olivier wrote: > > > Hi > > > > > > I'm an almost happy Emacs user. What I really LOVE in emacs is the fact > > > that you can automatically indent code using TAB (by automatically I > > > mean that you press TAB once and the code is put at the correct columne, > > > without needing to press TAB several times). > > > > > > The problem is that Emacs has some bugs/problems: > > > - It can't open files located in non-UTF paths. > > > - It has weird keybindings (CTRL-W to cut, CTRL-Y to paste, nothing to > > > copy, F10-f-s to save, F10-f-e to exit...) > > > - There is no way to make a search or to repeat this search using a key > > > combination. > > > - It uses the X11 clipboard so that you can't select something and > > > paste over it. > > > - Selecting several lines of code and pressing a key to REPLACE the > > > selected characters doesn't work > > > > > > So my question is: is there any other code editor with the auto-indent > > > feature and which doesn't have the bugs I wrote upper ? Or, > > > alternatively, is there something like kvim (a vim module for KDE) but > > > using GNOME and Emacs ? > > > > Emacs is the most programmable editor on the planet. You can write a > > macro to make it do anything you want it to do. All the keybindings are > > re-programmable. Just read the docs and start hacking! :-) > > > > -- > > Jeff Kinz, Open-PC, Emergent Research, Hudson, MA. [EMAIL PROTECTED] > > copyright 2003. Use is restricted. Any use is an > > acceptance of the offer at http://www.kinz.org/policy.html. > > > > > > > > -- > > redhat-list mailing list > > unsubscribe mailto:[EMAIL PROTECTED] > > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: A code editor with auto-indentation ?
Le ven 21/03/2003 à 22:24, Ray Curtis a écrit : > > "jo" == Julien Olivier <[EMAIL PROTECTED]> writes: > > jo> Le ven 21/03/2003 à 22:03, Jeff Kinz a écrit : > >> On Fri, Mar 21, 2003 at 09:51:49PM +0100, Julien Olivier wrote: > >> > Hi > >> > > >> > I'm an almost happy Emacs user. What I really LOVE in emacs is the fact > >> > that you can automatically indent code using TAB (by automatically I > >> > mean that you press TAB once and the code is put at the correct columne, > >> > without needing to press TAB several times). > >> > > >> > The problem is that Emacs has some bugs/problems: > >> > - It can't open files located in non-UTF paths. > >> > - It has weird keybindings (CTRL-W to cut, CTRL-Y to paste, nothing to > >> > copy, F10-f-s to save, F10-f-e to exit...) > >> > - There is no way to make a search or to repeat this search using a key > >> > combination. > >> > - It uses the X11 clipboard so that you can't select something and > >> > paste over it. > >> > - Selecting several lines of code and pressing a key to REPLACE the > >> > selected characters doesn't work > >> > > >> > So my question is: is there any other code editor with the auto-indent > >> > feature and which doesn't have the bugs I wrote upper ? Or, > >> > alternatively, is there something like kvim (a vim module for KDE) but > >> > using GNOME and Emacs ? > >> > >> Emacs is the most programmable editor on the planet. You can write a > >> macro to make it do anything you want it to do. All the keybindings are > >> re-programmable. Just read the docs and start hacking! :-) > >> > > jo> Aaargh ! I hoped nobody would answer me that :( The fact is I'm... > jo> afraid of trying to customize Emacs... it looks so complicated... > > jo> Well, I'll try anyway. > > jo> But for the UTF problem, I doubt I can solve it easily though. > > And Emacs/Xemacs is for more than any just plain editor, consider > doing editing,ftp,macros,compiling etc. etc. etc. > I know that and that probably explains why it takes 2-3 seconds to start on my P4 2GHZ Laptop ;) What I need is really a simple text editor with C/PHP syntax highlighting/auto indent. > > -- > Ray Curtis > Curtis Consulting - http://www.ccux.com > Ever see a penguin fly? -- Try Linux > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: A code editor with auto-indentation ?
I asked a similar question a few days (maybe?) ago aboud cool Code editors, I tried some of the recommended and dig this one written in Java called jEdit. /B - Original Message - From: "Jeff Kinz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 21, 2003 13:03 Subject: Re: A code editor with auto-indentation ? > On Fri, Mar 21, 2003 at 09:51:49PM +0100, Julien Olivier wrote: > > Hi > > > > I'm an almost happy Emacs user. What I really LOVE in emacs is the fact > > that you can automatically indent code using TAB (by automatically I > > mean that you press TAB once and the code is put at the correct columne, > > without needing to press TAB several times). > > > > The problem is that Emacs has some bugs/problems: > > - It can't open files located in non-UTF paths. > > - It has weird keybindings (CTRL-W to cut, CTRL-Y to paste, nothing to > > copy, F10-f-s to save, F10-f-e to exit...) > > - There is no way to make a search or to repeat this search using a key > > combination. > > - It uses the X11 clipboard so that you can't select something and > > paste over it. > > - Selecting several lines of code and pressing a key to REPLACE the > > selected characters doesn't work > > > > So my question is: is there any other code editor with the auto-indent > > feature and which doesn't have the bugs I wrote upper ? Or, > > alternatively, is there something like kvim (a vim module for KDE) but > > using GNOME and Emacs ? > > Emacs is the most programmable editor on the planet. You can write a > macro to make it do anything you want it to do. All the keybindings are > re-programmable. Just read the docs and start hacking! :-) > > -- > Jeff Kinz, Open-PC, Emergent Research, Hudson, MA. [EMAIL PROTECTED] > copyright 2003. Use is restricted. Any use is an > acceptance of the offer at http://www.kinz.org/policy.html. > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: A code editor with auto-indentation ?
Le ven 21/03/2003 à 22:03, Jeff Kinz a écrit : > On Fri, Mar 21, 2003 at 09:51:49PM +0100, Julien Olivier wrote: > > Hi > > > > I'm an almost happy Emacs user. What I really LOVE in emacs is the fact > > that you can automatically indent code using TAB (by automatically I > > mean that you press TAB once and the code is put at the correct columne, > > without needing to press TAB several times). > > > > The problem is that Emacs has some bugs/problems: > > - It can't open files located in non-UTF paths. > > - It has weird keybindings (CTRL-W to cut, CTRL-Y to paste, nothing to > > copy, F10-f-s to save, F10-f-e to exit...) > > - There is no way to make a search or to repeat this search using a key > > combination. > > - It uses the X11 clipboard so that you can't select something and > > paste over it. > > - Selecting several lines of code and pressing a key to REPLACE the > > selected characters doesn't work > > > > So my question is: is there any other code editor with the auto-indent > > feature and which doesn't have the bugs I wrote upper ? Or, > > alternatively, is there something like kvim (a vim module for KDE) but > > using GNOME and Emacs ? > > Emacs is the most programmable editor on the planet. You can write a > macro to make it do anything you want it to do. All the keybindings are > re-programmable. Just read the docs and start hacking! :-) > Aaargh ! I hoped nobody would answer me that :( The fact is I'm... afraid of trying to customize Emacs... it looks so complicated... Well, I'll try anyway. But for the UTF problem, I doubt I can solve it easily though. > -- > Jeff Kinz, Open-PC, Emergent Research, Hudson, MA. [EMAIL PROTECTED] > copyright 2003. Use is restricted. Any use is an > acceptance of the offer at http://www.kinz.org/policy.html. > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: A code editor with auto-indentation ?
On Fri, Mar 21, 2003 at 09:51:49PM +0100, Julien Olivier wrote: > Hi > > I'm an almost happy Emacs user. What I really LOVE in emacs is the fact > that you can automatically indent code using TAB (by automatically I > mean that you press TAB once and the code is put at the correct columne, > without needing to press TAB several times). > > The problem is that Emacs has some bugs/problems: > - It can't open files located in non-UTF paths. > - It has weird keybindings (CTRL-W to cut, CTRL-Y to paste, nothing to > copy, F10-f-s to save, F10-f-e to exit...) > - There is no way to make a search or to repeat this search using a key > combination. > - It uses the X11 clipboard so that you can't select something and > paste over it. > - Selecting several lines of code and pressing a key to REPLACE the > selected characters doesn't work > > So my question is: is there any other code editor with the auto-indent > feature and which doesn't have the bugs I wrote upper ? Or, > alternatively, is there something like kvim (a vim module for KDE) but > using GNOME and Emacs ? Emacs is the most programmable editor on the planet. You can write a macro to make it do anything you want it to do. All the keybindings are re-programmable. Just read the docs and start hacking! :-) -- Jeff Kinz, Open-PC, Emergent Research, Hudson, MA. [EMAIL PROTECTED] copyright 2003. Use is restricted. Any use is an acceptance of the offer at http://www.kinz.org/policy.html. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list