From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: michael@cadilhac.name (=?iso-8859-1?Q?Micha=EBl?= Cadilhac) Newsgroups: gmane.emacs.devel Subject: Re: defcustom and the stars. Date: Thu, 04 Jan 2007 08:34:51 +0100 Organization: Epita/LRDE Message-ID: <877iw3tfc4.fsf@lrde.org> References: <87d55xozrn.fsf@lrde.org> <877iw4pdyo.fsf@lrde.org> <873b6sp96d.fsf@lrde.org> <87vejont95.fsf@lrde.org> <87r6ucns3x.fsf@lrde.org> <87mz50nows.fsf@lrde.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0499540456==" X-Trace: sea.gmane.org 1167896141 31637 80.91.229.12 (4 Jan 2007 07:35:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Jan 2007 07:35:41 +0000 (UTC) Cc: lekktu@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 04 08:35:35 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H2N8Q-0003n9-RF for ged-emacs-devel@m.gmane.org; Thu, 04 Jan 2007 08:35:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2N8Q-0000CK-8g for ged-emacs-devel@m.gmane.org; Thu, 04 Jan 2007 02:35:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H2N86-00009m-Vg for emacs-devel@gnu.org; Thu, 04 Jan 2007 02:35:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H2N85-00008x-BO for emacs-devel@gnu.org; Thu, 04 Jan 2007 02:35:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2N85-00008X-59 for emacs-devel@gnu.org; Thu, 04 Jan 2007 02:35:13 -0500 Original-Received: from [213.186.62.213] (helo=30.mail-out.ovh.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1H2N84-0006Lz-Cs for emacs-devel@gnu.org; Thu, 04 Jan 2007 02:35:12 -0500 Original-Received: (qmail 21066 invoked by uid 503); 4 Jan 2007 07:35:24 -0000 Original-Received: (QMFILT: 1.0); 04 Jan 2007 07:35:24 -0000 Original-Received: from b6.ovh.net (HELO mail189.ha.ovh.net) (213.186.33.56) by 30.mail-out.ovh.net with SMTP; 4 Jan 2007 07:35:24 -0000 Original-Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 4 Jan 2007 07:34:51 -0000 Original-Received: from ivr94-6-82-230-255-91.fbx.proxad.net (HELO localhost) (82.230.255.91) by ns0.ovh.net with SMTP; 4 Jan 2007 07:34:49 -0000 Original-To: rms@gnu.org Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAYFBMVEUWCwUyFQk6JBNLGglQK BVRMiRkHQtwMBZuOCRyRi1iQiZyUUCFNxuIPCKRTC2mVTSpZTqVVS2SW0OYZkixb0qraE/KeU7EcT +4h2bPhVfQkm7hlnDkvZjYqIjrwJnzwqB5+4wZAAAACXBIWXMAAAsTAAALEwEAmpwYAAAACXZwQWc AAAAwAAAAMADO7oxXAAADvUlEQVRIx32Wi5ajIAyGRcCAchErVqu27/+W+wfbs724i3Mcz5n/S0JI wlTbyXrs+zrFEL1zPuIdY7xO6+PBf6u27f4DrFPO3jvoQYRYFoj9CXyu+7ZPEWrXUNM0zpEfgjuY9 RTY1hyg5qUNgMb44Dwiiz5OZ8DCwVCjpdLaGNOVtw+M+Lz+AlNwRAhGSamh1abrtFKmG0DkmL8BhE +GdCNlreChBaO7DpjpIvbv/fr4AnqErhoYF6KI4aPrLIeFQLGj6RO4JWLjtdZ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:43 -0500") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux) X-Ovh-Remote: 82.230.255.91 (ivr94-6-82-230-255-91.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|H 0.5/N 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:64738 Archived-At: --===============0499540456== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Richard Stallman writes: > Documentation: > ! *Column beyond which automatic line-wrapping should happen. > Interactively, you can set the buffer local value using C-x f. > Documentation: > ! Column beyond which automatic line-wrapping should happen. > Interactively, you can set the buffer local value using C-x f. > > That is incorrect, because the Documentation of fill-column > does include a star at present. Yes, this is to be read with the change I proposed to remove this `*' in C-h v. > The line that says you can customize the variable indicates that th= is > ! variable is a user option, as would have indicated a line saying th= at > ! you can change at user level the variable. @kbd{C-h v} is not > ! restricted to user options; it allows any variable name. > > I can't understand that new text. > What is it supposed to mean? Again, it is with the previous patch. With it, not only =AB You can customize the variable =BB can appear, but also =AB You can change at user level the variable =BB, which means that you can M-x set-var this var. Richard Stallman writes: > This change > > + ;; If DOC starts with a `*' remove it. > + (when (eq (aref doc 0) ?*) > + (setq doc (substring doc 1))) > > might be ok, but I am not sure it is really right -- it seems > like a hard question. So I would rather leave this alone, for now. This is just an eye candy change for C-h v: the user doesn't need this `*', so let's remove it before printing. Why would it be a hard question? > ! (if (user-variable-p variable) > ! (let ((change-label "change")) > ! (terpri) > ! (terpri) > ! (princ (concat "You can " change-label > ! " at user level this variable.")) > ! (with-current-buffer standard-output > ! (save-excursion > ! (re-search-backward > ! (concat "\\(" change-label "\\)") nil t) > ! (help-xref-button 1 'help-change-variable variable)))))) > > What is that meant to achieve? > What does the feature look like at user level? C-h v propose to change customizable vars ; this patch allows to change all user option vars from C-h v. It looks like that : ,----[ C-h v show-paren-highlight-openparen RET ] | show-paren-highlight-openparen is a variable defined in `paren.el'. | Its value is t |=20 |=20 | Documentation: | Non-nil turns on openparen highlighting when matching forward. |=20 | You can change at user level this variable. `---- =AB change =BB is a hyperlink. Following it is the same as M-x set-variable RET s-p-h-openparen RET, so leads to: =AB Set show-paren-highlight-openparen globally to value: =BB =2D-=20 | Micha=EBl `Micha' Cadilhac | Si les religions etaient aussi to= le- | | Epita/LRDE Promo 2007 | rantes qu'elles le pretendent, il y= | | http://michael.cadilhac.name | a longtemps qu'il n'y en aurait plu= s | `--JID: michael.cadilhac@gmail.com--' -- Moustic - = --' --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFnK4cUJhDmOfFA3URAq3IAKCLTBdcRJMK3hiCzUCyaf2m+HQTtwCgqNNr bZNaD9ArKLPPcK6xF1i3Eyk= =JeXM -----END PGP SIGNATURE----- --=-=-=-- --===============0499540456== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --===============0499540456==--