The Union of Vim with KDE
Philippe Fremy writes "Thomas Capricelli, Mickael Marchand and me are pleased to present the first ever stable version of KVim, finally bringing "the power of VIM with KDE's friendliness".
This release contains a port of the standalone editor Vim 6.0 to Qt/KDE (2 and 3) and a KDE KPart Component. The component can currently embed either of GVim or KVim in Konqueror (screenshots), with out-of-process embedding. Further work is required before proper support for KDevelop, KMail and Kate is available, but things are moving forward."
As everyone knows, Vim is the best (only?) text editor, and KDE is the best (only?)
desktop system. Heh.
Do you use vim now? How come it didn't lose what made it useful when the gtk build stuck it in a window and added menus and buttons god knows how long ago?
Or is it that no real vim users have used it since version 4?
Come to think of it, I bet vi is a symlink to pico on your system.
None are more hopelessly enslaved than those who falsely believe they are free. Johann Wolfgang von Goethe.
What's the big deal? VI rocked back in the days when 80x24 amber/green monitors / terminals were the thing to use, but today editors which are SMART are way more productive, since they let the developer focus on the job that has to be done, instead of looking up information that should be available at the fingertips. Any editor without intellisense-like functionality is a waste of time. Seriously.
Not to sound like a troll or anything, I used VI for years, but this is 2002, the year in which we can buy a tiny mobile phone which can be used to watch a movie on it or browse websites, so using an ascii based editor that hasn't any tricks up its sleeve besides coloring keywords is IMHO kidding yourself with irrelevant reasons like "the new stuff is not worth it, this is more productive" etc.
Never underestimate the relief of true separation of Religion and State.
...Otherwise, the Linux community's proposed "improvement" to Mickeysoft's infamous Start button would have been an even MORE non-intuitive looking, oddly situated stone footprint.
IMHO, what allowed KDE to win the desktop war was the fact that its developers actually listened to what their users told them. Their design choices were dictated from the demands of people below, instead of by ego-driven edicts delivered from the people above. Good ideas are never delivered by edict..only unrealistic expectations that will never be filled.
Cheers,
Bowie J. Poag
Vim? Does it have a calendar? Eliza? news? web? programming language? inline shell? holidays? more to the point, have they fixed that awful bug where you have to press three or four keys to change it from overtyping to inserting or deleting? How could anyone think that was a good idea?
OK I'm trolling, but goddamit I'm trolling for emacs AND I'M PROUD OF IT!! (Anyway, c'mon, what do you expect with a story like that?? "Vim the only text editor"?? Are you mad? As it happens I'm half-way through an install of Mandrak 8.2 on the machine next to this one - sure looks like there's more than one text editor there... fgs there's two versions of emacs alone (four including -nox)...
"None are more hopelessly enslaved than those who falsely believe they are free." -- Goethe
is trolling with this line:
As everyone knows, Vim is the best (only?) text editor, and KDE is the best (only?) desktop system. Heh.
Taco: you should know better than that by now!
An optimist believes we live in the best world possible; a pessimist fears this is true.
***but try using Equation Editor in Word. Lots of times***
r ocServer32", "", "S", "", sValue) Then
.Fields("PatientID") .Fields("Comments") .Fields("TheObject")
DoCmd.Close acForm, "InlineOLEProgress"
True, I've been shafted by OLE loads of times. Microsoft is certainly one of the great forces for convincing the masses about making backups. Maybe Micro$oft has a deal with tape drive manufacturers, etc.
It's so bad that the latest software I've produced automatically applies a hotfix without prompting the user, fix their God damn machines for them, here's the code
Private Sub Form_Open(Cancel As Integer)
On Error GoTo Err_Fuck_Form_Open
'If NAV exists, disable it
Dim sValue As String
If Not fReadValue("HKCR", "CLSID\{00020906-0000-0000-C000-000000000046}\InP
If Right$(sValue, 12) = "SCRBLOCK.DLL" Then 'Norton Antivirus scriptblocker is installed... kill it
SaveProperty "Norton", "Detected"
SaveProperty "NortonKey", sValue
If fDeleteKey("HKCR", "CLSID\{00020906-0000-0000-C000-000000000046}", "InProcServer32") Then
MsgBox "Norton Antivirus has been detected which may interfere with Microsoft Word documents contained in/connected to this database in line with Symantec advisory document. This database has been unsuccesful at passifying the application [I require Administrator privileges to do this automatically]" + vbNewLine + "As an alternative, please disable script-blocking from your Norton Antivirus console to enable these functions, Symantec corporation states that other aspects of the virus-scanner may function normally", vbInformation
SaveProperty "LastFailureofNortonDisablerOn", Now
End If
End If
End If
Init:
On Error GoTo Err_Form_Open
If GetProperty("AllowLinkedDocs") = "True" Then TheObject.OLETypeAllowed = acOLEEither
Dim dbs1, dbs2 As Database, Rec1, Rec2 As Recordset, fileCnt, MAX_REPO As Integer, fs As New FileSystemObject
MAX_REPO = Val(IIf(GetProperty("RepoSize") = "", "100", GetProperty("RepoSize")))
If fs.FileExists(CurrentProject.Path + "\~tmpdb.mdb") Then MsgBox "The scratch repository exists, indicating a prior crash, possibly due to disk space problems. This will be converted back to a repository", vbInformation: Call Bollox_tmpExists 'Shit, must have crashed on last run - clear up
Set dbs1 = CurrentDb
Set Rec1 = dbs1.OpenRecordset("~OLEs")
If Not Rec1.EOF Then 'There is data in the ~OLE table - problem, last run must have crashed before it could be saved to the repository, or maybe after it was saved to the repository...
If MsgBox("There is a problem - documents are stored in the temporary tables indicating a possible crash last time." + vbNewLine + "Should I attempt to re-save the documents?", vbYesNo, "Try save again?") = vbYes Then
DoCmd.Close acForm, Me.Name
Exit Sub
Else 'They better be DAMN SURE!
If MsgBox("Are you really really sure you want to delete these documents in limbo?", vbYesNo, "Sure you're sure?") = vbYes Then
DoCmd.SetWarnings False
DoCmd.RunSQL "DELETE FROM [~OLEs] WHERE 1=1", False 'Clear the temp table
DoCmd.SetWarnings True
Else 'Discard the temp documents...
DoCmd.Close acForm, Me.Name
Exit Sub
End If
End If
End If
DoCmd.OpenForm "InlineOLEProgress"
On Error GoTo Err_Db_DidNotOpen
For fileCnt = 1 To MAX_REPO
If (fileCnt Mod 10) = 0 Then
Form_InlineOLEProgress.ProgressText = "Loading from repository " + Format(fileCnt, "0000") + vbNewLine + "Found " + Str(Rec1.RecordCount) + " documents for this client"
Form_InlineOLEProgress.ProgBar.Value = fileCnt / MAX_REPO * 9999
Form_InlineOLEProgress.Repaint
End If
If Not fs.FileExists(CurrentProject.Path + "\repo" + Format(fileCnt, "0000") + ".mdb") Then GoTo Db_FileNotExist
Set dbs2 = OpenDatabase(CurrentProject.Path + "\repo" + Format(fileCnt, "0000") + ".mdb")
Set Rec2 = dbs2.OpenRecordset("SELECT * FROM OLEs WHERE PatientID=" + Format(Val(OpenArgs), "#"), dbOpenForwardOnly) 'Bring all of this patient's OLE stuff into thisdb from all repositories
While Not Rec2.EOF
Rec1.AddNew
With Rec2
Rec1.Fields("PatientID") =
Rec1.Fields("Comments") =
Rec1.Fields("TheObject") =
End With
Rec1.Update
Rec2.MoveNext
Wend
Db_FileNotExist:
Next fileCnt
On Error GoTo Err_WeirdPlaceforanError
Rec1.Close
dbs1.Close
Me.Requery
Me.Caption = "Documents of Patient " + OpenArgs
Exit_Form_Open:
Exit Sub
Err_Db_DidNotOpen: 'ERROR handling in the FOR loop
Resume Db_FileNotExist
Err_Form_Open: 'ERROR handling on setting up the FOR loop
MsgBox "The Documents form has failed to initialise. Details:" + vbNewLine + Err.Description: Cancel = True
Resume Exit_Form_Open
Err_Fuck_Form_Open: 'ERROR in Norton Antivirus hotfixer
MsgBox "An unexpected error has occured whilst augmenting NAV. Details:" + vbNewLine + Err.Description
Resume Init
Err_WeirdPlaceforanError:
MsgBox "A minor runtime error in Documents -> Form_Open has occured whilst processing this directive. Details:" + vbNewLine + vbNewLine + Err.Description + vbNewLine + vbNewLine + "It may be possible to continue normally", , "Unanticipated error"
Resume Next
End Sub
A caveman dreams of being us, the incalculable power and riches. We dream of being Q, then what?