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#21777: 25.0.50; gud-gdb uses a pager, which is harmful inside emacs Date: Fri, 30 Oct 2015 16:01:01 +0200 Message-ID: <83y4ekzc9u.fsf@gnu.org> References: <87ziz2x0j6.fsf@secretsauce.net> <87fv0uaas1.fsf@igel.home> <87twpaha8u.fsf@secretsauce.net> <837fm53b25.fsf@gnu.org> <87pozxgu3d.fsf@secretsauce.net> <87mvv1ggwo.fsf@secretsauce.net> <83a8r022k9.fsf@gnu.org> <87lhakhg81.fsf@secretsauce.net> <838u6k1z28.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1446213752 32497 80.91.229.3 (30 Oct 2015 14:02:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Oct 2015 14:02:32 +0000 (UTC) Cc: 21777@debbugs.gnu.org To: dima@secretsauce.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 30 15:02:20 2015 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 1ZsAFv-0007hv-Q0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Oct 2015 15:02:11 +0100 Original-Received: from localhost ([::1]:50842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsAFv-0005ax-76 for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Oct 2015 10:02:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsAFr-0005aq-Uj for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2015 10:02:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZsAFn-000108-7M for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2015 10:02:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsAFn-000104-4i for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2015 10:02:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZsAFm-0006UD-Mj for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2015 10:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Oct 2015 14:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21777 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21777-submit@debbugs.gnu.org id=B21777.144621367924881 (code B ref 21777); Fri, 30 Oct 2015 14:02:02 +0000 Original-Received: (at 21777) by debbugs.gnu.org; 30 Oct 2015 14:01:19 +0000 Original-Received: from localhost ([127.0.0.1]:46298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZsAF4-0006TE-Lk for submit@debbugs.gnu.org; Fri, 30 Oct 2015 10:01:18 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:57234) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZsAEj-0006SN-M9 for 21777@debbugs.gnu.org; Fri, 30 Oct 2015 10:01:16 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NX100J00DKWHV00@a-mtaout22.012.net.il> for 21777@debbugs.gnu.org; Fri, 30 Oct 2015 16:00:56 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NX100JU2DLJ5U60@a-mtaout22.012.net.il>; Fri, 30 Oct 2015 16:00:56 +0200 (IST) In-reply-to: <838u6k1z28.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.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:108187 Archived-At: > Date: Fri, 30 Oct 2015 11:32:47 +0200 > From: Eli Zaretskii > Cc: 21777@debbugs.gnu.org, schwab@linux-m68k.org > > > - we have a variable 'gud-gdb-set-height-unlimited', > > which has 3 states: uninitialized, yes, no > > > > - when gud starts up, if it's 'uninitialized', we ask the user if they > > want to override, and whether to do so in the future; if they say yes, > > we update their .emacs.d/init.el. narrow-to-region has this type of > > user querying. We override only if it's 'yes' > > Why not a simpler boolean, off by default? This problem will go away > soon enough, so maybe solutions that are too complicated would be > over-engineering it? I think if we have such an option, and it's by default off, we might consider not bothering about gdbinit commands that contradict the effect of that option. The option gives users enough power to decide what they want more. WDYT?