How can I make Emacs stop flickering on resize? - emacs

I'm on OS X 10.6.6 and I'm running emacs 23.2. Everytime I try to resize the emacs window and sometimes other types of movement the buffer seems to flicker. How do I fix this?

Upgrade to the latest developer build snapshot of Emacs, and upgrade OSX from 10.6.6 to 10.6.8 -- Snow Leopard final -- and problem resolved!
Try out the latest version of Emacs from the nightly build section of the following link after you have upgraded to Snow Leopard 10.6.8. You will note that the description of the Emacs builds specifies that OSX 10.6.8 was used to create them. For those people who may be unfamiliar with the Emacs builds from emacsformacosx.com, the statement on the face-sheet of the website is accurate -- "Pure Emacs! No Extras! No Nonsense!" -- i.e., they are vanilla builds for OSX (built using the option --with-ns).
http://emacsformacosx.com/builds
It makes no sense trying to get an older version of Emacs to work on an older version of Snow Leopard, when upgrading both is so easy.
Upgrading OSX can be done by connecting to the internet, clicking on the Apple logo in the upper left-hand corner of the menu-bar, and then selecting Software Update... and follow the prompts thereafter. Alternatively, the update *.dmg is still available for download on the Apple servers -- combo means that it is capable of upgrading any version of Snow Leopard prior to 10.6.8. In addition, 10.6.8 is needed to utilize the Apple App Store application that is included in the update:
http://support.apple.com/downloads/DL1399/en_US/MacOSXUpdCombo10.6.8.dmg

Have you tried aquamacs? It is designed to fit in more closely with OS X, but is still a fully-functional emacs implementation (up to and including emacs 23 functionality I believe)

Related

should I build llvm for iphone-dev on ubuntu?

I try to follow this guide:
http://code.google.com/p/iphone-dev/wiki/Building
it wants me to build LLVM from source, but I already have one installed in Ubuntu using apt-get, why they want me to compile from source? can I use the one provided by Ubuntu community? if not, how will they coexist? should I uninstall apt-installed llvm first?
The guide you're looking at is several years out of date, and will most likely not work. (In fact, there are a ton of frustrated comments suggesting that it hasn't worked since at least 2011, as the Mac OS X 10.4u SDK is no longer available for download.)
The only supported platform for iOS development is Mac OS X. I would strongly recommend that you use that platform if you want to do iOS development, as basically all tutorials you will find online will assume that's what you're using.
That all being said, if the instructions were otherwise correct, you would still need to build LLVM separately from the version provided by Ubuntu, as iOS devices use ARM CPUs, and the distribution's LLVM will only compile binaries for your system (probably either x86 or x86-64).

How to run xcode project in xcode 3.1 developed in xcode 4.3?

I have installed Mac OS X Snow Leopard 10.6.2 on Windows 7 PC with the help of Virtual box. On that I have installed Xcode 3.1 as it was the compatible version of Xcode on Mac OS X 10.6.2.
While running Xcode project in Xcode 3.1 developed in Xcode 4.3 I get lots of errors.
Is there any way where I can make the codes compatible on xcode 3.1 or at least upgrade xcode 3.1 to xcode 4.3 (nearby) which will be supported by Mac OS X 10.6.2
If you sign in with your developer account at http://developer.apple.com/ios, you'll see that there's a link to "Xcode 4.2 for Snow Leopard". That's what you want. Xcode 3.1 is WAY out of date, and does not include any of the current SDKs.
Its been a while since you posted this so I hope you or others finds this useful. I had the same issue with Mac OS X Snow Leopard running on VirtualBox and not being able to run a later version of Xcode than 3.1. My understanding is that running Mac OS as a VM does not not allow you to run the standard built-in upgrade utility to upgrade the OS.
The resolution that worked for me was documented here How to install Snow Leopard Hackintosh in Virtualbox.
The following method is hacky and has not been thoroughly tested in any way. Use these instructions at your OWN RISK.
First you will upgrade Mac OS Snow Leopard then you will install Xcode 4.2 The steps you'll need are the following:
Take a snapshot of your Mac OS VM in case something goes arigh
Search google for "10.6.7 combo update" (replacing version number with the one you need)
Download the combo update from apple's official site and run
Complete the install (DO NOT REBOOT)
Google "10.6.7 legacy kernel" and download replacing version number with same version number as the combo update (the author of the article recommends finding kernel by nawcom)
Install legacy kernel
Reboot Mac OS and your upgrade should be complete
(Note: when I rebooted the spinning wheel that appears during bootup stopped after a min or two. I had to force restart the VM with VirtualBox and it appeared to have updated properly)
Once in Snow Leopard click on the time/date in upper right hand corner and click "Date & Time Preferences"
Uncheck "Set date and time automatically"
Change the date to 01/01/2012 (this is because of an expired cert check that is checked during the install)
Google "xcode_4.2_and_ios_5_sdk_for_s­now_leopard.dmg", download, and install it
Once installed you should now have a working copy of Xcode 4.2.

Does upgrading to OSX Lion have ANY caveats for development using Xcode?

Simple question, I want to know if anyone has had any weird or annoying problems with developing iphone apps in Xcode after upgrading to Lion. I remember having issues when Snow Leopard first launched. Are there any early adopter penalties here?
A big one for me: no more PowerPC emulation via Rosetta in 10.7 - important to think about if you need to do testing for legacy PowerPC code.
Fortunately you can still use Xcode 3.2.6 though if you don't want or need to use Xcode 4.1 - if Xcode 3.2.6 is installed prior to upgrading t Lion then it should still work, alternatively there are instructions available for installed Xcode 3.2.6 when Lion is already installed.
I just had the problem, that I had to upgrade to Xcode 4.1 because lower versions of Xcode don't work on Lion. ;-)
You have to download the latest Xcode 4.1 to do development on Lion. 4.0.x won't work.
You also have to learn how to scroll down pages like a flight simulator (you can turn it off). If you got used to the neat gestures in Snow Leopard, then get ready to completely start over again with new ones (no going back on Lion). Three finger web page navigation doesn't work, 4 finger application switching doesn't work, and a new "explosion" gesture is used for desktop and mission control.
The only thing i have noticed so far is that if you run Xcode in fullscreen mode, simulator can't be on same screen... And yes, you have to download new Xcode 4.1 from appstore... Everything else is pretty much amazing :-D
When you try to install Xcode 3.2.6 on Lion, Xcode toolset is greyed out and marked as skip. There is a simpler way to install it then those once described above. Here is the steps:
Mount the developer tools dmg
Open Terminal and run these two commands:
export COMMAND_LINE_INSTALL=1
open "/Volumes/Xcode and iOS SDK/Xcode and iOS SDK.mpkg"
Enjoy.
Be prepared for the new Xcode to remove the /Developer directory as a part of its cleanup process. This will wipe out QT in the process since it's installed there as well.
So if you want to keep QT intact you should skip Xcode's cleanup step or install a fresh QT afterwards.

While building monotouch application c# compiler getting crashed

Somehow I managed to get MAC pc OS 10.5.3. I have installed mono, monodevelop and monoTouch in that system. I have created a solution and tried to build it simply. But it is showing an error message that "C# compiler crashes". What does that mean and how to resolve that problem. I have tried installing all the software once again, but couldn't found any appropriate thread to it.
You need to provide more details about the crash but I'd venture to guess that your problem stems from not having the latest Xcode and SDKs installed. You need to be running the latest Xcode release (3.2.5 currently) to use the latest MonoTouch (3.2.3 currently) and Xcode 3.2.X requires an Intel-based Mac running Mac OS X Snow Leopard version 10.6.4 or later.
I am not sure what you mean by "somehow I managed to get MAC pc OS 10.5.3" but if that means that you've put together a hackintosh with a 10.5.3 image of OS X and you are trying to run MonoTouch on it, then you're swimming in unsupported waters. There have been reports that the simulator works fine on a hackintosh but you won't be able to deploy to the device.

Xcode's shared workgroup 'Unreachable' after Snow Leopard/Xcode upgrade

After upgrading to OS X 10.6 (Snow Leopard) and iPhone SDK 3.1 (with Xcode 3.2), Xcode's shared workgroup builds (distributed) can't seem to find or access other computers in our office.
Distributed builds worked perfectly in OS X 10.5 with iPhone SDK 3.0.
All the computers that have upgraded are now listed with a status of Unreachable. Even my own computer, artanis, is listed as Unreachable!
I've already tried all of the suggestions listed in Troubleshooting Distributed Network Builds. And none of us have the OS X firewall enabled.
Any suggestions?
Here's a screenshot:
Xcode Preferences Screenshot http://img170.imageshack.us/img170/3972/screenshot20090917at104.png
The solution seems to be to run Xcode in "32-bit" mode - you set this in the "Get Info" dialog in the Finder.
You must re-install Xcode using the version on the Snow Leopard DVD. The iPhone SDK must be re-installed afterwards.
Edit: I just noticed that Apple started distributing Xcode 3.2 with the iPhone 3.1 SDK. I would recommend you to attempt a full uninstall of the developer tools, as described in the SDK release notes (see developer.apple.com), and then to re-install it. You should also check that each computer have a unique name set in system preferences>>sharing. As a last resort, I'd check that Snow Leopard was booted in 32-bit mode (it does by default), and (just for the test) try to boot Snow Leopard in 64-bit mode (hold the 6 and 4 keys while booting).
Edit 2: Check this thread, it seems related. Maybe you should try to enable Xgrid in sharing preferences?
I had a problem installing it now it works since it needed for the xcode and ipphone sdk the firewall disabled to install, I think that fix my problem where it did not want to install the files strange bug I guess, with firewall on , the installer fails to install, and I am still in 64bit mode