all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Dan Nicolaescu" <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org
Subject: Re: function arguments downcased in help buffers
Date: Tue, 15 Apr 2008 03:52:37 +0200	[thread overview]
Message-ID: <f7ccd24b0804141852r1ea91070u8cb5e35fa1a10a74@mail.gmail.com> (raw)
In-Reply-To: <200804150020.m3F0KBMo012038@sallyv1.ics.uci.edu>

On Tue, Apr 15, 2008 at 2:20 AM, Dan Nicolaescu <dann@ics.uci.edu> wrote:

>  In 22.2 and older version from CVS HEAD used to show this:
>
>  defun is a special form in `C source code'.
>
>  (defun NAME ARGLIST [DOCSTRING] BODY...)

That's a feature, but it is not new, it was introduced in 22.1. Also,
in the default emacs -q setup, the arguments are lowercase *italics*.

>  not sure why this happens, but it does not seem like a good idea, the
>  upper case used for arguments is quite helpful when trying to spot what
>  a certain argument does.

You can customize the help-argument-name face. Or, if you really want
your uppercase args back, you can do

(defun help-default-arg-highlight (arg) arg)

FWIW, for cases like these I think there should be a
help-argument-highlight-function var, set to
help-default-arg-highlight, so the user could just assign another
function to it instead of having to redefine the existing one. But
Richard opposed adding such a variable:

> To say that a user can customize something does not necessarily mean
> introducing a defcustom to customize it.  That is one of many
> customization mechanisms in Emacs.  Another customization mechanism
> is to redefine a function.

 Juanma




  reply	other threads:[~2008-04-15  1:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-15  0:20 function arguments downcased in help buffers Dan Nicolaescu
2008-04-15  1:52 ` Juanma Barranquero [this message]
2008-04-15  2:04   ` Glenn Morris
2008-04-15  2:33     ` Juanma Barranquero
2008-04-15  5:03     ` Dan Nicolaescu
2008-04-15  8:51       ` Juanma Barranquero
2008-04-15 14:16         ` Drew Adams
2008-04-15 14:48           ` Juanma Barranquero
2008-04-15 15:04             ` Drew Adams
2008-04-15 14:25         ` Dan Nicolaescu
2008-04-15 15:00           ` Juanma Barranquero
2008-04-15 15:37             ` Dan Nicolaescu
2008-04-15 16:01               ` Juanma Barranquero
2008-04-15 17:15                 ` Stefan Monnier
2008-04-15 17:50                 ` Dan Nicolaescu
2008-04-15 16:00           ` Jason Rumney
2008-04-15 23:09             ` Kenichi Handa
2008-04-16  3:44     ` Dan Nicolaescu

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

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

  git send-email \
    --in-reply-to=f7ccd24b0804141852r1ea91070u8cb5e35fa1a10a74@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=dann@ics.uci.edu \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.