GNU bug report logs - #4520
downcasing function arguments by default not appropriate in multi-tty

Previous Next

Package: emacs;

Reported by: Dan Nicolaescu <dann <at> ics.uci.edu>

Date: Tue, 22 Sep 2009 15:35:03 UTC

Severity: normal

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 4520 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Dan Nicolaescu <dann <at> ics.uci.edu>
Cc: 4520 <at> debbugs.gnu.org
Subject: Re: bug#4520: downcasing function arguments by default not 
	appropriate in multi-tty
Date: Tue, 22 Sep 2009 23:42:13 +0200
On Tue, Sep 22, 2009 at 17:27, Dan Nicolaescu <dann <at> ics.uci.edu> wrote:

> Changing a buffer's contents based on the font is use is not appropriate
> since we have multi-tty, the same buffer can be shown simultaneously in
> an X11 frame and a tty frame, and the properties of the font used in the
> X11 frame can be very different from the ones used in a tty frame.

Well, when the argument downcasing was implemented multi-tty wasn't in
Emacs, so it's no wonder we didn't think of that.

> So changing the buffer content _by_default_ is not a good idea.
> AFAIK we do not do such a thing anywhere else in emacs.

In the patch I'm planning to commit for #4510 I proposed

(defcustom help-downcase-arguments
  (and (face-differs-from-default-p 'help-argument-name) t)
  ...)

but it's just as easy to initialize it to nil. It's an interface
change, but not too serious; a note on NEWS will suffice, IMO. I'll
adjust my patch.

    Juanma



This bug report was last modified 15 years and 293 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.