I'd love to get Emacs/Epsilon emu mode back for the VS code editor.
Is there any way to do this? Apparently 2005b2 has an option for
"Apply the following additional keyboard mapping scheme' and one of
the opts is Emacs. What does that do exactly? 10 1253
_R wrote: I'd love to get Emacs/Epsilon emu mode back for the VS code editor.
I have written a plugin for CodeRush that implements some of the electric
editing functionality from Emacs for C#. Have a look if you like: http://www.sturmnet.org/blog/cr-electric-editing/
Oliver Sturm
--
omnibus ex nihilo ducendis sufficit unum
Spaces inserted to prevent google email destruction:
MSN oliver @ sturmnet.org Jabber sturm @ amessage.de
ICQ 27142619 http://www.sturmnet.org/blog
On Tue, 30 Aug 2005 03:22:08 -0700, "Oliver Sturm"
<ol****@sturmnet.org> wrote: _R wrote:
I'd love to get Emacs/Epsilon emu mode back for the VS code editor.
I have written a plugin for CodeRush that implements some of the electric editing functionality from Emacs for C#. Have a look if you like: http://www.sturmnet.org/blog/cr-electric-editing/
Oliver Sturm
Now that's a serious editor-oriented page! I'll be taking a much
closer look, especially as I get up to speed on VS2005 (just loaded it
and got my hopes up when I saw the word 'Emacs').
Your page opens up a lot of questions about 'Best Editor.' In
chatting with someone a while back about the unsuitability of MS's own
editor for code editing, they said in passing "Emacs' key mapping
sucks." They were talking about the fact that you don't need mnemonic
prompts for cursor-right, cursor-left, etc. Those will be the first
to develop reflexively. So Emacs' ^f for 'Forward' is essentially a
step back from the old WordStar commands that were 'compass-mapped'
and directly under the left hand.
This hadn't occurred to me because I'm so accustomed to Emacs already.
Still, I can't imagine a more awkward code editor than MS's previous
VS editors, so I was astonished when they eliminated Epsilon/Brief
emulations.
I think the most important things to me are getting a base set of
reflexive keystrokes back and functioning, like ^k for "kill to end of
line." Awkward to try to remap ^k in MS's editor of course, so I've
ended up struggling with the MS mapping.
_R wrote: Now that's a serious editor-oriented page! I'll be taking a much closer look, especially as I get up to speed on VS2005 (just loaded it and got my hopes up when I saw the word 'Emacs').
I like the topic :-) But there are two different things there: the quest
for the best text editor page is just a general thing, while the electric
editing project is specifically for VS - one of the most Emacs important
features for me, still missing from standard VS. It's based on CodeRush, a
tool that really does wonders for code editing in VS, without being like
Emacs by itself :-) Look here if you're interested: http://www.devexpress.com/Products/NET/Coderush/
Your page opens up a lot of questions about 'Best Editor.' In chatting with someone a while back about the unsuitability of MS's own editor for code editing, they said in passing "Emacs' key mapping sucks." They were talking about the fact that you don't need mnemonic prompts for cursor-right, cursor-left, etc. Those will be the first to develop reflexively. So Emacs' ^f for 'Forward' is essentially a step back from the old WordStar commands that were 'compass-mapped' and directly under the left hand.
Nothing originally WordStar about that, I think. Using traditional vi on
traditional Unix system keyboards worked with a similar metaphor, just by
using the keys for cursor navigation that were under the fingers anyway.
I think the most important things to me are getting a base set of reflexive keystrokes back and functioning, like ^k for "kill to end of line." Awkward to try to remap ^k in MS's editor of course, so I've ended up struggling with the MS mapping.
Good idea for the plugin, I guess :-) But then, it would be easy to do
this as a macro or whatever - simply execute the keystrokes for Shift+End,
Delete.
Anyway, my general opinion is that most people find the approaches most
comfortable that they are most accustomed to. I sometimes make the effort
to try and break out of my own usage patterns, because I believe that's
the way to discover new things. And for code editing, it's really simple
for me: automation, as much as possible. That's something that the old
Emacs C++ mode was already better at than most other programmers' editors
are today.
Oliver Sturm
--
omnibus ex nihilo ducendis sufficit unum
Spaces inserted to prevent google email destruction:
MSN oliver @ sturmnet.org Jabber sturm @ amessage.de
ICQ 27142619 http://www.sturmnet.org/blog
Nice to see emacs getting a mention in a Microsoft C# forum! :)
My 2c worth...
1. emacs used to be my editor of choice, and I've developed a lot of C and
Java code in it, but over recent years I've switched to vim. I just like the
"primitive" feel of it, compared with the double key commands for emacs, and
also the fact that vim (or vi) is available anywhere.
2. I do most of my project development within VS, and don't find the
graphical editor, with intellisense, limiting. The only things which really
bug me are the lack of keystrokes for: deleting a whole line; deleting to the
end of a line.
3. I write lots of little C# programs from the command line, in VIM. C#
makes command line programming possible again, where I wouldn't consider
doing the smallest MFC/C++ program without the assistance of visual studio.
4. I've tried to look at Oliver's editors page, but it's timing out at the
moment. I'll take a look some other time. I bet it's interesting!
Ciao,
Javaman
"Oliver Sturm" wrote: _R wrote:
Now that's a serious editor-oriented page! I'll be taking a much closer look, especially as I get up to speed on VS2005 (just loaded it and got my hopes up when I saw the word 'Emacs').
I like the topic :-) But there are two different things there: the quest for the best text editor page is just a general thing, while the electric editing project is specifically for VS - one of the most Emacs important features for me, still missing from standard VS. It's based on CodeRush, a tool that really does wonders for code editing in VS, without being like Emacs by itself :-) Look here if you're interested: http://www.devexpress.com/Products/NET/Coderush/
Your page opens up a lot of questions about 'Best Editor.' In chatting with someone a while back about the unsuitability of MS's own editor for code editing, they said in passing "Emacs' key mapping sucks." They were talking about the fact that you don't need mnemonic prompts for cursor-right, cursor-left, etc. Those will be the first to develop reflexively. So Emacs' ^f for 'Forward' is essentially a step back from the old WordStar commands that were 'compass-mapped' and directly under the left hand.
Nothing originally WordStar about that, I think. Using traditional vi on traditional Unix system keyboards worked with a similar metaphor, just by using the keys for cursor navigation that were under the fingers anyway.
I think the most important things to me are getting a base set of reflexive keystrokes back and functioning, like ^k for "kill to end of line." Awkward to try to remap ^k in MS's editor of course, so I've ended up struggling with the MS mapping.
Good idea for the plugin, I guess :-) But then, it would be easy to do this as a macro or whatever - simply execute the keystrokes for Shift+End, Delete.
Anyway, my general opinion is that most people find the approaches most comfortable that they are most accustomed to. I sometimes make the effort to try and break out of my own usage patterns, because I believe that's the way to discover new things. And for code editing, it's really simple for me: automation, as much as possible. That's something that the old Emacs C++ mode was already better at than most other programmers' editors are today.
Oliver Sturm -- omnibus ex nihilo ducendis sufficit unum Spaces inserted to prevent google email destruction: MSN oliver @ sturmnet.org Jabber sturm @ amessage.de ICQ 27142619 http://www.sturmnet.org/blog
Nice to see emacs getting a mention in a Microsoft C# forum! :)
My 2c worth...
1. emacs used to be my editor of choice, and I've developed a lot of C and
Java code in it, but over recent years I've switched to vim. I just like the
"primitive" feel of it, compared with the double key commands for emacs, and
also the fact that vim (or vi) is available anywhere.
2. I do most of my project development within VS, and don't find the
graphical editor, with intellisense, limiting. The only things which really
bug me are the lack of keystrokes for: deleting a whole line; deleting to the
end of a line.
3. I write lots of little C# programs from the command line, in VIM. C#
makes command line programming possible again, where I wouldn't consider
doing the smallest MFC/C++ program without the assistance of visual studio.
4. I've tried to look at Oliver's editors page, but it's timing out at the
moment. I'll take a look some other time. I bet it's interesting!
Ciao,
Javaman
"Oliver Sturm" wrote: _R wrote:
Now that's a serious editor-oriented page! I'll be taking a much closer look, especially as I get up to speed on VS2005 (just loaded it and got my hopes up when I saw the word 'Emacs').
I like the topic :-) But there are two different things there: the quest for the best text editor page is just a general thing, while the electric editing project is specifically for VS - one of the most Emacs important features for me, still missing from standard VS. It's based on CodeRush, a tool that really does wonders for code editing in VS, without being like Emacs by itself :-) Look here if you're interested: http://www.devexpress.com/Products/NET/Coderush/
Your page opens up a lot of questions about 'Best Editor.' In chatting with someone a while back about the unsuitability of MS's own editor for code editing, they said in passing "Emacs' key mapping sucks." They were talking about the fact that you don't need mnemonic prompts for cursor-right, cursor-left, etc. Those will be the first to develop reflexively. So Emacs' ^f for 'Forward' is essentially a step back from the old WordStar commands that were 'compass-mapped' and directly under the left hand.
Nothing originally WordStar about that, I think. Using traditional vi on traditional Unix system keyboards worked with a similar metaphor, just by using the keys for cursor navigation that were under the fingers anyway.
I think the most important things to me are getting a base set of reflexive keystrokes back and functioning, like ^k for "kill to end of line." Awkward to try to remap ^k in MS's editor of course, so I've ended up struggling with the MS mapping.
Good idea for the plugin, I guess :-) But then, it would be easy to do this as a macro or whatever - simply execute the keystrokes for Shift+End, Delete.
Anyway, my general opinion is that most people find the approaches most comfortable that they are most accustomed to. I sometimes make the effort to try and break out of my own usage patterns, because I believe that's the way to discover new things. And for code editing, it's really simple for me: automation, as much as possible. That's something that the old Emacs C++ mode was already better at than most other programmers' editors are today.
Oliver Sturm -- omnibus ex nihilo ducendis sufficit unum Spaces inserted to prevent google email destruction: MSN oliver @ sturmnet.org Jabber sturm @ amessage.de ICQ 27142619 http://www.sturmnet.org/blog
On Tue, 30 Aug 2005 11:34:36 -0700, "Oliver Sturm"
<ol****@sturmnet.org> wrote: http://www.devexpress.com/Products/NET/Coderush/
Thanks for the link. _R: I think the most important things to me are getting a base set of reflexive keystrokes back and functioning, like ^k for "kill to end of line." Awkward to try to remap ^k in MS's editor of course, so I've ended up struggling with the MS mapping.
Good idea for the plugin, I guess :-) But then, it would be easy to do this as a macro or whatever - simply execute the keystrokes for Shift+End, Delete.
There is built-in functionality for 'kill to end of line' in the MS
editor, but it's tough to map to ^k cause ^k is one of the MS prefixes
for multikey commands. Like trying remapping ^x in Emacs--it would
break a lot of stuff. Unfortunately I use ^k constantly in
Epsilon/Emacs. Tough to do without.
On Tue, 30 Aug 2005 11:34:36 -0700, "Oliver Sturm"
<ol****@sturmnet.org> wrote: http://www.devexpress.com/Products/NET/Coderush/
Thanks for the link. _R: I think the most important things to me are getting a base set of reflexive keystrokes back and functioning, like ^k for "kill to end of line." Awkward to try to remap ^k in MS's editor of course, so I've ended up struggling with the MS mapping.
Good idea for the plugin, I guess :-) But then, it would be easy to do this as a macro or whatever - simply execute the keystrokes for Shift+End, Delete.
There is built-in functionality for 'kill to end of line' in the MS
editor, but it's tough to map to ^k cause ^k is one of the MS prefixes
for multikey commands. Like trying remapping ^x in Emacs--it would
break a lot of stuff. Unfortunately I use ^k constantly in
Epsilon/Emacs. Tough to do without.
On Tue, 30 Aug 2005 18:45:03 -0700, Javaman59
<Ja*******@discussions.microsoft.com> wrote: 1. emacs used to be my editor of choice, and I've developed a lot of C and Java code in it, but over recent years I've switched to vim. I just like the "primitive" feel of it, compared with the double key commands for emacs, and also the fact that vim (or vi) is available anywhere.
I guess there are more 'vi' versions than 'emacs's, but Emacs is
available for lots of platforms as well. I ended up with it via the
Epsilon editor in MSDOS days.
2. I do most of my project development within VS, and don't find the graphical editor, with intellisense, limiting. The only things which really bug me are the lack of keystrokes for: deleting a whole line; deleting to the end of a line.
Exactly my problem. I don't want to edit outside of VS and do without
Intellisense. But I don't understand how programmers with good
touch-typing skills are content to lift their fingers off the asdf /
jkl; keys and move over to the cursor pad. Its a major distraction.
Also, the alpha keys are in the same place on every keyboard.
Bad enough that the CTL and ALT keys have changed position over the
years (CTL key was where the Caps-Lock usuallly is now, and the ALT
key was where the CTL key was. I found that layout much more
practical. Why did they change it?)
Given that I have to type on a few different keyboard layouts, I'd
much prefer that the cursor/delete/kill/etc commands were mapped to
CTL and ALT combos.
By the way, the previous VS editor did have a 'kill entire line'
mapped to ^l (that's L). Unfortunately typing ^l in some other MS
environments is playing keyboard roulette--you never know what's going
to happen.
On Tue, 30 Aug 2005 18:45:03 -0700, Javaman59
<Ja*******@discussions.microsoft.com> wrote: 1. emacs used to be my editor of choice, and I've developed a lot of C and Java code in it, but over recent years I've switched to vim. I just like the "primitive" feel of it, compared with the double key commands for emacs, and also the fact that vim (or vi) is available anywhere.
I guess there are more 'vi' versions than 'emacs's, but Emacs is
available for lots of platforms as well. I ended up with it via the
Epsilon editor in MSDOS days.
2. I do most of my project development within VS, and don't find the graphical editor, with intellisense, limiting. The only things which really bug me are the lack of keystrokes for: deleting a whole line; deleting to the end of a line.
Exactly my problem. I don't want to edit outside of VS and do without
Intellisense. But I don't understand how programmers with good
touch-typing skills are content to lift their fingers off the asdf /
jkl; keys and move over to the cursor pad. Its a major distraction.
Also, the alpha keys are in the same place on every keyboard.
Bad enough that the CTL and ALT keys have changed position over the
years (CTL key was where the Caps-Lock usuallly is now, and the ALT
key was where the CTL key was. I found that layout much more
practical. Why did they change it?)
Given that I have to type on a few different keyboard layouts, I'd
much prefer that the cursor/delete/kill/etc commands were mapped to
CTL and ALT combos.
By the way, the previous VS editor did have a 'kill entire line'
mapped to ^l (that's L). Unfortunately typing ^l in some other MS
environments is playing keyboard roulette--you never know what's going
to happen.
_R wrote: Good idea for the plugin, I guess :-) But then, it would be easy to do this as a macro or whatever - simply execute the keystrokes for Shift+End, Delete.
There is built-in functionality for 'kill to end of line' in the MS editor, but it's tough to map to ^k cause ^k is one of the MS prefixes for multikey commands. Like trying remapping ^x in Emacs--it would break a lot of stuff. Unfortunately I use ^k constantly in Epsilon/Emacs. Tough to do without.
Oh, I see. Right - I don't normally use any of the standard multi-key
mappings in VS, CodeRush does away with that :-)
Oliver Sturm
--
omnibus ex nihilo ducendis sufficit unum
Spaces inserted to prevent google email destruction:
MSN oliver @ sturmnet.org Jabber sturm @ amessage.de
ICQ 27142619 http://www.sturmnet.org/blog This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: ik |
last post by:
ERROR after uninstalling SQL Server 2005 Express
I get this message,
SQLDMO has not been registered. Please re-run your setupand contact your
system administrator.
GREAT!!! ReInstalled SQL...
|
by: Alan Mackenzie |
last post by:
To all those who use (X)Emacs's CC Mode to edit C, C++, Java,
Objective-C, Pike, AWK or IDL:
To help direct the development of CC Mode, it would be useful to find out
how people use the...
|
by: Mike P |
last post by:
I've been using Visual Studio 2005 Beta 1 for the last few weeks, and I
now want to try using SQL Server 2005 Beta with it. I've been to the
Microsoft URL...
|
by: Peted |
last post by:
Hi, sorry if this isnt the correct newsgroups for this questions but
im using vc++ 2005 express edition beta2 for learning to program vc++
..net, as in winforms applications and i was wondering...
|
by: pine |
last post by:
hi! i just joined this group today after a colleague told me about it.
anyway, i'm new to SQL and haven't tried installing any version of it.
I do have vb 6.0 though on my pc. My problem is that I...
|
by: Xah Lee |
last post by:
Summary: when encountering ex as a unit in css, FireFox (and iCab) did
not take into account the font-family.
Detail:
http://xahlee.org/js/ff_pre_ex.html
Xah
xah@xahlee.org
∑...
|
by: V |
last post by:
VS2005 Emacs mode copy/paste bugs are still not fixed in SP1 beta.
They've been reported to Microsoft since the original Emacs mode, but
it doesn't look like MS has much interest in fixing them....
|
by: Xah Lee |
last post by:
http://xahlee.org/emacs/modernization.html
]
The Modernization of Emacs
----------------------------------------
THE PROBLEM
Emacs is a great editor. It is perhaps the most powerful and...
|
by: Xah Lee |
last post by:
Text Processing with Emacs Lisp
Xah Lee, 2007-10-29
This page gives a outline of how to use emacs lisp to do text
processing, using a specific real-world problem as example. If you
don't know...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: Aliciasmith |
last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
|
by: tracyyun |
last post by:
Hello everyone,
I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
|
by: giovanniandrean |
last post by:
The energy model is structured as follows and uses excel sheets to give input data:
1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
|
by: nia12 |
last post by:
Hi there,
I am very new to Access so apologies if any of this is obvious/not clear.
I am creating a data collection tool for health care employees to complete. It consists of a number of...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
|
by: isladogs |
last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, Mike...
|
by: GKJR |
last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
|
by: SueHopson |
last post by:
Hi All,
I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...
| |