all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thien-Thi Nguyen <ttn@giblet.glug.org>
Cc: emacs-devel@gnu.org
Subject: Re: display question: should ^N and \NNN widths be fixed?
Date: Fri, 24 May 2002 16:20:39 -0700	[thread overview]
Message-ID: <E17BOMR-0007c6-00@giblet> (raw)
In-Reply-To: <200205242114.g4OLE2T02822@aztec.santafe.edu> (message from Richard Stallman on Fri, 24 May 2002 15:14:02 -0600 (MDT))

   From: Richard Stallman <rms@gnu.org>
   Date: Fri, 24 May 2002 15:14:02 -0600 (MDT)

   Currently the functions in indent.c don't handle variable width fonts at all.
   Extending them to do so is an important project.  When that is done, I expect
   it won't be too hard to handle these two cases also.

ok.  here's my proposal for doing this -- i hope everyone picks it apart
and/or lends expertise to fill the gaps so that emacs can have the best
variable-width font support possible:

 - establish iso-type contour
   + make indent.c C column vars float
   + make callers of indent.c C functions cast retval to int
   + make indent.c C getter functions compute and return float
   - make callers of indent.c C functions cast args to float
   - make indent.c C setter functions accept floats
 - selectively expand contour to propagate float usage
   - determine criteria for propagation
   - determine which funcs/vars fit that criteria (maybe all?)
   - do the changes where needed
     - remove casts
     - fix resulting breakage
 - introduce font sensitivity in column computations
   - unify current_column / current_column_1 / string_display_width
   - consult font text-property		<-- potential race condition?
   - (re-)optimize common cases
     - [maybe] extend width-run cache facilities
     - [maybe] do other caching

some of these (sub)tasks can (and probably should) be done concurrently.
that's not noted here explicitly, but should be easy enough to figure
out for anyone who wants to join in.

logistical questions: is it ok to make a branch in cvs?  what should it
be named?  where can we check in this kind of info for future reference?
is it ok to check in the above in etc/TODO?  if no, then where?  (IMHO,
digging through spam-ridden mailing list archives is neither fun nor
effective.)

thi

  reply	other threads:[~2002-05-24 23:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-23 21:16 display question: should ^N and \NNN widths be fixed? Thien-Thi Nguyen
2002-05-24 21:14 ` Richard Stallman
2002-05-24 23:20   ` Thien-Thi Nguyen [this message]
2002-05-24 23:34     ` Thien-Thi Nguyen
2002-05-25  1:44     ` Miles Bader
2002-05-25  2:39       ` Thien-Thi Nguyen
2002-05-25  2:57         ` Miles Bader
2002-05-26  5:03           ` Eli Zaretskii
2002-05-26  5:11             ` Thien-Thi Nguyen
2002-05-25  3:05         ` Miles Bader
2002-05-25  3:05         ` Miles Bader
2002-05-25 22:53           ` Thien-Thi Nguyen
2002-05-26  4:28     ` Richard Stallman
2002-05-27  6:44       ` Thien-Thi Nguyen
2002-05-28  5:15         ` Richard Stallman
2002-05-26  5:09     ` Eli Zaretskii
2002-05-27  6:48       ` Thien-Thi Nguyen
2002-05-27  7:33         ` Eli Zaretskii

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=E17BOMR-0007c6-00@giblet \
    --to=ttn@giblet.glug.org \
    --cc=emacs-devel@gnu.org \
    --cc=ttn@glug.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.