From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11047: 24.0.94; Hangs when creating buffer starting with multiple spaces and there exists buffers with multiple spaces Date: Tue, 20 Mar 2012 19:52:18 +0200 Message-ID: <83iphz17ot.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1332265958 20275 80.91.229.3 (20 Mar 2012 17:52:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Mar 2012 17:52:38 +0000 (UTC) Cc: 11047@debbugs.gnu.org To: Charles Magid Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 20 18:52:37 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SA3Eb-00023S-3A for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Mar 2012 18:52:37 +0100 Original-Received: from localhost ([::1]:46767 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA3Ea-0003kT-Ck for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Mar 2012 13:52:36 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA3EX-0003jt-Dg for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 13:52:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SA3EP-0006Vw-Ns for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 13:52:32 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51483) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA3EP-0006Vs-K8 for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 13:52:25 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SA3i1-00009E-V2 for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 14:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Mar 2012 18:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11047 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: Original-Received: via spool by 11047-submit@debbugs.gnu.org id=B11047.1332267777559 (code B ref 11047); Tue, 20 Mar 2012 18:23:01 +0000 Original-Received: (at 11047) by debbugs.gnu.org; 20 Mar 2012 18:22:57 +0000 Original-Received: from localhost ([127.0.0.1]:58315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SA3hw-00008v-AR for submit@debbugs.gnu.org; Tue, 20 Mar 2012 14:22:56 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:36785) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SA3ht-00008k-Qx for 11047@debbugs.gnu.org; Tue, 20 Mar 2012 14:22:54 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M1700G002EWLW00@a-mtaout22.012.net.il> for 11047@debbugs.gnu.org; Tue, 20 Mar 2012 19:52:15 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.4.134]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M1700DR72Z1LF61@a-mtaout22.012.net.il>; Tue, 20 Mar 2012 19:52:14 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57905 Archived-At: > From: Charles Magid > Date: Tue, 20 Mar 2012 09:37:11 -0400 >=20 > 1. Started emacs on mac os x lion 10.7.3 > 2. Started shell M-x shell > 3. Created buffer with very long text name starting with 4 spaces > c-x b c-q spc c-q spc c-q spc c-q spc Now, start the server and = you are ready to sign in and sign out. You can also block user access= in any controller by calling authenticate_user! in a before filter. = Just remember that, if you add the filter to your application control= ler, remember to skip the filter on the sessions controller, otherwis= e you won=92t be able to sign in in the first place. > 4. confirm with a 'return' > 5. Repeat with slightly more spaces and complex buffer name > c-x b c-q spc c-q spc c-q spc c-q spc c-q spc c-q spc You can n= ow freely proceed to implement the other controllers and views in you= r application. Keep in mind that if you have devise :recoverable in y= our model, all the related methods like User.send_reset_password_inst= ructions will already be available in your model, so you can use them= straight away to implement your own reset password feature. Since De= vise use all those methods internally, if you have any questions abou= t implementing your own reset password feature, you can always take a= look at Devise own controllers for some help. > confirm by 'return' > 6. Emacs hangs using ~100% of cpu FWIW, I cannot reproduce this on MS-Windows with yesterday's trunk. Emacs doesn't hang for me after doing all these steps.