From: Edward Welbourne <eddy@opera.no>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: customize
Date: Thu, 11 Jul 2002 18:29:49 +0200 [thread overview]
Message-ID: <E17SgpB-0003rO-00@whorl.intern.opera.no> (raw)
In-Reply-To: <200207111201.g6BC1OM16938@aztec.santafe.edu> (message from Richard Stallman on Thu, 11 Jul 2002 06:01:24 -0600 (MDT))
(I've calmed down now.)
> Can you tell us precisely how to reproduce this? With that
> information, we could fix the problem.
I'll exit session in a bit and devote a session, with a trivial
.emacs, to doing nothing *but* a bout of customize; then I'll be able
to separate the mess from the context. For now, answers to some
sensible questions you asked:
>> turning off the configuration option for it merely leaves a
>> (custom-set-faces '(trailing-whitespace ((t nil)))) in my .emacs
>> rather than removing the entire reference;
> Is this a problem? Does anything bad happen as a result of this?
Yes.
All customize-cruft is appended to ~/.emacs, while my own config is
accessed via a line early in the file (which loads it from some
byte-compiled elisp in a conveniently out-of-the-way directory). Thus
my own config can't control the face, because customize insists on
having the last word (and saying: suppress this face) despite my best
efforts to get the fancy GUI to understand that I no longer want
customize to have anything to do with the setting of this face.
[Aside: the line of my .emacs which loads my own elisp has to be
preceded by one which modifies my load-path. Ideally, I'd skip this
by using the environment variable EMACSLOADPATH; however, setting that
causes load-path to *not* include the many things in my load-path by
default ... unless I put them in my EMACSLOADPATH, which would require
me to change my .bash_profile when the system default changes. In the
TEX* packages, the corresponding environment variables provide for
ending in : to mean `and all the stuff that would be here by default'.
IWBNI the same happened with EMACSLOADPATH. But I digress.]
>> I'm clearly going to have to exit from emacs and vi my .emacs.
> This seems to assume that if you restart Emacs the new session will
> have some sort of problems, but you did not report having actually
> done so and observed such problems. Is this an observation or a
> guess?
Had I restarted my emacs without editing .emacs in between, I'd have
been left with the unwanted consequences of ((t nil)) above.
Technically we can call this a guess, as I didn't do the experiment;
but I can read a .emacs file and predict what it'll do based on what
it's specified to do. So I needed to remove the offending customize
lines from my .emacs before next session, since I wanted the face to
be as specified in my own elisp (which I can, for instance, edit
during sessions, re-run when I like, keep in some other file than
.emacs, under source management if I want, oh, you know, it's *mine*
that way, not controlled `for me' by something I neither understand
nor trust).
Since the customize section (i.e. all but the first two lines) of my
.emacs is interspersed with repeated comments about not editing these
lines by hand or etc., the only way I can get rid of them is by using
*some other editor* while no emacs session is alive. This, naturally,
is taking it on faith that a fresh emacs session only knows about any
prior sessions via their effects in .emacs, so I can get away with
editing .emacs by hand as long as no emacs is running. It may be that
I can, in fact, get away with editing these lines using emacs;
however, I tend to take `do not' advice at face value ...
Later, I'll get round to taking `do this' instructions at face value,
and produce a rather more cogent bug report. However, it remains that
*every* time I've used customize I've ended up getting these perverse
messages about the elisp stack ... and refusal to do things I ask
emacs to do. The ensuing red mist is rather bad for cogency.
Meantime, back to processing the information just gleaned via the kind
offices of M-x grep-find (which I only met recently, having previously
used M-x compile and a messy command-line) and rejoicing in the
benefits of -print0 and -0, previously unfamiliar but *very* useful.
Thanks for tools that (mostly) do what I want,
Eddy.
next prev parent reply other threads:[~2002-07-11 16:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-10 16:51 customize Edward Welbourne
2002-07-11 12:01 ` customize Richard Stallman
2002-07-11 16:29 ` Edward Welbourne [this message]
2002-07-25 21:02 ` customize Jeff Dwork
2002-07-30 15:44 ` customize Edward Welbourne
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=E17SgpB-0003rO-00@whorl.intern.opera.no \
--to=eddy@opera.no \
--cc=bug-gnu-emacs@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).