From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: unfrostedpoptart Newsgroups: gmane.emacs.help Subject: Re: How to quit? Date: Wed, 25 Feb 2015 15:08:38 -0800 (PST) Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1424905836 24443 80.91.229.3 (25 Feb 2015 23:10:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Feb 2015 23:10:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 26 00:10:35 2015 Return-path: Envelope-to: geh-help-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 1YQl68-0003AW-E5 for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Feb 2015 00:10:32 +0100 Original-Received: from localhost ([::1]:56666 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQl67-0004xk-OR for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Feb 2015 18:10:31 -0500 X-Received: by 10.182.191.65 with SMTP id gw1mr5540623obc.40.1424905719818; Wed, 25 Feb 2015 15:08:39 -0800 (PST) X-Received: by 10.50.112.194 with SMTP id is2mr461127igb.2.1424905719464; Wed, 25 Feb 2015 15:08:39 -0800 (PST) Original-Path: usenet.stanford.edu!hl2no30695037igb.0!news-out.google.com!qk8ni43055igc.0!nntp.google.com!hl2no24320310igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=208.13.76.142; posting-account=S61AnQkAAADt4_PSYpI-Tm-z1E4cd7xa Original-NNTP-Posting-Host: 208.13.76.142 User-Agent: G2/1.0 Injection-Date: Wed, 25 Feb 2015 23:08:39 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:210622 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102896 Archived-At: On Wednesday, February 25, 2015 at 7:36:58 AM UTC-8, Marcin Borkowski wrote: > OK, so I have a problem, and it doesn't show up when I do emacs -Q. So > I take a deep breath and bisect my 900-line init.el... > > In LaTeX, however, when I have some weird problem, I can put \endinput > in a file, and everything past that is ignored. Is there anything like > that in Elisp? > > It just occured to me that (debug) /might/ work, and so might > (keyboard-quit). Is this a good idea? Are there any others? > You could comment-out part as people have suggested. However, the easiest way is just to select the part of the code you want to run and then do M-x eval-region. Piece of cake! David