From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: ken <gebser@speakeasy.net>
Newsgroups: gmane.emacs.help
Subject: Installing mew (editing Makefile.in)
Date: Wed, 13 Sep 2006 14:04:17 -0400
Message-ID: <45084821.70609@speakeasy.net>
References: <1156912134.588551.151490@m73g2000cwd.googlegroups.com>
	<1157510143.072670.35310@m79g2000cwm.googlegroups.com>
NNTP-Posting-Host: main.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: sea.gmane.org 1158170756 7026 80.91.229.2 (13 Sep 2006 18:05:56 GMT)
X-Complaints-To: usenet@sea.gmane.org
NNTP-Posting-Date: Wed, 13 Sep 2006 18:05:56 +0000 (UTC)
Cc: Ryo <furufuru@ccsr.u-tokyo.ac.jp>
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 13 20:05:52 2006
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geh-help-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([199.232.76.165])
	by ciao.gmane.org with esmtp (Exim 4.43)
	id 1GNZ6w-0002Rb-RP
	for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Sep 2006 20:05:23 +0200
Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1GNZ6w-00066I-E0
	for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Sep 2006 14:05:22 -0400
Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1GNZ6k-00065e-AW
	for help-gnu-emacs@gnu.org; Wed, 13 Sep 2006 14:05:10 -0400
Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1GNZ6h-00065S-Nq
	for help-gnu-emacs@gnu.org; Wed, 13 Sep 2006 14:05:10 -0400
Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1GNZ6h-00065P-Gq
	for help-gnu-emacs@gnu.org; Wed, 13 Sep 2006 14:05:07 -0400
Original-Received: from [69.17.117.5] (helo=mail3.sea5.speakeasy.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GNZ8T-0001ju-04
	for help-gnu-emacs@gnu.org; Wed, 13 Sep 2006 14:06:57 -0400
Original-Received: (qmail 14694 invoked from network); 13 Sep 2006 18:05:05 -0000
Original-Received: from dsl093-011-017.cle1.dsl.speakeasy.net (HELO [192.168.0.27])
	(gebser@[66.93.11.17]) (envelope-sender <gebser@speakeasy.net>)
	by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted
	SMTP for <help-gnu-emacs@gnu.org>; 13 Sep 2006 18:05:05 -0000
User-Agent: Thunderbird 1.5.0.5 (X11/20060725)
Original-To: help-gnu-emacs@gnu.org
In-Reply-To: <1157510143.072670.35310@m79g2000cwm.googlegroups.com>
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Xref: news.gmane.org gmane.emacs.help:37341
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/37341>

Ryo wrote:
> Bill White wrote:
>> Are there any emacs-based MUAs that handle smtp authentication more or
>> less "out of the box" with the setting of a few clearly-documented
>> variables?  If so, can you point me to the documentation?
> 
> Has somebody mentioned "mew"? (http://www.mew.org/ )
> I think it does everything "out of the box", including
> SMTP on SSL with or without authentication for sending email;
> and IMAP and POP on SSL for receiving email.  For example,
> 
> http://www.mew.org/release/info/mew_78.html.en#SEC78
> 
> How much of the functionality works "out of the box" debends
> on how your "box" is configured "out of the box". :-)  I've
> been using mew for a long time.  I remember that switching from
> plain SMTP to authenticated SMTP required only a couple
> of lines in mew's configuration file, ~/.mew.el  .

Thanks very much, Ryo.  I hope mew works.  I've just downloaded and
untarred mew-5.1 and know I need to edit the values of some variables in
Makefile.in:

prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
datadir=@datadir@
infodir=@infodir@

These are very much standard variables; I've installed emacs from a
tarball several times before and it's always been a guessing game,
trying to figure out what the values of these should be.  This guessing
game is complicated a bit more this time because mew is to work with an
installation of emacs which was installed, not for the entire
machine/system, but just for one user.  I.e., emacs v.22.0.50.1 was
installed under a user's $HOME just for the use of this one user.  The
emacs executable is still in $HOME/linux/tarballs/emacs/src/ where the
emacs install put it; it's run by means of an alias.

The questions I have are simply this: how do one determine the values
for the above Makefile.in variables?  While it's never a good idea to
guess what a value should be based on the variable name (for, as
programmers know, a variable name can be anything the programmer wants),
there's little or no other information to go on.  So-- guessing-- I
could well imagine that

infodir=$HOME/linux/tarballs/emacs/info/

though it's another guess whether the trailing slash (/) is necessary or
an error or developer- or OS- or machine-dependent.  So this becomes two
questions.

Guessing again by the variable name, I'm imagining that "exec-prefix"
means "where the 'emacs' executable is located," and so that for my
particular installation it would be

exec_prefix=$HOME/linux/tarballs/emacs/src/

But without documentation which might explain if exec_prefix is looking
for a particular file or set of files, or the purpose or reasoning
behind using it, it's really impossible to know.

The other above-mentioned variable names are quite vague, so much so
that even imagination fails to come up with likely value candidates.  So
if someone knows how to determine what values these variables should
have, it would be much appreciated.

prefix=
exec_prefix=
libdir=
datadir=
infodir=


Thanks.


-- 
One is not superior merely because one
sees the world as odious.
                -- Chateaubriand (1768-1848)