From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#8987: 24.0.50; texinfo-insert-menu inserts unnecessary trailing spaces Date: Sun, 03 Jul 2011 18:12:14 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309711092 6025 80.91.229.12 (3 Jul 2011 16:38:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Jul 2011 16:38:12 +0000 (UTC) Cc: 8987@debbugs.gnu.org To: emacs18@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 03 18:38:08 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QdPgN-0001kR-FT for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jul 2011 18:38:07 +0200 Original-Received: from localhost ([::1]:38188 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdPgM-0002xw-Gt for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jul 2011 12:38:06 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:42556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdPZc-0001UE-K7 for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2011 12:31:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QdPZY-0006Nz-Sr for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2011 12:31:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdPZY-0006Nv-JP for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2011 12:31:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QdPZX-0005a5-Tf; Sun, 03 Jul 2011 12:31:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Jul 2011 16:31:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8987 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed patch Original-Received: via spool by 8987-submit@debbugs.gnu.org id=B8987.130971061818868 (code B ref 8987); Sun, 03 Jul 2011 16:31:03 +0000 Original-Received: (at 8987) by debbugs.gnu.org; 3 Jul 2011 16:30:18 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdPYi-0004sO-7i for submit@debbugs.gnu.org; Sun, 03 Jul 2011 12:30:16 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdPYg-0004hq-7Q for 8987@debbugs.gnu.org; Sun, 03 Jul 2011 12:30:10 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QdPYS-0002te-Pi; Sun, 03 Jul 2011 18:29:56 +0200 In-Reply-To: (emacs's message of "Sat, 02 Jul 2011 11:42:23 -0700") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Oval's _Oh_: "Hey" X-Hashcash: 1:23:110703:emacs18@gmail.com::Fa23XejwDVW3kVv3:0000000000000000000000000000000000000000000009Rn X-Hashcash: 1:23:110703:8987@debbugs.gnu.org::JTaaeKh6eATUEG83:00000000000000000000000000000000000000000Pc9c X-MailScanner-ID: 1QdPYS-0002te-Pi MailScanner-NULL-Check: 1310315396.9439@FngEqoPUJDSQnz9yeFfAVg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 03 Jul 2011 12:31:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:47844 Archived-At: emacs18@gmail.com, Richard Kim writes: > In emacs-lisp empty string evaluates to boolean true unlike python, > so that one cannot simply test boolean value of a string to detect > empty string verses non-empty string. It looks like testing the > (length) being greater than 0 seems to get the job done. Thanks for the patch; I've applied it to Emacs 24. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/