Skip site navigation (1)Skip section navigation (2)
Date:      1 Jun 2015 14:29:05 -0300
From:      "Ignacio De Marco" <idemarco@bairesdev.com>
To:        "Embedding Freebsd" <www@freebsd.org>
Subject:   Question about services
Message-ID:  <0.0.16F.568.1D09C909E72BD5A.0@mta.consultorpc.com>

Next in thread | Raw E-Mail | Index | Archive | Help
SGkgRW1iZWRkaW5nLCAKSSBob3BlIHlvdSBhcmUgZG9pbmcgd2VsbC4gTXkgbmFtZSBp
cyBJZ25hY2lvIERlIE1hcmNvIGFuZCBJIGFtIHRoZSBDaGllZiBFeGVjdXRpdmUgT2Zm
aWNlciBhdCBCYWlyZXNEZXYgKHd3dy5iYWlyZXNkZXYuY29tKS4gSSBzYXcgeW91ciBw
cm9maWxlIG9uIExpbmtlZEluLCBhbmQgZ2l2ZW4geW91ciByb2xlIGFuZCBjb21wYW55
IHByb2ZpbGUsIEkgd2FudGVkIHRvIHJlYWNoIG91dCB0byB5b3UgaW4gcmVnYXJkIHRv
IG91ciBzZXJ2aWNlIG9mZmVyaW5nIGFuZCBzZWUgaWYgdGhlcmUgY291bGQgYmUgc29t
ZSBzeW5lcmd5IGJldHdlZW4gb3VyIGNvbXBhbmllcy4gCkJhaXJlc0RldiBzcGVjaWFs
aXplcyBpbiBzb2Z0d2FyZSBkZXZlbG9wbWVudCBzZXJ2aWNlcyBhY3Jvc3MgdGhlIGVu
dGlyZSBwcm9kdWN0IGRldmVsb3BtZW50IGxpZmVjeWNsZTsgZnJvbSBuZXcgcHJvZHVj
dCBkZXZlbG9wbWVudCwgUUEsIHJlbGVhc2UgZW5naW5lZXJpbmcsIHBvcnRpbmcsIHN1
c3RhaW5pbmcgYW5kIG1haW50ZW5hbmNlLiBXZSB1c2UgYSBjb3N0IGVmZmVjdGl2ZSBi
bGVuZGVkIG1vZGVsLCB3aXRoIHJlc291cmNlcyBpbiB0aGUgVVMgYW5kIFNvdXRoIEFt
ZXJpY2EuIApXaXRoIG1vcmUgdGhhbiAyMDAgYmlsaW5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mlvIG9yaWdpbmFsLiBTaSB1c3RlZCBubyBlcyBlbCBk
ZXN0aW5hdGFyaW8sIG5vIGRlYmUNCnJldmVsYXIsIGNvcGlhciwgbyB0b21hciBjdWFs
cXVpZXIgb3RyYSBhY2Npw7NuIHNvYnJlIGVzdGUgbWVuc2FqZS4gClNpIHVzdGVkIGhh
IHJlY2liaWRvIGVzdGUgbWVuc2FqZSBwb3IgZXJyb3IsIHBvciBmYXZvciBub3RpZmlx
dWUgYWwNCnJlbWl0ZW50ZSBpbm1lZGlhdGFtZW50ZSB5IGVsaW1pbmUgdG9kYXMgbGFz
IGNvcGlhcy4NCkJhaXJlc0RldiBpcyBhIHF1YWxpdHkgZW5kb3JzZWQgYnVzaW5lc3Mg
dG8gdGhlIGludGVybmF0aW9uYWwgcXVhbGl0eQ0Kc3RhbmRhcmQgSVNPOTAwMToyMDA4
LiBUaGlzIApzdGFuZGFyZCBlbnN1cmVzIHRoYXQgd2UgZGVsaXZlciB3aGF0IHdlIHBy
b21pc2UsDQp3aGVuIHdlIHByb21pc2UgaXQsIGV2ZXJ5IHRpbWUuDQo=
From owner-freebsd-doc@FreeBSD.ORG  Mon Jun  1 20:19:36 2015
Return-Path: <owner-freebsd-doc@FreeBSD.ORG>
Delivered-To: freebsd-doc@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 7E7C3EC1;
 Mon,  1 Jun 2015 20:19:36 +0000 (UTC)
 (envelope-from trig4800@gmail.com)
Received: from mail-pd0-x22c.google.com (mail-pd0-x22c.google.com
 [IPv6:2607:f8b0:400e:c02::22c])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4E2F31D1D;
 Mon,  1 Jun 2015 20:19:36 +0000 (UTC)
 (envelope-from trig4800@gmail.com)
Received: by pdbqa5 with SMTP id qa5so115614900pdb.0;
 Mon, 01 Jun 2015 13:19:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=message-id:date:from:user-agent:mime-version:to:cc:subject
 :references:in-reply-to:content-type:content-transfer-encoding;
 bh=R6I9MS+rK3ipPjSRX4z0w1WokX2SYmevFe87TIn9uXc=;
 b=XBwccGzK0O2FoB0/oghqUK+grPSErR6cDqHjT8eKQAxnv9psor3NDhRid5sL//3njs
 lqxpU3UYxw//JlxY5Mnhuc12khUgbBoVRbiKTh3gqq8q4AOtjPlvu1cVQCbepx3Jz8kL
 wf2Wk0YkV5YZWwX92npg5cWsDc3jOkEa+eAJS/GzOV/2H9m2cYcu0g9b7QM3WZdX2/bl
 6QF8huXLTOqe6CVg2Z4wy20saWW/PrA+PRj6XfK8wiW9KZwtlF9I1rRnH0QvJd+oUDxb
 1uolEv7c6SWfawldqOlXzuRAOVkdFdFI2RZgdKyzxBjgNKae4xqDstdEL7KmzGBn75Uw
 LZiw==
X-Received: by 10.70.101.2 with SMTP id fc2mr44005200pdb.77.1433189975856;
 Mon, 01 Jun 2015 13:19:35 -0700 (PDT)
Received: from [10.0.1.5] ([221.149.13.152])
 by mx.google.com with ESMTPSA id pf10sm15125412pbc.24.2015.06.01.13.19.33
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 01 Jun 2015 13:19:35 -0700 (PDT)
Message-ID: <556CBE53.2010803@gmail.com>
Date: Tue, 02 Jun 2015 05:19:31 +0900
From: Hoyoung Kim <trig4800@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:31.0) Gecko/20100101 Icedove/31.7.0
MIME-Version: 1.0
To: Benjamin Kaduk <bjk@freebsd.org>
CC: "freebsd-doc@freebsd.org" <freebsd-doc@freebsd.org>
Subject: Re: Editing FDP files with Emacs (Newbie Question)
References: <6F7E855B-6143-4D6A-BE40-3E339ECDA501@gmail.com>
 <alpine.GSO.1.10.1506011157350.22210@multics.mit.edu>
In-Reply-To: <alpine.GSO.1.10.1506011157350.22210@multics.mit.edu>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-doc@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: Documentation project <freebsd-doc.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-doc>,
 <mailto:freebsd-doc-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-doc/>;
List-Post: <mailto:freebsd-doc@freebsd.org>
List-Help: <mailto:freebsd-doc-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-doc>,
 <mailto:freebsd-doc-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Jun 2015 20:19:36 -0000

Thank you for your reply :)

When I open FDP file in Emacs, sgml-mode is not automatically detected.

I manually enabled this mode via `M-x sgml-mode'.

In this mode, `tab stops set to 2' and `8 leading spaces->single tab' worked fine,
while `word wrap set to 70 chars' seems not working
(this means when I exceeded the limit, there isn't any highlight I can recognize).

So the problems are:

1. Not entering sgml-mode automatically

2. Word wrap set to 70 chars doesn't working

Maybe I'll have to search for this mailing list more carefully.

On 06/02/2015 01:01 AM, Benjamin Kaduk wrote:

> Hello Hoyoung,
>
> On Sun, 31 May 2015, Hoyoung Kim wrote:
>
>> Hello. I'm trying to edit FDP xml files with Emacs.
>> I followed the instruction of FDP Primer(http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/editor-config-emacs.html), added several lines to my .emacs file.
>> However, it seems not working(word wrap, tab stops, 8 spaces to 1tab, etc) correctly.
>> I'm using Vim right now, but I prefer Emacs for my text editing.
>> What should I do to edit files appropriately(make documents conform to FDP guidelines) with Emacs?
> Hmm, I am usually a vim user, but looking at the linked .emacs snippet, it
> seems like it only defines a hook to be used when emacs is in sgml-mode.
> When you are editing the FDP files, does emacs autodetect and enter
> sgml-mode?
>
> I thought there had been some email discussion in the past year or two
> about what .vmirc and .emacs config were used by various committers (which
> would probably also be helpful for your situation), but I cannot find it
> with a quick search.
>
> -Ben




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?0.0.16F.568.1D09C909E72BD5A.0>