From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jason Spiro" Newsgroups: gmane.emacs.help Subject: need advice about fixing up my new vimpact-mode, a Vim emulation mode based on viper-mode Date: Mon, 19 Feb 2007 05:37:51 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1171895179 2503 80.91.229.12 (19 Feb 2007 14:26:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Feb 2007 14:26:19 +0000 (UTC) Cc: kifer@cs.stonybrook.edu To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 19 15:26:11 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HJ9T1-0004hj-D8 for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Feb 2007 15:26:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJ9T0-0002Ea-RQ for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Feb 2007 09:26:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HJ5u7-0003nW-Pg for help-gnu-emacs@gnu.org; Mon, 19 Feb 2007 05:37:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HJ5u6-0003n4-35 for help-gnu-emacs@gnu.org; Mon, 19 Feb 2007 05:37:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJ5u5-0003mx-Vv for help-gnu-emacs@gnu.org; Mon, 19 Feb 2007 05:37:54 -0500 Original-Received: from wr-out-0506.google.com ([64.233.184.225]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HJ5u5-0003R8-Ko for help-gnu-emacs@gnu.org; Mon, 19 Feb 2007 05:37:53 -0500 Original-Received: by wr-out-0506.google.com with SMTP id 71so1567578wri for ; Mon, 19 Feb 2007 02:37:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=be9Uzf4VG5+jRy4WCecX6P1LWTqtDvEou+aEnm7SYTK2fKqohBk7q3nr8x8pcPwLwKFJowNnj7zX4OzyFNKPm/eMCkD1yYqT8YvabAveSu8/k8CQMkqZFzj/20Fx1l32q92WZvzKdyR86ev89l83sjgk/rBO0QalS4hlLLllPWQ= Original-Received: by 10.114.173.15 with SMTP id v15mr2847286wae.1171881471845; Mon, 19 Feb 2007 02:37:51 -0800 (PST) Original-Received: by 10.114.72.13 with HTTP; Mon, 19 Feb 2007 02:37:51 -0800 (PST) Content-Disposition: inline X-Google-Sender-Auth: 76b5152089794190 X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) X-Mailman-Approved-At: Mon, 19 Feb 2007 09:25:31 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41314 Archived-At: Hi help-gnu-emacs@gnu.org readers, I have created a mode called vimpact-mode, a Vim emulation mode based on viper-mode. It is based mainly on snippets of code from around the Web. The pre-alpha is at: http://www.jspiro.com/files/sw/vimpact-mode/vimpact-mode-0.0.1.el I now have four questions. Vimpact-mode is currently a major mode; that's bad. (It uses define-derived-mode, which unfortunately lets me make major modes only.) I want to make it into a minor mode, but I am not sure if I should make it a derivative of viper-mode or if I should fork the viper elisp files and distribute my mode's code. Here are my design goals: * I plan for all all viper and vimpact functions and customizable variables to have the same prefix, "viper-". I don't want some to begin with "viper-" and some to begin with "vimpact-". That'd be confusing. Question 1: Do you think I am right: is my way better than the other option of having a mix of prefixes? * I'd prefer vimpact to be an add-on to viper, not a fork of it, since I want vimpact to contain only vim-derived features, not all-new ones. Question 2: Do you think I am right about my add-on idea? Or would it be better if all or most of the vimpact-mode changes could somehow be merged into viper-mode (perhaps I could do it)? Question 3: How much time would it take me, a mediocre elisp coder, to make vimpact into a proper minor mode that starts up viper-mode then adds the vimpact customizations (the add-on idea from before)? How much time would it take me to merge the vimpact-mode changes into the viper source code? Question 4: Considering that I am an elisp newbie, is anyone willing to do the work themselves? :-) You then would be the maintainer of vimpact-mode. Thanks in advance, Jason Spiro -- Jason Spiro: computer consulting with a smile. I also provide training and spyware removal services for homes and businesses. Call or email for a FREE 5-minute consultation. Satisfaction guaranteed. +1 (416) 781-5938 / Email: info@jspiro.com / MSN: jasonspiro@hotmail.com