From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.devel Subject: [RFC] Micro-Init files in GNU ELPA & Survey suggestions(Re: Finding packages to enable by default) Date: Wed, 04 Dec 2013 01:25:44 +0530 Message-ID: <87pppdu2tb.fsf_-_@gmail.com> References: <8761ra7uq3.fsf@yandex.ru> <6c891113-22b0-4f3d-afc9-a735548efbbb@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1386100705 29680 80.91.229.3 (3 Dec 2013 19:58:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Dec 2013 19:58:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tom Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 03 20:58:29 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vnw73-0000XU-5d for ged-emacs-devel@m.gmane.org; Tue, 03 Dec 2013 20:58:29 +0100 Original-Received: from localhost ([::1]:44636 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vnw72-0007bC-GB for ged-emacs-devel@m.gmane.org; Tue, 03 Dec 2013 14:58:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vnw6v-0007aC-1i for emacs-devel@gnu.org; Tue, 03 Dec 2013 14:58:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vnw6q-0003PJ-9E for emacs-devel@gnu.org; Tue, 03 Dec 2013 14:58:20 -0500 Original-Received: from mail-pd0-x229.google.com ([2607:f8b0:400e:c02::229]:37640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vnw6p-0003NO-Sd for emacs-devel@gnu.org; Tue, 03 Dec 2013 14:58:16 -0500 Original-Received: by mail-pd0-f169.google.com with SMTP id v10so20810634pde.14 for ; Tue, 03 Dec 2013 11:58:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=1gtUe1lC7h8tM+qjg2zGWFK+HsmWQLIxdg3m/e7YmUk=; b=gBdvhJSPa0Qah6ncMsKOGw6qEJNSGQeLKs3i6KEoR7eFZ6W81mCPg//2GJCeRlBNan vdEKUyU/O4MekpHcn4dZyagAzZxoyFNpmvys1LMygi5cYJ8iOgw3uEmQERo5nbnQx1r2 G6idxxP0k9oCUiKOiPwAL1sv41Uqwy12gUV2/fnEdCWMYvlQ3VuflOTYHbubALCwWvXm jA3+G0fQKsBOwz1rjVGxnPPorm/dJNQ9fkSDClZHH7fAdmnBQT2wFb02FUrL/VMzD0pt e7cDzobF4JsjhU91skXmJf/xS6AXVqj7BLsi9gJ6uNoDARtU3UT95B3ZFMuHUZ27fL7S eqFw== X-Received: by 10.66.147.38 with SMTP id th6mr76426163pab.66.1386100694646; Tue, 03 Dec 2013 11:58:14 -0800 (PST) Original-Received: from debian-6.05 ([115.242.216.103]) by mx.google.com with ESMTPSA id y9sm150064486pas.10.2013.12.03.11.58.10 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Tue, 03 Dec 2013 11:58:12 -0800 (PST) In-Reply-To: (Tom's message of "Tue, 3 Dec 2013 18:30:05 +0000 (UTC)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:166051 Archived-At: In your list, `desktop' is conscpicous by it's absence. Tom writes: > if more data is collected. The third suggestion down below will obsolete the need for collecting data. Maintainers don't have to pull the common customization, the users themselves will start pushing common customizations here. A robust and ready-usable "Init file" is what every new user of Emacs will love to get over with. ---------------------------------------------------------------- Org-mode customization survey: ============================ Carsten or Bastien will have more information on this. http://lists.gnu.org/archive/html/emacs-orgmode/2013-10/msg00858.html If I understand correctly, the idea is to enumerate 40 or 50 variables that tops the charts and offer it as "recommended set" for customization. ---------------------------------------------------------------- Use Emacswiki ============= The best method will be to create an Emacs Wiki page, where each user upvotes a feature [1]. Initially entry, based on my own .emacs will be something like | column-number-mode | 1 | | desktop-save-mode | 1 | | electric-indent-mode | 1 | | electric-pair-mode | 1 | | global-goto-address-mode | 1 | | global-hi-lock-mode | 1 | | gnus-dired-mode | 1 | | icomplete-mode | 1 | | ido-mode | 1 | | savehist-mode | 1 | | show-paren-mode | 1 | | url-handler-mode | 1 | | which-function-mode | 1 | | whitespace-global-modes | 1 | I will also add dired-x, dired-hide-details to that list. The Survey page can have the above table, while the Comments_On_Survey page can contain any additional comments that the user wants to add. [1] My IP address which typically starts with 115.*.*.*.* is censored Drew if you are reading this, it is a bad idea to have long-living spam filter that block SO MANY ip addresses. Consider unblocking that IP address. (I have never spammed emacwiki, btw.) ---------------------------------------------------------------- Micro-Init files in Use GNU ELPA ================================ I think GNU ELPA is a nice place to create "sharable init files". The init file is not a monolith, but focuses on a particular usecase. Once such a file is introduced, these files themselves will have a life of their own. They become a "clearing house for common configuration" for a particular use-case. These files can also serve as bickering points for evolving a consensus what goes in what value it takes. Emacs maintainers can also have a clear idea on usage patterns and the most common configurations. I have proposed my idea here: http://lists.gnu.org/archive/html/help-gnu-emacs/2013-11/msg00432.html Some examples are: 0. basic.el Set up user-full-name and user-mail-address. (custom-set-variables '(user-mail-address "kjambunathan@gmail.com")) 1. indian-holidays.el (Upgraded every year) (custom-set-variables '(calendar-date-style (quote european)) '(calendar-holidays (quote ((holiday-fixed 1 1 "New Year's Day") (holiday-fixed 1 26 "Republic Day") (holiday-fixed 8 15 "Independence Day") (holiday-fixed 10 2 "Gandhi Jayanthi") (holiday-fixed 12 25 "Christmas") (indian-holidays))))) (defun indian-holidays () '(((1 14 2013) "Pongal") ((11 2 2013) "Deepavali") ((11 14 2013) "Muharram"))) ---------------------------------------------------------------- 2. gmane.el Add news.gmane.org and automatically subscribe the user to the mailing lists. ---------------------------------------------------------------- 3. gmail.el (depends on basic.el) Set up the smtp and imap or pop server. ----------------------------------------------------------------