Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] No backtick in mode=prog anymore

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] No backtick in mode=prog anymore


Chronological Thread 
  • From: "Sam Liddicott" <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] No backtick in mode=prog anymore
  • Date: Fri, 07 Jan 2011 17:45:23 -0000
  • Envelope-to:
  • Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAADxQTFRF NTdQY2Z/i286eHFugnNXoJBwm5GCs5VeoqO0ua+fwLCQ4c2q19C81NDF4eLr/unQ/PTf/fXW+/rq /f/7XKo76wAAAAlwSFlzAAALEwAACxMBAJqcGAAAAi9JREFUSMetloGSqyAMRVsFNAQkxP//15cE 62rFdt/MZqbTVu/hBhLEx/qf8fgDIAN455wHyPk7wCIe9nA+fwGSH87hgD8AHPfRpy2GwdMtcBh+ mg4Ech9Ih+RNixJKDLEL0GF8VLkSojePHrDlryNijbFW8zBg8PUKbBOI6D1WCV5Rf2DzxCtgBlMs tRRVW5LyVW3ew1TfAZZ6RcQicpb4yZmaC74DJADK6BdATOrUAbJzsZie+K22ZnEBknNYysvhVH6u 1X8CqAe4DuANoPoOrAbsHXUARJ5knc5z4EyyTnHoAqj7xvkYIdk65AwhyEZKMusOIDV2QQQaCnDQ gBiDR3RdIEb5CBESt2wgQJI0Yx/Agphg1MgNsD+QkszM9wHVPx/PeQOW+fmcR9DF8+4CyCJhCuP8 fDzmBbLqs8JzMODqYNfDvKhoGYM2lDosy5jlRozccRAgrPM8iygQS3Mv87IugUgKlC7NZ6liuy4r uresVq5QuQAr09ZKEga8OkluyKXeQ6Bs3SrtqgC1pWLNqAfwDhBnB+sK8OrVL4D4h1B4zWPWhJhu gPUHKA5EwSMYUMsdQK+UKDhIOTSHeg+8HCoTOGtB/gwcl4mSdGybwXegPWhM/RHYKwchkckhUNMX 6j7ueQNScLbZZOPRxaADyO2UQCJpl7wbnE6gQ+ksWjpngxOwF1tF5ecP3R6KB+AQxPfHLncQ+nKw 06fhu68OTIfJ869eTtg22l+9zfwDK3mKl5BFHMYAAAAASUVORK5CYII=


It just leaves the problem of the grouping of back-quote and apostrophe which probably shouldn't happen when mode=prog.

i.e. `` should not be kerned, nor should ' '

Sam

On 07/01/11 16:41, Joris van der Hoeven wrote:
Dear Sam,

On Fri, Jan 07, 2011 at 04:23:02PM -0000, Sam Liddicott wrote:
Joris, do you have any comments about this backtick weirdness?

I think back ticks should have fixed width when mode=prog.

I'm curious about the reasoning behind backticks being exported in text
as unicode 0xE28098 which looks quite different.
David Allouche made this decision a long time ago.
I don't remember the rationale, but there surely was one.

I'm curious how that when a text file with a back-tick is imported a
different symbol is show on the screen (looks like a normal back-tick,
i.e. a grave accent instead of a back-quote).

Perhaps when the back-tick key is pressed when mode=prog it should
generate the character represented as \0 (what a weird representation?);
Thank Knuth for using these characters in fonts.

and when mode=prog this character should be exported as ascii 0x60
instead of unicode 0xE28098
That would be the simplest thing to do.

If this sounds reasonable to you I will try to contrive it and send a
patch, although I fear that interpreting a keystroke differently when
mode=prog will be simpler than cut-n-paste differently into a place
where mode=prog - perhaps you could advise?
I don't really know; please investigate... --Joris


--
[FSF Associate Member #2325] <http://www.fsf.org/register_form?referrer=2325>

<http://www.openrightsgroup.org/>



Archive powered by MHonArc 2.6.19.

Top of Page