From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: What a modern collaboration toolkit looks like Date: Tue, 01 Jan 2008 22:44:47 +0200 Message-ID: References: <20071230122217.3CA84830B9A@snark.thyrsus.com> <20071231130712.GB8641@thyrsus.com> <20071231214108.GD26639@thyrsus.com> <200801010027.m010R74P025484@oogie-boogie.ics.uci.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1199220298 26434 80.91.229.12 (1 Jan 2008 20:44:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Jan 2008 20:44:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 01 21:45:18 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J9nzB-00063C-Gk for ged-emacs-devel@m.gmane.org; Tue, 01 Jan 2008 21:45:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J9nyp-00045L-Ko for ged-emacs-devel@m.gmane.org; Tue, 01 Jan 2008 15:44:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J9nyl-00041T-Bh for emacs-devel@gnu.org; Tue, 01 Jan 2008 15:44:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J9nyj-0003xG-Fn for emacs-devel@gnu.org; Tue, 01 Jan 2008 15:44:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J9nyj-0003wz-Bj for emacs-devel@gnu.org; Tue, 01 Jan 2008 15:44:49 -0500 Original-Received: from romy.inter.net.il ([213.8.233.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J9nyj-00070t-4a for emacs-devel@gnu.org; Tue, 01 Jan 2008 15:44:49 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-255-248.inter.net.il [83.130.255.248]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id JTZ61219 (AUTH halo1); Tue, 1 Jan 2008 22:44:29 +0200 (IST) In-reply-to: <200801010027.m010R74P025484@oogie-boogie.ics.uci.edu> (message from Dan Nicolaescu on Mon, 31 Dec 2007 16:27:07 -0800) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:85819 Archived-At: > From: Dan Nicolaescu > Cc: emacs-devel@gnu.org > Date: Mon, 31 Dec 2007 16:27:07 -0800 > > > All I needed to do is introduce > > them to some optional features, such as Speedbar, ebrowse, and gdb-ui, > > and craft a simple .emacs to bind the various Fn keys to > > compile/run/debug commands they were used to have. After that, I > > never again heard anyone of them laughing at "stagnant backwater" that > > is Emacs. > > Care to post an example of such .emacs? > Maybe it can be used as a skeleton for a package for such users, or > maybe we can change some defaults to match such users' expectations. There's nothing too fancy about it; most of it goes like this: (defun ez-clcheckout () "Checkout from ClearCase the file visited by current buffer." (interactive) (shell-command (format "cleartool co %s" buffer-file-name)) (revert-buffer nil t)) (global-set-key (kbd "") 'ez-clcheckout) (defun ez-clcheckin () "Checkin to ClearCase the file visited by current buffer." (interactive) (shell-command (format "cleartool ci %s" buffer-file-name)) (revert-buffer nil t)) (global-set-key (kbd "") 'ez-clcheckin) (defun ez-maketarg () "Build the project in current buffer's directory." (interactive) (save-buffer) (if (eq system-type 'windows-nt) (compile compile-command) (compile "gmake -k DEBUG"))) (global-set-key (kbd "") 'ez-maketarg) (add-hook 'c-mode-common-hook (lambda () (unless (or (file-exists-p "makefile") (file-exists-p "Makefile")) (let* ((dsp-dir (file-name-directory buffer-file-name)) (dsp-file (downcase (file-name-nondirectory (directory-file-name dsp-dir))))) (set (make-local-variable 'compile-command) (concat "devenv.com " (convert-standard-filename dsp-dir) dsp-file ".vcproj debug /rebuild")))))) (global-set-key (kbd "") 'next-error)