From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Torbj=C3=B8rn?= Lindahl Newsgroups: gmane.emacs.bugs Subject: bug#17529: 24.3; Error in hippie-expand Date: Mon, 19 May 2014 22:43:34 +0200 Message-ID: References: <07iop1ohu9.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c303a224b09904f9c6d15e X-Trace: ger.gmane.org 1400533289 27951 80.91.229.3 (19 May 2014 21:01:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 May 2014 21:01:29 +0000 (UTC) To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 19 23:01:23 2014 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 1WmUgS-0002s5-GB for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 May 2014 23:01:20 +0200 Original-Received: from localhost ([::1]:50172 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmUTl-0001UW-Ns for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 May 2014 16:48:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmUTd-0001NG-SJ for bug-gnu-emacs@gnu.org; Mon, 19 May 2014 16:48:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmUTc-0008BY-1o for bug-gnu-emacs@gnu.org; Mon, 19 May 2014 16:48:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmUTb-0008BU-TW for bug-gnu-emacs@gnu.org; Mon, 19 May 2014 16:48:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WmUTb-0007Un-Ef for bug-gnu-emacs@gnu.org; Mon, 19 May 2014 16:48:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Torbj=C3=B8rn?= Lindahl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 May 2014 20:48:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17529 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 17529-submit@debbugs.gnu.org id=B17529.140053245728769 (code B ref 17529); Mon, 19 May 2014 20:48:03 +0000 Original-Received: (at 17529) by debbugs.gnu.org; 19 May 2014 20:47:37 +0000 Original-Received: from localhost ([127.0.0.1]:53529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WmUTA-0007Tw-Ep for submit@debbugs.gnu.org; Mon, 19 May 2014 16:47:36 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:58950 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WmUT8-0007To-00 for 17529@debbugs.gnu.org; Mon, 19 May 2014 16:47:34 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WmUT7-00041y-Jf for 17529@debbugs.gnu.org; Mon, 19 May 2014 16:47:33 -0400 Resent-Message-ID: <21370.28133.481505.705109@gnu.org> Resent-Date: Mon, 19 May 2014 16:47:33 -0400 Resent-From: Glenn Morris Resent-To: 17529@debbugs.gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=E6qoeCr+vIU0/qf0RKElEcxRLQ1nUx4GaChOFY/fATE=; b=X1Ma7YfnyzJJOPhWZ/tcEOWaDETVA4MV1FvvKvPBAzgED8BecXjD/SI95kBQtFruMW oRig+G0woCCww2IkEfaqlQFBS+2u8C/GHlwqIjgRu50H553KF3cRc9X9BlCCvX91rKhX ESr5xIAAWxmq7M0XthAsFRlHiAsa4g1zXkd6fvplvdIezwEh2FZ8CDjcSx+TzMOEj1ur SVPI8YLxS+mTWmZOXrraCTUcw0S4kr3V5o8bcUAc8nc9vyhqkDMjJGOfGLaKVJ8AH7oV 14rFv0UPzjgtameMTd9thsECDY43qjCirQhqiTORiTmQJnvQn46JXRzk/t9R0Gb3GIxX YwOA== X-Received: by 10.182.43.132 with SMTP id w4mr38901502obl.41.1400532214523; Mon, 19 May 2014 13:43:34 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Bogosity: no, spamicity=0.036550, v1.2.1 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:89253 Archived-At: --001a11c303a224b09904f9c6d15e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Also adviced to include the comint-prompt-regexp: comint-prompt-regexp is a variable defined in `comint.el'. Its value is "^[]a-zA-Z0-9.[]*\\([>+.] \\)*[+>] " Local in buffer *R*; global value is "^" On Mon, May 19, 2014 at 10:40 PM, Torbj=C3=B8rn Lindahl < torbjorn.lindahl@gmail.com> wrote: > Oh and here is backtrace, the auto-generated email was so long I just > thought it would be in there: > > http://fpaste.org/103119/40051358/ > > Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p ni= l) > buffer-substring-no-properties(nil 9745) > he-init-string(nil 9745) > try-expand-line(nil) > apply(try-expand-line nil) > hippie-expand(nil) > call-interactively(hippie-expand record nil) > command-execute(hippie-expand record) > execute-extended-command(nil "hippie-expand") > call-interactively(execute-extended-command nil nil) > > > On Mon, May 19, 2014 at 10:37 PM, Torbj=C3=B8rn Lindahl < > torbjorn.lindahl@gmail.com> wrote: > >> Hi, I tried but don't know how to. >> >> I did this: >> >> 1. open a text file and apply major mode: "ESS[S] modedefined in >> 'ess.mode.el' , according to C-h m >> 2. Start R from that process (need to have R installed, a statistics >> program) >> 3. In the inferior R process, try running hippie-expand , that's how I >> got the error. >> >> I have been asking in #emacs @freenonde on how to load ess-mode from -Q, >> ill tell you when i know >> >> >> >> On Mon, May 19, 2014 at 6:26 PM, Glenn Morris wrote: >> >>> >>> Thanks for the report, but please give us some (any!) details. >>> Can you give a recipe starting from emacs -Q that shows how to >>> reproduce the problem? >>> >>> Can you do: >>> M-x toggle-debug-no-error >>> repeat the problem, and send the backtrace? >>> >>> Buried in the automated part of your report, I see the problem was: >>> >>> he-init-string: Wrong type argument: integer-or-marker-p, nil >>> >> >> >> >> -- >> mvh >> Torbj=C3=B8rn Lindahl >> > > > > -- > mvh > Torbj=C3=B8rn Lindahl > --=20 mvh Torbj=C3=B8rn Lindahl --001a11c303a224b09904f9c6d15e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Also adviced to include the comint-prompt-regexp:

c= omint-prompt-regexp is a variable defined in `comint.el'.
Its value = is "^[]a-zA-Z0-9.[]*\\([>+.] \\)*[+>] "
Local in buffer = *R*; global value is "^"



On = Mon, May 19, 2014 at 10:40 PM, Torbj=C3=B8rn Lindahl <= torbjorn.li= ndahl@gmail.com> wrote:
Oh and here is backtrace, t= he auto-generated email was so long I just thought it would be in there:
http://fpa= ste.org/103119/40051358/

Debugger entered--Lisp error: (wrong-ty= pe-argument integer-or-marker-p nil)
=C2=A0 buffer-substring-no-properties(nil 9745)
=C2=A0 he-init-string(ni= l 9745)
=C2=A0 try-expand-line(nil)
=C2=A0 apply(try-expand-line nil)=
=C2=A0 hippie-expand(nil)
=C2=A0 call-interactively(hippie-expand re= cord nil)
=C2=A0 command-execute(hippie-expand record)
=C2=A0 execute-extended-command(nil "hippie-expand")
=C2=A0 ca= ll-interactively(execute-extended-command nil nil)


On Mo= n, May 19, 2014 at 10:37 PM, Torbj=C3=B8rn Lindahl <torbjorn.lind= ahl@gmail.com> wrote:
Hi, I tried = but don't know how to.

I did this:

1. open a text f= ile and apply major mode: "ESS[S] modedefined in 'ess.mode.el'= , according to C-h m
2. Start R from that process (need to have R installed, a statistics progra= m)
3. In the inferior R process, try running hippie-expand , that&= #39;s how I got the error.

I have been asking in #emacs @freenonde o= n how to load ess-mode from -Q, ill tell you when i know



On Mon, May 19, 2014 at = 6:26 PM, Glenn Morris <rgm@gnu.org> wrote:

Thanks for the report, but please give us some (any!) details.
Can you give a recipe starting from emacs -Q that shows how to
reproduce the problem?

Can you do:
M-x toggle-debug-no-error
repeat the problem, and send the backtrace?

Buried in the automated part of your report, I see the problem was:

=C2=A0 =C2=A0he-init-string: Wrong type argument: integer-or-marker-p, nil<= br>



--
mvh
Torbj=C3=B8rn Lindahl



--
mvh
Torbj=C3=B8rn Lindahl



--
mvh
Torbj=C3=B8rn Li= ndahl
--001a11c303a224b09904f9c6d15e--