9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] deroff, pic
Date: Thu, 23 Oct 2008 07:23:37 -0400	[thread overview]
Message-ID: <84347a6860e7284f7f9ccec0c1efa288@quanstro.net> (raw)
In-Reply-To: <8CB6C722-3219-426C-86B1-F583147C4C40@mac.com>

> 1) Should deroff -w interpret curly quotes (“”)? Right now it doesn't,
> so spell is treating any words with either character as spelling errors.

; 9diff deroff.c
/n/sources/plan9//sys/src/cmd/deroff.c:963,968 - deroff.c:963,970
  		return chars[c];
  	switch(c){
  	case 0x2013: case 0x2014:	/* en dash, em dash */
+ 	case L'“':
+ 	case L'”':
  		return SPECIAL;
  	}
  	return EXTENDED;

- erik




  reply	other threads:[~2008-10-23 11:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-23  2:36 Pietro Gagliardi
2008-10-23 11:23 ` erik quanstrom [this message]
2008-10-23 17:41   ` Russ Cox
2008-10-23 21:06     ` erik quanstrom
2008-10-23 14:39 ` cej

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=84347a6860e7284f7f9ccec0c1efa288@quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).