[Top][All Lists]

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

Re: `xterm-mouse-mode' has a bogus Custom group

From: Eli Zaretskii
Subject: Re: `xterm-mouse-mode' has a bogus Custom group
Date: Sat, 09 Apr 2005 10:53:01 +0300

> From: Nick Roberts <address@hidden>
> Date: Sat, 9 Apr 2005 17:22:29 +1200
> Cc: address@hidden, address@hidden
> You don't explain the reasoning behind loading xt-mouse in loadup.el. I
> imagine it doesn't get used very often and I thought Richard said it should be
> loaded/enabled in lisp/term/xterm.el. This would also address Andreas' point
> about xterm-like terminal descriptions with different names:
> >      (while (and term
> >                  (not (load (concat term-file-prefix term) t t)))
> >        ;; Strip off last hyphen and what follows, then try again
> >        (setq term
> >              (if (setq hyphend (string-match "[-_][^-_]+$" term))
> >                  (substring term 0 hyphend)
> >                nil)))
> (excerpt from startup.el)

Yes.  See also the various calls to (getenv "TERM") in startup.el,
xterm.el and rxvt.el: there are a few more terminal names that could
benefit from this change, which the code there mentions.

> Also is it necessary to explain explicitly in the manual how to turn each mode
> off?

FWIW, I don't think so.  The added verbiage should IMHO go into NEWS,
not the manual.

reply via email to

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