From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#16725: 24.3.50; (wrong-type-argument stringp t) with `apropos-documentation' Date: Fri, 29 Apr 2016 18:23:17 +0200 Message-ID: <87y47wz8ne.fsf@gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1461947085 31894 80.91.229.3 (29 Apr 2016 16:24:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2016 16:24:45 +0000 (UTC) Cc: 16725@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 29 18:24:30 2016 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 1awBDR-0005Hy-PS for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Apr 2016 18:24:29 +0200 Original-Received: from localhost ([::1]:55401 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awBDN-0000ih-VB for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Apr 2016 12:24:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awBDE-0000Wm-M1 for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 12:24:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awBD3-0003yh-9Y for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 12:24:12 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43267) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awBD3-0003xM-5w for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 12:24:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1awBCz-00031p-Rx for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 12:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Apr 2016 16:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16725 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 16725-submit@debbugs.gnu.org id=B16725.146194700211595 (code B ref 16725); Fri, 29 Apr 2016 16:24:01 +0000 Original-Received: (at 16725) by debbugs.gnu.org; 29 Apr 2016 16:23:22 +0000 Original-Received: from localhost ([127.0.0.1]:55604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awBCM-00030x-3U for submit@debbugs.gnu.org; Fri, 29 Apr 2016 12:23:22 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:46579) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awBCK-00030p-62 for 16725@debbugs.gnu.org; Fri, 29 Apr 2016 12:23:20 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1awBCH-0007tm-M8; Fri, 29 Apr 2016 18:23:19 +0200 In-Reply-To: (Drew Adams's message of "Tue, 11 Feb 2014 14:34:50 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:117211 Archived-At: Drew Adams writes: > Yes, this normally will not happen. But the code is unnecessarily > fragile, and here is a simple case that breaks it. > > I had this mistaken autoload sexp in a startup file: > > (autoload 'insert-time-string "insert-time-string" t > "Insert current time at point.") > > (The last two args are swapped.) > > I have `apropos-do-all' = t. > > I did `M-x apropos-documentation RET empty list RET > And I got the error message. I've now made the code less fragile. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no