From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dale Snell Newsgroups: gmane.emacs.help Subject: Re: Need "xemacs/init.el" => "emacs/init.el" help Date: Thu, 21 Jan 2016 13:45:03 -0800 Organization: Department of redundant redundancies and tautological pleonasms department Message-ID: <20160121134503.405c96e8@zothique.localdomain> References: Reply-To: ddsnell@frontier.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/wJX4Vyt7SzYZSvKpbRkGqGW"; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1453412769 16961 80.91.229.3 (21 Jan 2016 21:46:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Jan 2016 21:46:09 +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:45:58 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 1aMN3E-0006uv-4E for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Jan 2016 22:45:56 +0100 Original-Received: from localhost ([::1]:49821 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMN3A-0002jD-BV for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Jan 2016 16:45:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMN2y-0002j3-Ho for help-gnu-emacs@gnu.org; Thu, 21 Jan 2016 16:45:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMN2v-0008TG-A9 for help-gnu-emacs@gnu.org; Thu, 21 Jan 2016 16:45:40 -0500 Original-Received: from filter03.roch.ny.frontiernet.net ([66.133.183.233]:47298) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMN2v-0008SS-3S for help-gnu-emacs@gnu.org; Thu, 21 Jan 2016 16:45:37 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by filter03.roch.ny.frontiernet.net (Postfix) with ESMTP id 1818818A4A6; Thu, 21 Jan 2016 21:45:36 +0000 (UTC) Original-Received: from relay01.roch.ny.frontiernet.net ([66.133.182.164]) by localhost (filter03.roch.ny.frontiernet.net [66.133.183.233]) (amavisd-new, port 10024) with LMTP id tM5-CbFVRzrF; Thu, 21 Jan 2016 21:45:24 +0000 (UTC) X-Originating-IP: [50.38.85.242] X-Previous-IP: 50.38.85.242 Original-Received: from zothique.localdomain (unknown [50.38.85.242]) by relay01.roch.ny.frontiernet.net (Postfix) with ESMTPA id A1F035F35; Thu, 21 Jan 2016 21:45:23 +0000 (UTC) In-Reply-To: X-Mailer: Claws Mail 3.13.1 (GTK+ 2.24.29; x86_64-redhat-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 66.133.183.233 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:108810 Archived-At: --Sig_/wJX4Vyt7SzYZSvKpbRkGqGW Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 21 Jan 2016 13:44:03 -0600, in message CAFMGiz_qX6SCJU5ta0emDA2YaT0AF-2sFgpDQeBPdtfMUNq0aw@mail.gmail.com, Tom Browder wrote: > I have bitten the bullet to start using Emacs vs. my 20+ years using > XEmacs use. I have never been a real power user, but I have my > init.el doing the things I need most. >=20 > So far I have discovered the excellent "M-x list-packages" way to > install packages and have started trying to duplicate the behavior I'm > used to with XEmacs. I've also discovered Eric Schulte's "Emacs 24 > Starter Kit" here: >=20 > http://github.com/eschulte/emacs24-starter-kit/ >=20 > but I will save that for a bit later. >=20 > One of the things I use all the time in XEmacs is NO line wrapping > except when I manually use function "fill-paragraph". (I have that > bound to a key for ease of use.) I will admit that the > "fill-paragraph" didn't work reliably in XEmacs in all modes (I hope > Emacs will be able to fix that), but for the most part it does what I > need in XEmacs. But I cannot get it to work in Emacs. >=20 > Here's my entire Emacs init.el at the moment (all blank lines and some > comments removed): >=20 > ; Personal emacs mods of Tom Browder > (require 'package) > (add-to-list 'package-archives '("melpa" . > "http://melpa.org/packages/")) ; packages installed via M-x > list-packages: ; perl6-mode > (setq-default major-mode 'text-mode) > (set-default 'truncate-lines t) > (setq-default fill-column 70) > (global-set-key [f6] 'fill-paragraph) > ; prefer cperl for Perl 5 > (defalias 'perl-mode 'cperl-mode) >=20 > So far, and only using a text buffer, the truncate lines t seems to > work, but I can't get any such line to wrap with the "fill-paragraph" > function. Here are some lines from my init file: ;;; 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))) Also, Emacs defines M-q to run fill-paragraph by default; there's no need to define your own keybinding. Anyway, I hope this helps. --Dale --=20 "Wanted: Young, skinny, wirey fellows not over 18. Must be expert riders willing to risk death daily. Orphans preferred. Wages $25 per week." -- Pony Express advertisement, 1860=20 --Sig_/wJX4Vyt7SzYZSvKpbRkGqGW Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWoVFgAAoJEB7OMKhvWRr8pCYH/2i+QEwPTLrMFtf6VRtZhQfV UDFBwWhTmAHPHvzank1JpKOorF6jQbsB9n8BMZD2T1xBc6fGMsPCl1PHKMMsTKCL uO1NODGgku9+dSl0Yh/vje21/h1rD9Essm1ICTKZbUAB6pPklpDhY3Zuc/26TkHM JoUD5xScP/iVi+PLT56RitphqmhdsDuMYkb/hc+xuzk7DcMRUGnht3/Qz7jieYBr hgK3/KlLeOTttaCiyBfamLfMg/eLjKmndoMFMw9kc1rvMYHUGBuew/AZbuO0f75i /4aVi91ms8MWYDsBlsghkcqRRRXKSkN+CUeuJ/jxBDSTybNeCz+MbgxAozfFdYA= =l/oA -----END PGP SIGNATURE----- --Sig_/wJX4Vyt7SzYZSvKpbRkGqGW--