unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Hrvoje Niksic <hniksic@xemacs.org>
Cc: emacs-devel@gnu.org
Subject: Re: Saving minibuffer history
Date: Tue, 25 Oct 2005 21:07:43 +0200	[thread overview]
Message-ID: <87irvlxvnk.fsf@xemacs.org> (raw)
In-Reply-To: <jwvhdb5n02v.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 25 Oct 2005 10:39:31 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> I also don't understand why you removed the "*" markers from the
>> beginning of docstrings.  Those variables *are* intended to be "set
>> and modified by users".
>
> All defcustom vars can be set via M-x set-variable: the * has no
> effect on them.

That is because in Emacs user-variable-p also returns t on custom
variables.  That is not the case in XEmacs, which still expects *.

> It's a risk, but the same risk exists with savehist-load.  So the
> same "solution" should work as well: warn that it should only be
> used in your .emacs.

I believe you're on to something with the minor mode thing.  It
definitely looks better than the savehist-install/savehist-uninstall
pair (which I just introduced anyway, so it's not like we must support
them for compatibility).

>> savehist is IMO not a good candidate for a minor mode because
>> turning it on and off during an Emacs session does not make much
>> sense.
>
> Yet you provided savehist-uninstall.

Only now, and only to complement savehist-install, which I introduced
to clean up savehist-load.

I think I'll give the mode idea a shot.  I'll try to make it
compatible with XEmacs.

  reply	other threads:[~2005-10-25 19:07 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-14 13:40 Saving minibuffer history Hrvoje Niksic
2005-10-14 23:29 ` Hrvoje Niksic
2005-10-14 23:44   ` Drew Adams
2005-10-15 16:13 ` Richard M. Stallman
2005-10-15 22:28   ` Hrvoje Niksic
2005-10-15 23:29     ` Drew Adams
2005-10-16  7:28       ` David Kastrup
2005-10-16 15:49         ` Drew Adams
2005-10-16 16:16           ` Stefan Monnier
2005-10-16 17:58             ` Drew Adams
2005-10-16 21:52               ` David Kastrup
2005-10-17  1:10               ` Stefan Monnier
2005-10-17  8:25                 ` Hrvoje Niksic
2005-10-16 12:32       ` Hrvoje Niksic
2005-10-16 13:02       ` Stefan Monnier
2005-10-18 14:41         ` Hrvoje Niksic
2005-10-24 16:55           ` Drew Adams
2005-10-24 17:02             ` Drew Adams
2005-10-24 17:48               ` Stefan Monnier
2005-10-16 15:39     ` Stefan Monnier
2005-10-18 14:27       ` Hrvoje Niksic
2005-10-18 16:12         ` Stefan Monnier
2005-10-18 23:34           ` Hrvoje Niksic
2005-10-19 18:51             ` Stefan Monnier
2005-10-20  9:09               ` Hrvoje Niksic
2005-10-20  9:12                 ` Hrvoje Niksic
2005-10-20 16:25                   ` Stefan Monnier
2005-10-20 21:04                     ` Hrvoje Niksic
2005-10-24 16:02       ` Hrvoje Niksic
2005-10-24 17:16         ` Stefan Monnier
2005-10-25  9:04           ` Hrvoje Niksic
2005-10-26 16:46             ` Richard M. Stallman
2005-10-24 22:24         ` Stefan Monnier
2005-10-25  4:37           ` Stefan Monnier
2005-10-25  9:46             ` Hrvoje Niksic
2005-10-25 14:51               ` Stefan Monnier
2005-10-25 21:04             ` Hrvoje Niksic
2005-11-01  6:12               ` Stefan Monnier
2005-10-25  9:20           ` Hrvoje Niksic
2005-10-25 12:34             ` Miles Bader
2005-10-25 13:58               ` Hrvoje Niksic
2005-10-25 14:00                 ` Miles Bader
2005-10-25 14:39             ` Stefan Monnier
2005-10-25 19:07               ` Hrvoje Niksic [this message]
2005-10-25 15:58         ` Richard M. Stallman
2005-10-16 17:36     ` Richard M. Stallman
2005-10-16 20:18       ` Hrvoje Niksic
2005-10-16 21:55       ` David Kastrup

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87irvlxvnk.fsf@xemacs.org \
    --to=hniksic@xemacs.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).