listhelper-moderate
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help-gnu-emacs post from address@hidden requires approval


From: help-gnu-emacs-owner
Subject: help-gnu-emacs post from address@hidden requires approval
Date: Wed, 11 Jul 2007 10:09:30 -0400

As list administrator, your authorization is requested for the
following mailing list posting:

    List:    address@hidden
    From:    address@hidden
    Subject: Re: Gnu emacs under Windows: .emacs and _emacs and savehist
    Reason:  Post by non-member to a members-only list

At your convenience, visit:

    http://lists.gnu.org/mailman/admindb/help-gnu-emacs
        
to approve or deny the request.
--- Begin Message --- Subject: Re: Gnu emacs under Windows: .emacs and _emacs and savehist Date: Wed, 11 Jul 2007 10:08:56 -0400 User-agent: Thunderbird 2.0.0.4 (Windows/20070604)
Peter Dyballa wrote:

Am 11.07.2007 um 06:04 schrieb Murray Eisenberg:

  (require `savehist)

Shouldn't here an apostrophe (') be used?

What is the GNU Emacs manual telling you about a personal initialisation file under MS Windows?

The manual says ".emacs" although other docs, for Windows emacs, say "_emacs" will do. So I changed the file to ".emacs" and instead of pointing save-hist to a file in directory .emacs, changed it to a file in directory .emacs.d. So here's the relevant portion of my file ~/.emacs:

  (require 'savehist)
  (setq savehist-file "~/.emacs.d/history")
  (setq savehist-length 1000)
  (savehist-load)
  (setq savehist-mode 1)

I changed the backquote to an apostrophe; changed the directory that's the target of savehist-file; and as seemed to be suggested by help for savehist, added the line setting savehist-mode to the positive value 1.

Now how do I USE savehist?  This I cannot discern from the documentation.

(Sorry about asking such presumably elementary questions but, despite my some 30+ years experience with computing, nothing about emacs is clear or intuitive to me.)

--
Murray Eisenberg                     address@hidden
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305



--- End Message ---
--- Begin Message --- Subject: confirm 62572844a559e22b7357b03188a78dfadfb79784
If you reply to this message, keeping the Subject: header intact,
Mailman will discard the held message.  Do this if the message is
spam.  If you reply to this message and include an Approved: header
with the list password in it, the message will be approved for posting
to the list.  The Approved: header can also appear in the first line
of the body of the reply.

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]