From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Francesco =?UTF-8?Q?Potort=C3=AC?= Newsgroups: gmane.emacs.bugs Subject: bug#21162: adapting octave-inf.el to Octave 4 Date: Fri, 31 Jul 2015 11:26:01 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1438334842 13105 80.91.229.3 (31 Jul 2015 09:27:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jul 2015 09:27:22 +0000 (UTC) Cc: Kurt.Hornik@wu-wien.ac.at, 21162@debbugs.gnu.org, "John W. Eaton" , Mike Miller To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 31 11:27:11 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 1ZL6ar-0007l0-Nv for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Jul 2015 11:27:09 +0200 Original-Received: from localhost ([::1]:43700 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZL6aq-0000X6-Vg for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Jul 2015 05:27:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZL6ao-0000X0-2v for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2015 05:27:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZL6ak-0002P8-2J for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2015 05:27:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZL6aj-0002P3-V9 for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2015 05:27:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZL6aj-0004h8-K6 for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2015 05:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 31 Jul 2015 09:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21162 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 21162-submit@debbugs.gnu.org id=B21162.143833476617980 (code B ref 21162); Fri, 31 Jul 2015 09:27:01 +0000 Original-Received: (at 21162) by debbugs.gnu.org; 31 Jul 2015 09:26:06 +0000 Original-Received: from localhost ([127.0.0.1]:35378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZL6Zq-0004fw-6S for submit@debbugs.gnu.org; Fri, 31 Jul 2015 05:26:06 -0400 Original-Received: from blade3.isti.cnr.it ([194.119.192.19]:19836) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZL6Zo-0004fn-Lb for 21162@debbugs.gnu.org; Fri, 31 Jul 2015 05:26:05 -0400 Original-Received: from tucano.isti.cnr.it ([146.48.81.102]) by mx.isti.cnr.it (PMDF V6.5-x6 #32097) with ESMTPSA id <01POZN0SCZ3U9VUXP1@mx.isti.cnr.it> for 21162@debbugs.gnu.org; Fri, 31 Jul 2015 11:26:01 +0200 (MEST) Original-Received: from pot by tucano.isti.cnr.it with local (Exim 4.86_RC5) (envelope-from ) id 1ZL6Zl-0002nR-TE; Fri, 31 Jul 2015 11:26:01 +0200 In-reply-to: X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 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: 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:105239 Archived-At: >> The following patch does two things: >> >> 1) it removes the --no-line-editing option when calling the Octave >> process, for reasons that I explained in my previous bug report about >> octave-inf.el >> >> 2) it adds the --no-gui option when calling Octave if its version is >> different from 3: this is needed because the last (and future, >> probably) Octave versions launch a GUI by default > >There is no file "octave-inf.el" in Emacs for some time, >and "inferior-octave-startup" has contained code to call "--no-gui" for >the past two years, so please review the situation in current Emacs >master and send a revised patch, if one is still needed. Thanks. Sorry, I live behind the times :) With the newest version, it's easier: just remove the --no-line-editing option from the initialization of inferior-octave-startup-args: --- octave.el.old 2015-07-31 11:19:50.203406678 +0200 +++ octave.el.new 2015-07-31 11:19:55.647504953 +0200 @@ -641,7 +641,7 @@ :group 'octave :version "24.4") -(defcustom inferior-octave-startup-args '("-i" "--no-line-editing") +(defcustom inferior-octave-startup-args '("-i") "List of command line arguments for the inferior Octave process. For example, for suppressing the startup message and using `traditional' mode, include \"-q\" and \"--traditional\"." Reason for changelog entry: --no-line-editing serves no apparent purpose (any more?) and prevents an inferior Octave process from using readline features, like getting the terminal width and other functions used for the FLTK graphical backend. Thanks