From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: command to customize the thing at point? Date: Sat, 25 Feb 2006 08:28:06 -0800 Message-ID: References: <7dbe73ed0602242357t66ff9664y66fbd0baf74f3ada@mail.gmail.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 1140884939 20144 80.91.229.2 (25 Feb 2006 16:28:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Feb 2006 16:28:59 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 25 17:28:57 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FD2Hp-0001uR-Pp for ged-emacs-devel@m.gmane.org; Sat, 25 Feb 2006 17:28:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FD2Hs-0002Ir-0p for ged-emacs-devel@m.gmane.org; Sat, 25 Feb 2006 11:28:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FD2HW-0001jo-Bz for emacs-devel@gnu.org; Sat, 25 Feb 2006 11:28:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FD2HU-0001et-7i for emacs-devel@gnu.org; Sat, 25 Feb 2006 11:28:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FD2HT-0001eQ-Qg for emacs-devel@gnu.org; Sat, 25 Feb 2006 11:28:27 -0500 Original-Received: from [141.146.126.228] (helo=agminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1FD2Ho-0004fc-EL for emacs-devel@gnu.org; Sat, 25 Feb 2006 11:28:48 -0500 Original-Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.186.50]) by agminet01.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id k1PGSMG1001592 for ; Sat, 25 Feb 2006 10:28:22 -0600 Original-Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1]) by rgmsgw301.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id k1PGSLHD005531 for ; Sat, 25 Feb 2006 09:28:21 -0700 Original-Received: from dradamslap (dhcp-amer-whq-csvpn-gw3-141-144-80-72.vpn.oracle.com [141.144.80.72]) by rgmsgw301.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with SMTP id k1PGSKG3005521 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Sat, 25 Feb 2006 09:28:21 -0700 Original-To: "Emacs-Devel" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <7dbe73ed0602242357t66ff9664y66fbd0baf74f3ada@mail.gmail.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50965 Archived-At: > > How about having a single command that would call > > customize-face, customize-option, or customize-group, > > as appropriate, on the > > name at point or under the mouse pointer? I think I understand how the command is supposed to work, what I was curious about was in what situations a user would want to use it. Is it when reading the manual maybe, having point over a "thing", or maybe when browsing Emacs lisp code? Anywhere you might find the name of an Emacs thingy: *Help*; *Apropos*, Emacs or Emacs-Lisp or Ediff or ... manual (*Info*); browsing Emacs-Lisp code; reading email about Emacs; consulting a message in *Messages* that suggests using an option;... Of course, in some of these places some of the thingies are already linked to *Help* descriptions, which in turn have links to Customize. The point is that we already have `customize-face', `customize-option', and `customize-group' - whenever & wherever you might use one of those, you might use `customize-thing-at-point' (or -at-mouse-pointer). If the former commands are useful, then so should be the latter command(s) - especially, but not only, for gnubies. Such a command (sh|c)ould be bound to a key, to make it even more useful for gnubies. And, since accessing the Custom information about an option or face is useful not only to change it but also to learn about it (doc string, current state, possible alternative values,...), the `customize-*' commands could be considered to be part of the `C-h' family. IOW, why not bind `customize-thing-at-point' to, say, `C-h o'? (`C-h c' would be better, of course.)