Subject: mailing-list for TeXmacs Users
List archive
From : Gubinelli Massimiliano <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] No backtick in mode=prog anymore
- Date: Tue, 21 Sep 2010 17:08:10 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:mime-version:subject :date:references:x-mailer; b=ZXjdhxXt7lao9LfrROkfoFa1HP5N4dMuir77I6BHKZMaXajLkR1r2mQHi+EJOgYIeh DthIc7qipCH1XFS8SpHZZk+ZMvPHTKZsXo+mtAz2Mm0B8/vVqvejmV3eYqchnsS4dbP4 qlv/DOShFAoU1Ivobi1VN+bpIEBQc9WUnYiKM=
Thanks,
now I understand the problem.
best
max
On 20 sept. 10, at 18:13, Sam Liddicott wrote:
On 20/09/10 16:56, Gubinelli Massimiliano wrote:<backticks.tm>Hi,could you give me some details to reproduce the problem? I do not know what mode=prog means.
See the attached file.
The first echo `date` has the back-ticks entered using the backtick key.
1. This is the wrong character, it should use the character on the second echo `date` line
2. see the "bad" line, how these wrong-backticks start pairing together. Press END on this line and see how far the text caret is from what is being typed.
3. mode=prog allows the " key to enter normal ascii-34 quote marks. Similar should happen for ` and '
4. export the file as text. The bad characters are some unicode and the good characters did export correctly.
5. because real backticks are saved as \0 in the .tm file, if I try to "evaluate scheme _expression_" and the scheme _expression_ has a ` in it, the ` is saved as \0x00 in my .TeXmacs/system/interactive.scm and I start getting errors like this:
ERROR: In procedure footer-eval:
ERROR: string contains #\nul character: "(insert \"\x00\")"
/home/sam/Projects/texmacs/texmacs/trunk/src/TeXmacs/progs/kernel/texmacs/tm-dialogue.scm:352:9: In procedure tm-interactive in _expression_ (tm-interactive fun fun-args):
/home/sam/Projects/texmacs/texmacs/trunk/src/TeXmacs/progs/kernel/texmacs/tm-dialogue.scm:352:9: string contains #\nul character: "(insert \"\x00\")"
So, when mode=prog (and the quote key) works properly, so should apostrophe and backtick.
And \0 is perhaps a bad choice of encoding.
Sam
thanks
bestmax
Another problem;
in mode=prog, backticks are not fixed-width like other characters. Type multiple ` backticks and watch the caret move further and further away from the rhs of the text.
Sam
On 16/09/10 15:38, Sam Liddicott wrote:When in mode=prog, the back-tick (or back-quote) key used to generate this character:
`
but with todays SVN head update something screwy is going in.
The back-tick key generates a left-single quote which is saved as a back-tick in the .tm file but when exported as text (with texmacs -s -c file.tm file.txt -q) comes out as ‘ or unicode E28098
If I cut-n-paste existing back-ticks in the document, they come out as \0 (slash zero) in the .tm file when it is saved but come out properly as a back-tick when exported to text.
So I think my complaint is the back-tick key has started generating single-left-quote in mode=prog
For now I have to cut-n-paste existing back-ticks.
Sam
- [TeXmacs] No backtick in mode=prog anymore, Sam Liddicott, 09/16/2010
- [TeXmacs] Re: No backtick in mode=prog anymore, Sam Liddicott, 09/16/2010
- Re: [TeXmacs] No backtick in mode=prog anymore, Sam Liddicott, 09/20/2010
- Re: [TeXmacs] No backtick in mode=prog anymore, Gubinelli Massimiliano, 09/20/2010
- Re: [TeXmacs] No backtick in mode=prog anymore, Sam Liddicott, 09/20/2010
- Re: [TeXmacs] No backtick in mode=prog anymore, Gubinelli Massimiliano, 09/21/2010
- Re: [TeXmacs] No backtick in mode=prog anymore, Sam Liddicott, 09/20/2010
- Re: [TeXmacs] No backtick in mode=prog anymore, Gubinelli Massimiliano, 09/20/2010
Archive powered by MHonArc 2.6.19.