• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: xcode inserting ^S, how to stop?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xcode inserting ^S, how to stop?


  • Subject: Re: xcode inserting ^S, how to stop?
  • From: David Ewing <email@hidden>
  • Date: Mon, 12 Apr 2004 15:40:43 -0600

On Apr 12, 2004, at 12:32 PM, Kirk R. Wythers wrote:

I am getting an odd compile time error (error: stray '\23' in program). When I look at my code in emacs, it appears that xcode's editor is inserting an ascii '^S'. gcc must then be interpreting it as some kind of return value.

Is there a way to stop xcode from continuing thin behavior?

Not at the moment. But to be clear, there are two things going on. First, you're typing ctl-x, ctl-s. Xcode's not magically inserting anything. Ctl-x is the first character in a two-character command sequence, just like in emacs. Unfortunately, ctl-s is not bound to anything as the second character so it gets inserted into the file. Certainly, Xcode should not let you do that (it ought to beep like it does if you type ctl-s by itself).


You can see the ctl-s' in your file by using the "Show Control Characters" in the Format menu. You can also search for them by typing ctl-x, ctl-s in the Find window's search field (an ugly hack).

Dave
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >xcode inserting ^S, how to stop? (From: "Kirk R. Wythers" <email@hidden>)

  • Prev by Date: can't debug
  • Next by Date: Re: can't debug
  • Previous by thread: xcode inserting ^S, how to stop?
  • Next by thread: can't debug
  • Index(es):
    • Date
    • Thread