Re: "Save as" key-binding, "smart quotes"

New Message Reply Date view Thread view Subject view Author view

From: BP Jonsson (bpj@NETG.SE)
Date: 20 Aug 99, 02:37 EST


From: BP Jonsson <bpj@NETG.SE>
Subject:      Re: "Save as" key-binding, "smart quotes"

> Message-ID:  <v03130301b3e1c32639c6@[129.6.65.205]>
> Date:         Thu, 19 Aug 1999 10:42:07 -0400
> From: Jonathan Guyer <jguyer@HIS.COM>
> Subject:      Re: "Save as" key-binding, "smart quotes"
> To: ALPHA-D@LISTSERV.SYR.EDU
>
> At 9:53 AM -0400 8/19/99, Dominique Dhumieres wrote:
> >B.Philip Jonsson wrote:
> >
> >> Also: can I get text mode to use and balance Mac's "smart
> >> quotes" (xD2-xD5)?
> >
> >As far I can see, the pairs used by the 'balance' command are hard-coded.
> >Would it be possible in Alpha 8 to be able to add pairs to those built in?
> >(for instance <>, \le\ge, "smart single quotes" and so on).
>
> I don't think Alpha's 'balance' is what BP meant. I think the request is
> that when you type '"' (0x22), you get '"' (0xD2), and then when you type
> the next '"', you get '"' (OxD3). This is already implemented (narrowly) in
> TeX mode, where you get TeX smart quotes ("``" and "''").

Right.  That's what I meant.  Swedish doesn't differentiate
opening and closing quotes, so I keep forgetting it.


> It should be a pretty simple matter to generalize smartDQuote (and its ilk)
> from latexSmart.tcl to work in a mode-dependent way. I leave this as an
> exercise for the reader. 8^)

Ne inducas me in temptationem...  I'm not a programmer, just a
lousy editor (That's why I need a good editor like Alpha to help
me! ;-)>

> As to generalizing 'balance', yeah, I expect we can do this. We're
> gradually working on removing _all_ of these hard-coded values. Some are
> subtle, though.

would be great too -- provided it can tell an apostrophe from a
closing single quote... :-\>

> __________________________________________________________________
>   Jonathan E. Guyer
>   <http://www.his.com/jguyer/>
>
> Message-ID:  <v03130300b3e1c9703e26@[129.6.65.205]>
> Date:         Thu, 19 Aug 1999 10:47:46 -0400
> Subject:      Re: "Save as" key-binding, "smart quotes"
> To: ALPHA-D@LISTSERV.SYR.EDU
>
> At 10:42 AM -0400 8/19/99, I wrote:
>
> >I should be a pretty simple matter...
>
> Make that "_It_ should be a pretty simple matter..."

Did that too, capt'n! ;-)>

> __________________________________________________________________
>   Jonathan E. Guyer
>   <http://www.his.com/jguyer/>
>


/BP

 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  B.Philip Jonsson  <bpj@netg.se> <melroch@hotbot.com>

        Solitudinem faciunt pacem appellant!
                                            (Tacitus)


New Message Reply Date view Thread view Subject view Author view

This archive was generated by das@users.sourceforge.net with hypermail 2b29 on 31 Mar 01, 11:50 EST