From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 03 11:36:00 2014 Received: (at submit) by debbugs.gnu.org; 3 Jul 2014 15:36:00 +0000 Received: from localhost ([127.0.0.1]:41828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X2j3D-00056j-0u for submit@debbugs.gnu.org; Thu, 03 Jul 2014 11:36:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40465) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X2diN-0007hI-6f for submit@debbugs.gnu.org; Thu, 03 Jul 2014 05:54:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2diH-0004ja-As for submit@debbugs.gnu.org; Thu, 03 Jul 2014 05:53:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2diH-0004jR-7u for submit@debbugs.gnu.org; Thu, 03 Jul 2014 05:53:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2diG-0004fY-3P for bug-gnu-emacs@gnu.org; Thu, 03 Jul 2014 05:53:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2diF-0004il-9y for bug-gnu-emacs@gnu.org; Thu, 03 Jul 2014 05:53:56 -0400 Received: from mail-we0-x22a.google.com ([2a00:1450:400c:c03::22a]:62344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2diF-0004ie-3D for bug-gnu-emacs@gnu.org; Thu, 03 Jul 2014 05:53:55 -0400 Received: by mail-we0-f170.google.com with SMTP id w61so12509420wes.29 for ; Thu, 03 Jul 2014 02:53:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=+20iU2w9b+jfDZS8ZySf7IlLC/X/oflpL1gTa8aTous=; b=eHG68Ek3eMd5eGH0/PUdDvuv25jY2r5HmzKhAGqqC6icOR8kypxXTW911ah22NpKEh Pgrezneuxof9st0XvfRy3MlDUSkLUkOhantq0T3yELZS2rloEfBBRCv/KRyDWIiQaKcr U9joZfrjaJcT0r6ygNjAeYPP+1eeV59nAuo/Y7ikjiCf3+S8zMS+48WeSUbNV+J+mVz5 19TXdxnaWrVBKhnhkZzjQqr5makYGltWjrP77Tq4j0MbGbCp/WTMepBS41h29PF6Thic cHPyqE0AcuMELIGUSpE0sdcSfLnTODpz72ZS9VcUy+JjGslwC2edlspKLJKNH8F47Nsq E/Lg== X-Received: by 10.194.57.208 with SMTP id k16mr3752591wjq.51.1404381233639; Thu, 03 Jul 2014 02:53:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.109.97 with HTTP; Thu, 3 Jul 2014 02:53:33 -0700 (PDT) From: Damian Nadales Date: Thu, 3 Jul 2014 11:53:33 +0200 X-Google-Sender-Auth: dlwkKPeHD6aK2TRKegX1AK64hFM Message-ID: Subject: inferior-octave-mode: Wrong type argument: number-or-marker-p, "100000000000" To: Kurt Hornik , bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 03 Jul 2014 11:35:51 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Hello, Whenever I start octave-mode from emacs I got the following error message: inferior-octave-mode: Wrong type argument: number-or-marker-p, "100000000000" Running it for a second time makes the error disappear. Furthermore, the following error appears randomly (to me at least) when using the Octave buffer: comint-send-input: Wrong type argument: number-or-marker-p, "100000000000" The constant 100000000000 is the same I use to set the history size of octave in my pam_environment: OCTAVE_HISTSIZE DEFAULT=100000000000 But I don't know how is this related to the error I got. What could be happening? From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 03 11:50:43 2014 Received: (at submit) by debbugs.gnu.org; 3 Jul 2014 15:50:43 +0000 Received: from localhost ([127.0.0.1]:41852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X2jHR-0005dw-Ue for submit@debbugs.gnu.org; Thu, 03 Jul 2014 11:50:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40748) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X2djl-0007kz-1s for submit@debbugs.gnu.org; Thu, 03 Jul 2014 05:55:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2djf-00058J-3Q for submit@debbugs.gnu.org; Thu, 03 Jul 2014 05:55:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2dje-000588-W2 for submit@debbugs.gnu.org; Thu, 03 Jul 2014 05:55:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2djd-0005Ab-Tw for bug-gnu-emacs@gnu.org; Thu, 03 Jul 2014 05:55:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2djb-00056e-QX for bug-gnu-emacs@gnu.org; Thu, 03 Jul 2014 05:55:21 -0400 Received: from mail-we0-x232.google.com ([2a00:1450:400c:c03::232]:54200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2djb-00056Q-JS for bug-gnu-emacs@gnu.org; Thu, 03 Jul 2014 05:55:19 -0400 Received: by mail-we0-f178.google.com with SMTP id x48so12438627wes.37 for ; Thu, 03 Jul 2014 02:55:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=rer36ZS2DjYlyCinMRoufQ7cSrpfOy5ERpDh1NN8Ru8=; b=ZUDc/UKY816aA/okf/sc+YQH63ldtteESKnjw4ISgzqpVrFz+g6hp31l5wxGiMJGI8 vLrWsI+HMnSqKpArjRgEv78aGepgQhMSW1GRD8SRUaE1czRWMdjuUHkXwe7D33Bdd8sl vQKiHPXTMn/wlEG+GqTNwQAdGHZQ+mZyuSaYFfIW1263I1jMlu3bgxuGnw4O7+DOJdXM HafivZdgtDgMe2u30TkztJ7T+hM8NEBYKZ1IZAg52oKlNmBJ/GZjdolrSnP5aL7+W0Tu tKib3z01CiyUoM974ybI5CQLNU4uN+8/4UDzB/nO+V5S2vCg/1e84MVZYjD5PeAn2I70 SlOw== X-Received: by 10.180.92.65 with SMTP id ck1mr10064378wib.48.1404381315997; Thu, 03 Jul 2014 02:55:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.109.97 with HTTP; Thu, 3 Jul 2014 02:54:55 -0700 (PDT) In-Reply-To: References: From: Damian Nadales Date: Thu, 3 Jul 2014 11:54:55 +0200 X-Google-Sender-Auth: ytzXulh9-pfpLJ2Sz0erDCqA3Ug Message-ID: Subject: Re: inferior-octave-mode: Wrong type argument: number-or-marker-p, "100000000000" To: Kurt Hornik , bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 03 Jul 2014 11:50:36 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) I forgot to add the system info: Emacs : GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian Package: Emacs version 24.3.1 current state: ============== (setq octave-blink-matching-block t octave-block-offset 2 octave-comment-char 35 octave-continuation-offset 4 octave-continuation-string "\\" octave-send-echo-input t octave-send-line-auto-forward t octave-send-show-buffer t ) On Thu, Jul 3, 2014 at 11:53 AM, Damian Nadales wrote: > Hello, > > Whenever I start octave-mode from emacs I got the following error message: > inferior-octave-mode: Wrong type argument: number-or-marker-p, "100000000000" > > Running it for a second time makes the error disappear. > > Furthermore, the following error appears randomly (to me at least) > when using the Octave buffer: > comint-send-input: Wrong type argument: number-or-marker-p, "100000000000" > > The constant 100000000000 is the same I use to set the history size of > octave in my pam_environment: > OCTAVE_HISTSIZE DEFAULT=100000000000 > > But I don't know how is this related to the error I got. > > What could be happening? From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 03 21:36:26 2014 Received: (at 17912) by debbugs.gnu.org; 4 Jul 2014 01:36:26 +0000 Received: from localhost ([127.0.0.1]:42164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X2sQL-0005zs-W6 for submit@debbugs.gnu.org; Thu, 03 Jul 2014 21:36:26 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:63159) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X2sQK-0005zd-B5 for 17912@debbugs.gnu.org; Thu, 03 Jul 2014 21:36:25 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVNLd+D9/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMQCzQSFBgNJBOHcQjSGReOegeEOASpGYFqgXGBWyE X-IPAS-Result: ArUGAIDvNVNLd+D9/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMQCzQSFBgNJBOHcQjSGReOegeEOASpGYFqgXGBWyE X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="76322803" Received: from 75-119-224-253.dsl.teksavvy.com (HELO ceviche.home) ([75.119.224.253]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 03 Jul 2014 21:36:15 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 8D751660FA; Thu, 3 Jul 2014 21:36:15 -0400 (EDT) From: Stefan Monnier To: Damian Nadales Subject: Re: bug#17912: inferior-octave-mode: Wrong type argument: number-or-marker-p, "100000000000" Message-ID: References: Date: Thu, 03 Jul 2014 21:36:15 -0400 In-Reply-To: (Damian Nadales's message of "Thu, 3 Jul 2014 11:54:55 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 17912 Cc: Kurt.Hornik@wu-wien.ac.at, 17912@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) Version:24.4 >> Whenever I start octave-mode from emacs I got the following error message: >> inferior-octave-mode: Wrong type argument: number-or-marker-p, "100000000000" Apparently you're the only use who sets OCTAVE_HISTSIZE ;-) I installed the patch below which should hopefully fix this problem, Stefan === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2014-07-03 23:48:24 +0000 +++ lisp/ChangeLog 2014-07-04 01:34:57 +0000 @@ -1,3 +1,8 @@ +2014-07-04 Stefan Monnier + + * progmodes/octave.el (inferior-octave-mode): + Set comint-input-ring-size to a number (bug#17912). + 2014-07-03 Juri Linkov * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro' === modified file 'lisp/progmodes/octave.el' --- lisp/progmodes/octave.el 2014-04-12 04:07:53 +0000 +++ lisp/progmodes/octave.el 2014-07-04 01:34:11 +0000 @@ -747,9 +747,10 @@ (setq-local info-lookup-mode 'octave-mode) (setq-local eldoc-documentation-function 'octave-eldoc-function) - (setq comint-input-ring-file-name - (or (getenv "OCTAVE_HISTFILE") "~/.octave_hist") - comint-input-ring-size (or (getenv "OCTAVE_HISTSIZE") 1024)) + (setq-local comint-input-ring-file-name + (or (getenv "OCTAVE_HISTFILE") "~/.octave_hist")) + (setq-local comint-input-ring-size + (string-to-number (or (getenv "OCTAVE_HISTSIZE") "1024"))) (comint-read-input-ring t) (setq-local comint-dynamic-complete-functions inferior-octave-dynamic-complete-functions) From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 07 21:55:49 2014 Received: (at control) by debbugs.gnu.org; 8 Jul 2014 01:55:50 +0000 Received: from localhost ([127.0.0.1]:46357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4KdI-00046q-Mw for submit@debbugs.gnu.org; Mon, 07 Jul 2014 21:55:49 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:41409 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4KdF-00046c-Uc for control@debbugs.gnu.org; Mon, 07 Jul 2014 21:55:46 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1X4KdF-0007xD-C8 for control@debbugs.gnu.org; Mon, 07 Jul 2014 21:55:45 -0400 Date: Mon, 07 Jul 2014 21:55:45 -0400 Message-Id: Subject: control message for bug 17912 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) close 17912 24.4 From unknown Fri Jun 20 19:47:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 05 Aug 2014 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator