From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Need "xemacs/init.el" => "emacs/init.el" help Date: Thu, 21 Jan 2016 22:49:50 +0100 Message-ID: <87io2mli0x.fsf@debian.uxu> References: <20160121134503.405c96e8@zothique.localdomain> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1453413036 21238 80.91.229.3 (21 Jan 2016 21:50:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Jan 2016 21:50:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 21 22:50:27 2016 Return-path: Envelope-to: geh-help-gnu-emacs@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 1aMN7Y-0000XR-1H for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Jan 2016 22:50:24 +0100 Original-Received: from localhost ([::1]:49836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMN7X-0004Oa-Ax for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Jan 2016 16:50:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMN7N-0004OJ-FA for help-gnu-emacs@gnu.org; Thu, 21 Jan 2016 16:50:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMN7I-00017P-GJ for help-gnu-emacs@gnu.org; Thu, 21 Jan 2016 16:50:13 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:40375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMN7I-00017F-9D for help-gnu-emacs@gnu.org; Thu, 21 Jan 2016 16:50:08 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aMN7C-0000MV-P9 for help-gnu-emacs@gnu.org; Thu, 21 Jan 2016 22:50:02 +0100 Original-Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Jan 2016 22:50:02 +0100 Original-Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Jan 2016 22:50:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:4wf8lIA3Mo21K1KHnea/F/tVSig= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108812 Archived-At: Dale Snell writes: > ;;; Set the major mode for new buffers to text-mode: > (setq major-more 'text-mode) ;;; Set the fill column: > (add-hook 'text-mode-hook (lambda () (setq-default > fill-column 66))) Hm - `setq-default' in a mode-specific hook? Isn't that a contradiction in, uhm, purpose? What happens if you just put (setq-default fill-column 66) in the init file? > Also, Emacs defines M-q to run fill-paragraph by > default; there's no need to define your > own keybinding. Well, there can be such a need even in the face of default bindings but in this case there isn't as M-q is very good and especially compared to F6 which is very bad. -- underground experts united http://user.it.uu.se/~embe8573