From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Udyant Wig Newsgroups: gmane.emacs.help Subject: Re: How to translate LaTeX into UTF-8 in Elisp? Date: Tue, 4 Jul 2017 12:43:34 +0530 Message-ID: <5b606c7c-dcf5-1a85-f0bc-7fab3d732cfb@gmail.com> References: <87shpyfj2q.fsf@mbork.pl> <87bmp2rud7.fsf@jane> <87bmp1ykzh.fsf@imladris.arda> <87o9t0217i.fsf@jane> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1499152469 22830 195.159.176.226 (4 Jul 2017 07:14:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 4 Jul 2017 07:14:29 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 04 09:14:25 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSI2M-0005Jh-F2 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Jul 2017 09:14:18 +0200 Original-Received: from localhost ([::1]:39017 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSI2Q-0004BE-1v for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Jul 2017 03:14:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSI1q-0004AB-5P for help-gnu-emacs@gnu.org; Tue, 04 Jul 2017 03:13:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSI1l-0006Qe-8P for help-gnu-emacs@gnu.org; Tue, 04 Jul 2017 03:13:46 -0400 Original-Received: from mail-it0-x231.google.com ([2607:f8b0:4001:c0b::231]:35664) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dSI1l-0006Op-3d for help-gnu-emacs@gnu.org; Tue, 04 Jul 2017 03:13:41 -0400 Original-Received: by mail-it0-x231.google.com with SMTP id v202so96911608itb.0 for ; Tue, 04 Jul 2017 00:13:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=l5g4IvHbfNr+xDpjQ8OiRWKSpF5C2tfHw9qPLF396yI=; b=P/9sXp95pIGz3aXgfExJ6BTcVqdBxHvEFuOpCk2gjRJMEKE+2aYBp77W/RTtGx7QMp c3vpIk41oKOcG5YybTdZ6/h7SB5OUQeurGiW3bftT17qYDFZfo11/01M98DlZ4PhE9fe u7D8dBucLpGGssnr1Uf9bE67FhkEYv1qbxL1pyZmzM4t9TOzu/0vhG+zHKH6rZxqg5O6 VKv2zu8/JChh9uwZOBby13zzp6e7tG+s0bFKRU6ubchXHaCWcyT2pLqNjP8IoNqk7DVZ 4H0/81GJ1xtntB75xjzwD+2DlKAHSrDIegkNV7rD4GoHQ2zEo/UAlMhezEF9r5AUhXZ+ xZPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=l5g4IvHbfNr+xDpjQ8OiRWKSpF5C2tfHw9qPLF396yI=; b=l3oYUEMD9dMgGLXGfMcw+DM0fL9rYWXvvGU+YKsZe513FUH+tYm8vh0qEqtVfI1I8U /2lwqir1X8AQASWvjxukMCwa9kWafSKKul+n+ojbKnneGK2MJFgdN1v0utbpayZl5KjS N8HBvAR4lFf96Zv6dTabDMev+gFaPEV+m465YA4XmAMQEqIgn3lihoJUzPNLxNR1oOPK OypbD73uQgX0C6AJO5VvNRJdbLYBvOfeIdxRu7+NsQcsRPz215Rku97LChcZwwaAgRZB 6OQKzP+vSKgpslUN0kIXN58MS8jBCp65oQkFd/ZeBGGUPEaLg72h4kRdUQV8eBJWTTqm Vf9w== X-Gm-Message-State: AKS2vOxQmGLG8KkzTEiRoVV5202wT9nb9uVmn0w3yN/1CF8mNz5BpZF0 vqm0ThWSQnW0/u8EKzw= X-Received: by 10.36.18.74 with SMTP id 71mr33693593itp.71.1499152418755; Tue, 04 Jul 2017 00:13:38 -0700 (PDT) Original-Received: from [192.168.1.235] ([182.70.142.158]) by smtp.gmail.com with ESMTPSA id d23sm9325115ioj.22.2017.07.04.00.13.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jul 2017 00:13:38 -0700 (PDT) In-Reply-To: <87o9t0217i.fsf@jane> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c0b::231 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:113685 Archived-At: This is an interesting point, which I think is worth some thought. On 07/04/2017 11:27 AM, Marcin Borkowski wrote: > (I'd prefer Emacs to do the job, not an external utility). Would you say this ought to hold in general? For instance, both find(1) and grep(1) are external to Emacs, but have such good integration with it that they may as well be native to it. So also the package Magit which makes git(1) seem largely part of Emacs. However, I can see cases where your point is apt. If, say, one wanted to factor numbers, a workable (but horrifying(?)) solution is to call factor(1) in a subprocess and hand-hack the output. I think that as long as the layer between the given tool outside and Emacs is good, it may not matter that the work is obtained from an outsider. But what do you think? Udyant Wig -- ... while the ways of art are hard at the best, they will break you if you go unsustained by belief in what you are trying to do. -- Arthur Quiller-Couch